php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #37330 Addition to the INSTALL file suggested
Submitted: 2006-05-05 13:41 UTC Modified: 2011-01-02 02:21 UTC
From: php at komarov dot pp dot ru Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.1.4 OS: 4.9-RELEASE-p10 FreeBSD 4.9-RELE
Private report: No CVE-ID: None
 [2006-05-05 13:41 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-02 02:21 UTC] jani@php.net
-Status: Open +Status: Bogus -Package: Feature/Change Request +Package: *General Issues
 [2011-01-02 02:21 UTC] jani@php.net
Report bugs as bugs and not request to document workarounds for bugs.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Jul 25 23:00:03 2025 UTC