ID: 11738
Updated by: mrobinso
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Documentation problem
Operating System: MacOSX 10.0.4
PHP Version: 4.0.6
New Comment:

Fixed in CVS.
Item added to the FAQ.

Previous Comments:
------------------------------------------------------------------------

[2001-06-28 10:35:43] [EMAIL PROTECTED]

Re-opened and changed bug classification to "Documentation  
Problem" as pre request of [EMAIL PROTECTED]  Please add an 
entry this to the FAQ or INSTALL


On Thu, 28 Jun 2001 [EMAIL PROTECTED] wrote:
[snip]
It has actually nothing to do with PHP, but with the MySQL 
client libraries. Some need --with-zlib, others do not. 
This is covered in the MySQL FAQ, 25.4.2 IIRC. But it 
should be added to the INSTALL or FAQ.
[snip]

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

[2001-06-27 13:23:56] [EMAIL PROTECTED]

This is not PHP problem. Problem is that the external
client libs are linked with zlib. And if PHP isn't linked
with zlib you get the unresolved symbols.


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

[2001-06-27 10:56:18] [EMAIL PROTECTED]

Issue resolved by adding --with-zlib=/usr to configure and 
recompiling.  

Note that INSTALL mentions nothing of zlib, please update 
docs to point out the MacOSX requires zlib or remove zlib 
dependency from build if --with-zilb isn't specified



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

[2001-06-27 10:23:27] [EMAIL PROTECTED]

Fresh compile on OSX 10.0.4:
./configure --with-apxs --with-mysql=/usr/local

After a successful compile and install, checking apache 
yeilds:
[puma:nathan/src/php-4.0.6] root# apachectl configtest
dyld: /usr/sbin/httpd Undefined symbols:
_compress
_uncompress
[puma:nathan/src/php-4.0.6] root# 

Output compression is off

Apache is:
[puma:nathan/src/php-4.0.6] root# httpd -V
Server version: Apache/1.3.14 (Darwin)
Server built:   02/16/01 19:31:58
Server's Module Magic Number: 19990320:10
Server compiled with....
 -D EAPI
 -D HAVE_MMAP
 -D USE_MMAP_SCOREBOARD
 -D USE_MMAP_FILES
 -D USE_FLOCK_SERIALIZED_ACCEPT
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D HTTPD_ROOT="/usr"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_PIDLOG="/var/run/httpd.pid"
 -D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard"
 -D DEFAULT_LOCKFILE="/var/run/httpd.lock"
 -D DEFAULT_XFERLOG="/var/log/httpd/access_log"
 -D DEFAULT_ERRORLOG="/var/log/httpd/error_log"
 -D TYPES_CONFIG_FILE="/etc/httpd/mime.types"
 -D SERVER_CONFIG_FILE="/etc/httpd/httpd.conf"
 -D ACCESS_CONFIG_FILE="/etc/httpd/access.conf"
 -D RESOURCE_CONFIG_FILE="/etc/httpd/srm.conf"


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



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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to