Hello,

I've been trying to install PHP 4.3.5 on AIX 5 with Apache 2.0.49. Apache
and PHP
both configure/compile without any problems.

When I run the PHP "make install" it exits with an error:

cp .libs/libphp4.a /vobs/Emailer/cme/external/aix/apache/modules/libphp4.a
cp .libs/libphp4.lai
/vobs/Emailer/cme/external/aix/apache/modules/libphp4.la
libtool: install: warning: remember to run `libtool --finish
/vobs/Emailer/cme/external/aix/php-4.3.5/libs'
chmod 755 /vobs/Emailer/cme/external/aix/apache/modules/libphp4.so
chmod: /vobs/Emailer/cme/external/aix/apache/modules/libphp4.so: A file or
directory in the path name does not exist.
apxs:Error: Command failed with rc=65536

I can copy the .libs/libphp4.so file to the apache/modules directory (as
suggested on
some threads in the PHP archive) but then when I try to start apache I get
the
following error:

[EMAIL PROTECTED] /vobs/Emailer/cme/external/aix/apache/bin>./apachectl configtest
Syntax error on line 233 of
/vobs/Emailer/cme/external/aix/apache/conf/httpd.conf:
Cannot load /vobs/Emailer/cme/external/aix/apache/modules/libphp4.so into
server:

Complete build log files can be found on my web site:

Apache Configure-Build http://www.odriscoll.ws/apache_build.txt
PHP Configure-Build http://www.odriscoll.ws/php_build.txt
PHP install http://www.odriscoll.ws/php_install.txt

I've done some research and tried a bunch of different things but nothing
seems to work.
Some of the things that I've tried are outlined on the following
threads/documents.

http://www.apache.org/~trawick/aixstatus.html
http://www.apache.org/~trawick/apache-2-on-aix.html
http://www.apache.org/~trawick/aix_bld_prob.html
http://www.phpbuilder.com/lists/php-install/2001092/0063.php
http://marc.theaimsgroup.com/?l=php-install&m=97981160902310&w=2
http://www.phpbuilder.com/forum/read.php3?num=3&id=105272&loc=0&thread=105272
http://marc.theaimsgroup.com/?l=php-install&m=100078832410664&w=2

Does anyone have any other suggestions on how to make this work? Has anyone
been successful getting PHP working with Apache2 on AIX?

Thank in advance for your help.

Allan

Reply via email to