[prev in list] [next in list] [prev in thread] [next in thread]
List: aix-l
Subject: Installing PHP 4.2.3 on AIX 5.2
From: Stephen Spalding <ssaixadm () YAHOO ! COM>
Date: 2004-02-25 15:41:43
Message-ID: 20040225154143.87785.qmail () web41404 ! mail ! yahoo ! com
[Download RAW message or body]
Hello all,
I'm trying to get PHP 4.2.3 installed on a new AIX 5.2
box, and I've run into something I haven't seen
before.
I've installed the Linux-toolbox version of Apache
1.3.27-2, and it seems to work just fine. I'm trying
to install PHP with the ability to connect to an
oracle instance. Here's my PHP configure command:
./configure --with-apxs=/opt/freeware/apache/sbin/apxs
--enable-force-cgi-redirect --enable-safe-mode
--enable-magic-quotes --without-mysql
--with-oci8=/oracle/app/oracle/product/8.1.7
--enable-sigchild --enable-shared
I then run 'make', and copy the file
./.libs/libphp4.so.0 to ./libs/libphp4.so. I then
'make install' and then finally 'cp php.ini-dist
/usr/local/lib/php.ini'. I update the httpd.conf file
to include 'LoadModule php4_module
libexec/libphp4.so' and 'AddModule mod_php4.c'.
The problem occurs when I stop and restart apache.
This is the error that I get:
# ./apachectl start
Syntax error on line 236 of
/etc/opt/freeware/apache/httpd.conf:
Cannot load /opt/freeware/apache/libexec/libphp4.so
into server: Exec format error
./apachectl start: httpd could not be started
I've gotten this to work on AIX 4.3.3 and AIX 5.1.
Also, I've tried compiling the source of apache along
with php, but I got the same results.
Can anyone help me?
Thanks!
-Stephen Spalding
__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic