Edit report at http://bugs.php.net/bug.php?id=37330&edit=1

 ID:                 37330
 Updated by:         [email protected]
 Reported by:        php at komarov dot pp dot ru
 Summary:            Addition to the INSTALL file suggested
-Status:             Open
+Status:             Bogus
 Type:               Feature/Change Request
-Package:            Feature/Change Request
+Package:            *General Issues
 Operating System:   4.9-RELEASE-p10 FreeBSD 4.9-RELE
 PHP Version:        5.1.4
 Block user comment: N
 Private report:     N

 New Comment:

Report bugs as bugs and not request to document workarounds for bugs.


Previous Comments:
------------------------------------------------------------------------
[2006-05-05 13:41:20] php at komarov dot pp dot ru

Description:
------------
When I configure PHP on my FreeBSD box according to the 

instructions of the INSTALL file, I see an instruction under 

Apache 2.0 section:



10. Now, configure your PHP. <...skipped...>



      ./configure --with-apxs2=/usr/local/apache2/bin/apxs 

--with-mysql



When I use it, I receive an error message.



I found a solution, one has to use some move parameters:

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-

mysqli=/usr/local/mysql/bin/mysql_config --with-mysql=/usr/

local/mysql

So I suggest to add this note for FreeBSD users who install 

PHP to a clean machine. It's also useful for Apache 1.3.x 

version section because it's actuallly not an Apache but 

MySQL problem,



I know there is a Bug #33187: addition to FAQ for PHP5 & 

MySQL Installation - but I believe that solution suggestd 

there isn't correct enough.

Actual result:
--------------
When I use that line ( ./configure --with-apxs2=/usr/local/

apache2/bin/apxs --with-mysql ), I receive a strange error 

message:

configure: error: Cannot find MySQL header files under yes.




------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=37330&edit=1

Reply via email to