ID: 25058
Updated by: [EMAIL PROTECTED]
Reported By: carlo dot mosca at eurostar dot co dot uk
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: AIX 5.2
PHP Version: 4.3.3RC4-dev
New Comment:
Now, if you do 'make install', does it copy the correct libphp4.so in
place?
Previous Comments:
------------------------------------------------------------------------
[2003-08-14 06:16:35] carlo dot mosca at eurostar dot co dot uk
Thanks, that seems to work:
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
80.030u 26.400s 2:10.45 81.5% 2200+1516k 0+0io 1479pf+0w
CRM php4-STABLE-200308121530 -> ls -l libs
total 9872
-rw-r--r-- 1 carlo devel 5044390 Aug 14 12:13 libphp4.a
-rw-r--r-- 1 carlo devel 723 Aug 14 12:13 libphp4.la
CRM php4-STABLE-200308121530 -> ls -l .libs/
total 19624
-rw-r--r-- 1 carlo devel 5044390 Aug 14 12:13 libphp4.a
-rw-r--r-- 1 carlo devel 26411 Aug 14 12:13 libphp4.exp
lrwxrwxrwx 1 carlo devel 13 Aug 14 12:13 libphp4.la ->
../libphp4.la
-rw-r--r-- 1 carlo devel 723 Aug 14 12:13 libphp4.lai
-rwxr-xr-x 1 carlo devel 4961410 Aug 14 12:13 libphp4.so
CRM php4-STABLE-200308121530 -> cp .libs/libphp4.so
/elgar/local/apache2/modules/
CRM php4-STABLE-200308121530 -> /elgar/local/apache2/bin/apachectl -k
start
CRM php4-STABLE-200308121530 -> psme
UID PID PPID C STIME TTY TIME CMD
carlo 44404 52024 0 12:14:00 - 0:00
/elgar/local/apache2/bin/httpd -k start
carlo 45672 52024 0 12:14:00 - 0:00
/elgar/local/apache2/bin/httpd -k start
carlo 47718 52024 0 12:14:00 - 0:00
/elgar/local/apache2/bin/httpd -k start
carlo 48826 51928 1 12:14:07 pts/4 0:00 ps -f -u carlo
carlo 50510 52024 0 12:14:00 - 0:00
/elgar/local/apache2/bin/httpd -k start
carlo 50716 52024 0 12:14:00 - 0:00
/elgar/local/apache2/bin/httpd -k start
carlo 51928 7218 0 11:48:23 pts/4 0:00 -tcsh
carlo 52024 1 0 12:14:00 - 0:00
/elgar/local/apache2/bin/httpd -k start
------------------------------------------------------------------------
[2003-08-13 13:48:31] [EMAIL PROTECTED]
Please try this:
# rm config.cache
# CC=gcc ./configure --prefix=/elgar/local
--with-apxs2=/elgar/local/apache2/bin/apxs --disable-all --disable-cli
# make clean && make
Then check what you have in .libs/ (and libs/)
Try then copying that libphp4.so to your apache2 modules/ dir. (notice
that the apache instdso.sh copies the libphp4.a, NOT the .so there)
------------------------------------------------------------------------
[2003-08-13 05:56:18] carlo dot mosca at eurostar dot co dot uk
CRM � -> ls -l
/elgar/devel/user/carlo/local/php4-STABLE-200308121530/.libs
total 27936
-rw-r--r-- 1 carlo devel 7184069 Aug 12 17:39 libphp4.a
-rw-r--r-- 1 carlo devel 37958 Aug 12 17:39 libphp4.exp
lrwxrwxrwx 1 carlo devel 13 Aug 12 17:39 libphp4.la ->
../libphp4.la
-rw-r--r-- 1 carlo devel 723 Aug 12 17:39 libphp4.lai
-rwxr-xr-x 1 carlo devel 7068807 Aug 12 17:39 libphp4.so
It's building the .so, just not copying it into libs (and consequently
not copying it to apache2/modules). I tried copying it manually but
apache refused to load the module (with no useful error).
------------------------------------------------------------------------
[2003-08-12 12:49:26] [EMAIL PROTECTED]
What does this output:
# ls -l /elgar/devel/user/carlo/local/php4-STABLE-200308121530/.libs
------------------------------------------------------------------------
[2003-08-12 12:02:38] carlo dot mosca at eurostar dot co dot uk
Additional note: Works fine when not configured as --with-apxs2
------------------------------------------------------------------------
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/25058
--
Edit this bug report at http://bugs.php.net/?id=25058&edit=1