I had compiled Apache 2.2.6 as -
--------------------------------------------------------------------------------
./configure --prefix=/usr/local/apache-2.2.6 --enable-so
make
make install
--------------------------------------------------------------------------------
(I'm using xlc compiler since its AIX)
.. and when I try to run PHP ./configure with --enable-so it runs and prints the following at the end of the run -
--------------------------------------------------------------------
Notice: Following unknown configure options were used:
--enable-so
Check './configure --help' for available options
--------------------------------------------------------------------
Thanks
On 10/1/07, priou alexandre <prioualexandre@xxxxxxxx> wrote:
hi
how do you compiled your Apache ??
and if you see your the make install error, you see that :
chmod: /usr/local/apache-2.2.6/modules/libphp5.so: A file or directory in the path name does not exist
try to compile your php with this option : --enable-so
best reagrd
alex
Beowulf McLeod < beowulf.mcleod@xxxxxxxxx> a écrit :
Hello,
I'm trying to build and install PHP 5.2.4 on AIX 5.3.0.0 with Apache 2.2.6. "make" runs fine but when I try to do "make install", it gives me the following error -
------------------------------------------------------------------------------------ -------------------------------------------------------------------------------------------------- --------------------------------
"Makefile" 1333 lines, 198697 characters
# make install
echo '\
\
Installing PHP SAPI module: apache2handler
/usr/local/apache-2.2.6/build/instdso.sh SH_LIBTOOL='/usr/local/apache-2.2.6/build/libtool' libphp5.la /usr/local/apache- 2.2.6/modules
rm -f /usr/local/apache-2.2.6/modules/libphp5.so
/usr/local/apache-2.2.6/build/libtool --mode=install cp libphp5.la /usr/local/apache-2.2.6/modules/
cp .libs/libphp5.a /usr/local/apache- 2.2.6/modules/libphp5.a
cp .libs/libphp5.lai /usr/local/apache-2.2.6/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish /tmp/php_installer/php-5.2.4/libs'
chmod 755 /usr/local/apache- 2.2.6/modules/libphp5.so
chmod: /usr/local/apache-2.2.6/modules/libphp5.so: A file or directory in the path name does not exist.
apxs:Error: Command failed with rc=65536
.
make: 1254-004 The error code from the last command is 1.
Stop.
---------------------------------------------------------------------- -------------------------------------------------------------------------------------------------- ----------------------------------------------
My configure command is -
-------------- ------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------ --------------------------------
./configure --prefix=/usr/local/php-5.2.4 --with-apxs2=/usr/local/apache-2.2.6/bin/apxs --enable-mbstring --enable-shmop \
--with-libxml-dir=/opt/freeware --with-zlib=/opt/freeware --with-ibm_db2=/bfdata/db2inst2/sqllib --with-pear
---------------------------- -------------- ------------------------------------------------------------------------------------ -------------- ---------------------------------------------------------------------- ----
I tried to find a solution by doing google on this problem and searching PHP mailing lists but couldn't find anything. Any help is appreciated.
Thanks.
Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail !
- References:
- PHP 5.2.4 on AIX 5.3.0.0 with Apache 2.2.6 - apxs error with rc=65536
- From: Beowulf McLeod
- PHP 5.2.4 on AIX 5.3.0.0 with Apache 2.2.6 - apxs error with rc=65536
- Prev by Date: PHP 5.2.4 on AIX 5.3.0.0 with Apache 2.2.6 - apxs error with rc=65536
- Next by Date: go-pear.bat/.phar install issues
- Previous by thread: PHP 5.2.4 on AIX 5.3.0.0 with Apache 2.2.6 - apxs error with rc=65536
- Next by thread: go-pear.bat/.phar install issues
- Index(es):