PHP 5.2.6 on AIX

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
bworle
Forum Newbie
Posts: 3
Joined: Thu Sep 18, 2008 10:25 am

PHP 5.2.6 on AIX

Post by bworle »

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
User avatar
andyhoneycutt
Forum Contributor
Posts: 468
Joined: Wed Aug 27, 2008 10:02 am
Location: Idaho Falls

Re: PHP 5.2.6 on AIX

Post by andyhoneycutt »

Could you post your makefile on here?
bworle
Forum Newbie
Posts: 3
Joined: Thu Sep 18, 2008 10:25 am

Re: PHP 5.2.6 on AIX

Post by bworle »

Well, I have tried attaching as a file (no luck), and it is too long to post in the body of the post.
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Re: PHP 5.2.6 on AIX

Post by Maugrim_The_Reaper »

Try a pastebin entry somewhere ;)
bworle
Forum Newbie
Posts: 3
Joined: Thu Sep 18, 2008 10:25 am

Re: PHP 5.2.6 on AIX

Post by bworle »

http://pastebin.com/m5a090fa6

I believe I've narrowed down the issue...it is not building the .so.
Post Reply