ID: 21777 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Apache2 related Operating System: Aix 4.3.3 PHP Version: 4.3.0 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. And could you paste the result of the following command too? $ httpd -l Anyway don't forget to recheck the manual page: http://www.php.net/manual/en/install.apache2.php Previous Comments: ------------------------------------------------------------------------ [2003-01-20 10:47:36] [EMAIL PROTECTED] I have apache 2.0.43 working on Aix 4.3.3.10. When i try build php4-latest,4.3.0, 4.2.3 or 4.2.2 all go fine except, on make install process and if i continue, when apache load module libphp4.so doesn't start and show a segmentation fault error.I use gcc-3.2.1 and gnu.make. ----------------------------------------------------------- # setenv CC /usr/local/bin/gcc #./configure --enable-force-cgi-redirect \ --enable-static --disable-shared \ --with-mysql --with-apxs2=/usr/IBMIHS/bin/apxs \ --prefix=/usr/IBMIHS/php --with-config-file-path=/usr/IBMIHS/php ------------------------------------------------------------ Appear this error, although i continuous: creating main/internal_functions_cli.c +--------------------------------------------------------------------+ | *** WARNING *** | | | | You chose to compile PHP with the built-in MySQL support. If you | | are compiling a server module, and intend to use other server | | modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0, | | mod_perl) you must NOT rely on PHP's built-in MySQL support, and | | instead build it with your local MySQL support files, by adding | | --with-mysql=/path/to/mysql to your configure line. | +--------------------------------------------------------------------+ | License: | | This software is subject to the PHP License, available in this | | distribution in the file LICENSE. By continuing this installation | | process, you are bound by the terms of this license agreement. | | If you do not agree with the terms of this license, you must abort | | the installation process at this point. | +--------------------------------------------------------------------+ | *** NOTE *** | | The default for register_globals is now OFF! | | | | If your application relies on register_globals being ON, you | | should explicitly set it to on in your php.ini file. | | Note that you are strongly encouraged to read | | http://www.php.net/manual/en/security.registerglobals.php | | about the implications of having register_globals set to on, and | | avoid using it if possible. | +--------------------------------------------------------------------+ ./config.status[1814]: 6: bad file unit number ./config.status[1815]: 6: bad file unit number ----------------------------------------------------------- #make #make install Installing PHP SAPI module /usr/IBMIHS/build/instdso.sh SH_LIBTOOL='/usr/IBMIHS/build/libtool' libphp4.la /usr/IBMIHS/modules /usr/IBMIHS/build/libtool --mode=install cp libphp4.la /usr/IBMIHS/modules/ cp .libs/libphp4.a /usr/IBMIHS/modules/libphp4.a cp .libs/libphp4.lai /usr/IBMIHS/modules/libphp4.la libtool: install: warning: remember to run `libtool --finish /software2/php-4.3.0/libs' chmod 755 /usr/IBMIHS/modules/libphp4.so chmod: /usr/IBMIHS/modules/libphp4.so: Un archivo o directorio en la v�a de acceso no existe. apxs:Error: Command failed with rc=65536 . make: 1254-004 El c�digo de error del �ltimo mandato es 1. ------------------------------------------------- At this point i cp .libs/libphp4.so /usr/IBMIHS/modules and i make install again. ------------------------------------------------- #make install Installing PHP SAPI module /usr/IBMIHS/build/instdso.sh SH_LIBTOOL='/usr/IBMIHS/build/libtool' libphp4.la /usr/IBMIHS/modules /usr/IBMIHS/build/libtool --mode=install cp libphp4.la /usr/IBMIHS/modules/ cp .libs/libphp4.a /usr/IBMIHS/modules/libphp4.a cp .libs/libphp4.lai /usr/IBMIHS/modules/libphp4.la libtool: install: warning: remember to run `libtool --finish /software2/php-4.3.0/libs' chmod 755 /usr/IBMIHS/modules/libphp4.so Installing shared extensions: /usr/IBMIHS/php/lib/php/extensions/no-debug-zts-20020429/ Installing PEAR environment: /usr/IBMIHS/php/lib/php/ [PEAR] Archive_Tar - installed: 0.9 [PEAR] Console_Getopt - installed: 1.0 [PEAR] PEAR - installed: 1.0b3 [PEAR] DB - installed: 1.3 [PEAR] HTTP - installed: 1.2 [PEAR] Mail - installed: 1.0.1 [PEAR] Net_SMTP - installed: 1.0 [PEAR] Net_Socket - installed: 1.0.1 [PEAR] XML_Parser - installed: 1.0 [PEAR] XML_RPC - installed: 1.0.4 Installing build environment: /usr/IBMIHS/php/lib/php/build/ Installing header files: /usr/IBMIHS/php/include/php/ Installing helper programs: /usr/IBMIHS/php/bin/ program: phpize program: php-config program: phpextdist El destino "install" is upgraded. #cp php.ini-dist /usr/IBMIHS/php/php.ini Then i start apache and shows segmentation fault. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21777&edit=1
