I'm attempting to install PHP on an AIX machine. Both Apache and PHP are installed under a local user account for testing purposes.
After compiling PHP I get the following with the make install:
Installing PHP SAPI module: apache2handler
/home/bworle/apache/build/instdso.sh SH_LIBTOOL='/home/bworle/apr/build-1/libtool' libphp5.la /home/bworle/apache/modules
rm -f /home/bworle/apache/modules/libphp5.so
/home/bworle/apr/build-1/libtool --mode=install cp libphp5.la /home/bworle/apache/modules/
cp .libs/libphp5.a /home/bworle/apache/modules/libphp5.a
cp .libs/libphp5.lai /home/bworle/apache/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish /home/bworle/php-5.2.6/libs'
chmod 755 /home/bworle/apache/modules/libphp5.so
chmod: /home/bworle/apache/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.
It appears that the makefile is removing the .so from Apache and then trying to perform an action on it. I believe I might have missed a configuration flag somewhere. Any thoughts?
Thanks.
Brent
PHP 5.2.6 on AIX
Moderator: General Moderators
- andyhoneycutt
- Forum Contributor
- Posts: 468
- Joined: Wed Aug 27, 2008 10:02 am
- Location: Idaho Falls
Re: PHP 5.2.6 on AIX
Could you post your makefile on here?
Re: PHP 5.2.6 on AIX
Well, I have tried attaching as a file (no luck), and it is too long to post in the body of the post.
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
Re: PHP 5.2.6 on AIX
Try a pastebin entry somewhere 