ID: 27795 User updated by: peoyli at bredband dot net Reported By: peoyli at bredband dot net -Status: Feedback +Status: Open Bug Type: Apache2 related Operating System: OpenBSD 3.4 PHP Version: 5CVS-2004-04-07 New Comment:
I already had a working libphp4 (4.3.4) there since an older installation, and because of that, the chmod command was executed on that version instead of the 4.3.5 library which was not created. Previous Comments: ------------------------------------------------------------------------ [2004-04-07 11:02:07] [EMAIL PROTECTED] Don't do that..do 'make clean'..and how did you get that libphp4.so in there in the first place?!! (and yet claim here it doesn't work?) ------------------------------------------------------------------------ [2004-04-07 09:31:19] peoyli at bredband dot net I forgot to move out libphp4.so from the modules directory, so (it didn't work with 4.3.5): #mv /usr/local/apache2/modules/libphp4.so /usr/local/apache2/modules/libphp4.so_ # make install-sapi Installing PHP SAPI module: apache2handler /usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp4.la /usr/local/apache2/modules /usr/local/apache2/build/libtool --mode=install cp libphp4.la /usr/local/apache2/modules/ cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la cp .libs/libphp4.a /usr/local/apache2/modules/libphp4.a ranlib -t /usr/local/apache2/modules/libphp4.a chmod 644 /usr/local/apache2/modules/libphp4.a libtool: install: warning: remember to run `libtool --finish /usr/local/src/php-4.3.5/libs' Warning! dlname not found in /usr/local/apache2/modules/libphp4.la. Assuming installing a .so rather than a libtool archive. chmod 755 /usr/local/apache2/modules/libphp4.so chmod: /usr/local/apache2/modules/libphp4.so: No such file or directory apxs:Error: Command failed with rc=65536 . *** Error code 1 Stop in /usr/local/src/php-4.3.5 (line 126 of Makefile). ------------------------------------------------------------------------ [2004-04-07 09:24:59] peoyli at bredband dot net 4.3.5 can be compiled and installed with the exact same configure command line... Installing PHP SAPI module: apache2handler /usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp4.la /usr/local/apache2/modules /usr/local/apache2/build/libtool --mode=install cp libphp4.la /usr/local/apache2/modules/ cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la cp .libs/libphp4.a /usr/local/apache2/modules/libphp4.a ranlib -t /usr/local/apache2/modules/libphp4.a chmod 644 /usr/local/apache2/modules/libphp4.a libtool: install: warning: remember to run `libtool --finish /usr/local/src/php-4.3.5/libs' Warning! dlname not found in /usr/local/apache2/modules/libphp4.la. Assuming installing a .so rather than a libtool archive. chmod 755 /usr/local/apache2/modules/libphp4.so [activating module `php4' in /usr/local/apache2/conf/httpd.conf] ------------------------------------------------------------------------ [2004-04-07 08:24:01] [EMAIL PROTECTED] Does PHP 4.3.5 work for you? ------------------------------------------------------------------------ [2004-04-07 06:36:26] peoyli at bredband dot net Both Apache2 and PHP have and is using the correct version: # pwd /usr/local/src/php5-200404070830 # ./libtool --version ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) # /usr/local/apache2/build/libtool --version ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) # ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/27795 -- Edit this bug report at http://bugs.php.net/?id=27795&edit=1