ID: 44464 User updated by: ingconti at ingconti dot com Reported By: ingconti at ingconti dot com Status: Open Bug Type: Dynamic loading Operating System: osx 10.5 PHP Version: 5.2.5 New Comment:
comapring Apple original and version compiled: file libphp5.so libphp5.so: Mach-O bundle i386 file libphp5_APPLE.so libphp5_APPLE.so: Mach-O universal binary with 4 architectures libphp5_APPLE.so (for architecture ppc7400): Mach-O bundle ppc libphp5_APPLE.so (for architecture ppc64): Mach-O 64-bit bundle ppc64 libphp5_APPLE.so (for architecture i386): Mach-O bundle i386 libphp5_APPLE.so (for architecture x86_64): Mach-O 64-bit bundle x86_64 Previous Comments: ------------------------------------------------------------------------ [2008-03-18 06:50:55] ingconti at ingconti dot com Description: ------------ I downloaded .tar and tried to compile for osx 10.5. it works but issuing make install: <b> cp libs/libphp5.so /usr/libexec/apache2/libphp5.so Warning! dlname not found in /usr/libexec/apache2/libphp5.so. Assuming installing a .so rather than a libtool archive. chmod 755 /usr/libexec/apache2/libphp5.so </b> and launching apache: <b> apachectl -t </b> httpd: Syntax error on line 117 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/libphp5.so into server: dlopen(/usr/libexec/apache2/libphp5.so, 10): no suitable image found. Did find:\n\t/usr/libexec/apache2/libphp5.so: mach-o, but wrong architecture ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44464&edit=1