ID: 14245 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Verified Bug Type: Compile Failure Operating System: AIX 4.3.3 PHP Version: 4.3.0-dev New Comment:
HI folks, found the solution for php and apache1326 on solaris: take php-4.2.3 and compile the apache without mod_php like this 4 example: ######################################################### export CFLAGS="" export LIBS="" export INCLUDES="" ./configure --prefix=/usr/apache1326 \ --enable-suexec \ --suexec-caller=nobody \ --enable-shared=max \ --enable-module=access \ --disable-module=auth_db \ --disable-module=digest \ --enable-module=imap \ --enable-module=mime \ --enable-module=setenvif \ --enable-module=usertrack \ --enable-module=auth \ --disable-module=cern_meta \ --disable-module=expires \ --enable-module=log_config \ --disable-module=proxy \ --disable-module=vhost_alias \ --disable-module=auth_anon \ --enable-module=cgi \ --disable-module=headers \ --enable-module=log_referer \ --enable-module=rewrite \ --enable-module=userdir \ --enable-module=asis \ --enable-module=autoindex \ --disable-module=example \ --enable-module=log_agent \ --enable-module=negotiation \ --enable-module=status \ --enable-module=actions \ --disable-module=auth_dbm \ --enable-module=dir \ --enable-module=include \ --disable-module=mime_magic \ --disable-module=unique_id \ --enable-module=alias \ --disable-module=auth_digest \ --enable-module=env \ --enable-module=info \ --disable-module=mmap_static \ --disable-module=speling \ --activate-module=src/modules/layout/liblayout.a \ ######################################################### and after this compile php manual like this: ######################################################### ./configure --prefix=/usr/local/php-4.2.3 --with-config-file-path=/usr/local/php-4.2.3 --enable-libgcc --with-mhash --with-mcrypt=/usr/local/libmcrypt-2.5.3 --enable-track-vars --enable-trans-sid --with-xml --enable-wddx --with-mysql=no -with-oci8=/oracle/817_64 --with-apxs=/usr/apache1326/bin/apxs ######################################################### this is for php included with oracle8.1.7, xml, libcrypt, wddx ... and it works! :)) NOW COMES A NEW PROBLEM: LDAP (Netscape) How do I solve this problem??? ./configure --prefix=/usr/local/php-4.2.3 --enable-libgcc --with-mhash --with-mcrypt=/usr/local/libmcrypt-2.5.3 --enable-track-vars --enable-trans-sid --with-xml --enable-wddx --with-mysql=no -with-oci8=/oracle/817_64 --with-apxs=/usr/apache1326/bin/apxs --with-ldap=/usr/netscape/ldapv508 RESULT is: /etc/init.d/apache1326 start Syntax error on line 224 of /usr/apache1326/conf/httpd.conf: Cannot load /usr/apache1326/libexec/libphp4.so into server: ld.so.1: /usr/apache1326/bin/httpd: fatal: relocation error: file /usr/apache1326/libexec/libphp4.so: symbol ldap_parse_result: referenced symbol not found /usr/apache1326/bin/apachectl start: httpd could not be started HELP HELP HELP!!!! Previous Comments: ------------------------------------------------------------------------ [2003-02-05 09:43:02] [EMAIL PROTECTED] hi folks, i´m trying my best with apache 1.3.26 and php-4.2.2 and oracle817 but, ... here is my typing: ./configure --prefix=/usr/local/php-4.2.2 --with-mhash --with-mcrypt=/usr/local/lib with-pcre-regex --enable-track-vars --enable-trans-id --enable-sockets --enable-with-zlibs --with-xml --with-apxs=/usr/apache/bin/apxs --with-mm=/usr/local/mm-1.2.1 --enable-wddx --without-pear --with-mysql=no -with-oci8=/oracle/817_64 the result when i´m trying to make install is: /usr/local/src/php-4.2.2/build/shtool mkdir -p "/usr/apache/libexec" && /usr/apache/bin/apxs -S LIBEXECDIR="/usr/apache/libexec" -i -a -n php4 libs/libphp4.so [activating module `php4' in /etc/apache/httpd.conf] cp libs/libphp4.so /usr/apache/libexec/libphp4.so cp: Zugriff auf libs/libphp4.so nicht möglich apxs:Break: Command failed with rc=2 *** Error code 1 make: Fatal error: Command failed for target `install-sapi' Current working directory /usr/local/src/php-4.2.2 *** Error code 1 make: Fatal error: Command failed for target `install-recursive' What am I doing wrong?? please help gero ------------------------------------------------------------------------ [2002-11-26 04:57:08] [EMAIL PROTECTED] I have a workaround about this bag. I have installed php 4.2.3 under Oracle AS9i on AIX 4.3.3. The libphp4.so not is created by make because the libtool have a flag set to no. The libtool is created by configure; before you launch make, edit libtool and set build_libtool_libs=yes. After launched make, under .libs you find libphp4.so.0:move it under libs as libphp4.so and run make install. So, php as apache module work fine. ------------------------------------------------------------------------ [2002-09-30 17:12:31] [EMAIL PROTECTED] Same problem. AIX 4.3.3.10, GCC 2.95, PHP 4.2.3, Gnu Make 3.79 ************************************** Making install in . make[1]: Entering directory `/oseda/php-4.2.3' /oseda/php-4.2.3/build/shtool mkdir -p "/usr/local/apache/libexec" && /usr/local/apache/bin/apxs -S LIBEXECDIR="/usr/local/apache/libexec" -i -a -n php4 libs/libphp4.so [activating module `php4' in /usr/local/apache/conf/httpd.conf] cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so cp: libs/libphp4.so: A file or directory in the path name does not exist. apxs:Break: Command failed with rc=1 make[1]: *** [install-sapi] Error 1 make[1]: Leaving directory `/oseda/php-4.2.3' make: *** [install-recursive] Error 1 ************************************************** The directory "libs" has libphp4.a and libphp4.la only, the directory ".libs" has libphp4.a, .exp, .lai and .so.0 in it. ------------------------------------------------------------------------ [2002-07-11 11:23:31] [EMAIL PROTECTED] reclassified ------------------------------------------------------------------------ [2002-07-11 11:23:11] [EMAIL PROTECTED] This is not fixed. But we know what the problem is and hope to get it solved for 4.3.0 release. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/14245 -- Edit this bug report at http://bugs.php.net/?id=14245&edit=1