Re: INSTALL PHP 4.3.4 ON AIX 5

From: Date: Thu, 29 Jan 2004 10:18:09 +0000
Subject: Re: INSTALL PHP 4.3.4 ON AIX 5
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-12665@lists.php.net to get a copy of this message
I've just intalled PHP on AIX5 with apache. I've got some troubles (unable to build the libphp4.so file, install failure with make install....) I have AIX 5.2 ML 1 and /usr/vacpp/bin/cc from vacpp 6.0.0.0 Here some steps I use for the install. 1) I've downloaded a more recent snapshot because php-4.3.4.tar.gz do not build libphp4.so on my system. php4-STABLE-200401260830.tar.gz is working fine. 2) I'm using httpd-2.0.48.tar.gz for apache. 3) I'm using openssl-0.9.7c.tar.gz for SSL 4) I'm using mysql-4.1.1-alpha for mysql support 5) ALL is installed in /intranet partition I build mysql, openssl, Apache. Then in php4-STABLE-200401260830 diectory I ran: export CC=cc ./configure --prefix=/intranet/php4 \ --with-apxs2=/intranet/apache2/bin/apxs \ --with-mysql=/intranet/mysql \ --with-openssl=/intranet/openssl \ --enable-yp --enable-calendar make and it was successfull. 6) make install do not work. libphp4.so is removed from the destination directory if it exist but the new one (built in php4-STABLE-200401260830/.libs/libphp4.so) is not installed and make install fails! So I did the folowing: make -i install (with -i option make do not stop on error) cp php4-STABLE-200401260830/.libs/libphp4.so my_dest_directory/libphp4.so chmod 755 my_dest_directory/libphp4.so (the failing command with make install) CONCLUSION: All seems to work fine today (I'm runing webcalendar with success) but I'm a newbie with PHP and may be something could be wrong..... Good luck Patrick -- =============================================================== | Equipe M.O.S.T. | http://most.hmg.inpg.fr | | Patrick BEGOU | ------------ | | LEGI | mailto:Patrick.Begou@hmg.inpg.fr | | BP 53 X | Tel 04 76 82 51 35 | | 38041 GRENOBLE CEDEX | Fax 04 76 82 52 71 | ===============================================================

« previous php.install (#12665) next »