ID: 22815
User updated by: busia at tiscali dot it
Reported By: busia at tiscali dot it
-Status: Feedback
+Status: Open
Bug Type: Apache2 related
Operating System: Linux Redhat 7.2
PHP Version: 4.3.2RC1
New Comment:
The parent process remains active but it seems to wait something that
doesn't happen. it seems apache cannot complete startup process and
wait, wait, wait.
I noticed one thing: apache doesn't create pid file, it doesn't arrive
to create it.
Using the old php4.4dev "200301041230" snapshot version all works well
(it is the version that was installed before I tried to install
php4.3.2RC1"
outpuyt of gdb WITHOUT --enable-experimental-zts
Starting program: /usr/sbin/httpd -X
[New Thread 1024 (LWP 12706)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 12706)]
0x403c6ddf in zend_register_functions (functions=0x40414420,
function_table=0x0, type=1, tsrm_ls=0x8165880)
at /home/archivi/php-4.3.2RC1/Zend/zend_API.c:1034
1034target_function_table = CG(function_table);
output of gdb WITH --enable-experimental-zts
Starting program: /usr/sbin/httpd -X
[New Thread 1024 (LWP 12738)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 12738)]
0x403c0e6f in zend_register_functions (functions=0x4040d0c0,
function_table=0x0, type=1, tsrm_ls=0x8165880)
at /home/archivi/php-4.3.2RC1/Zend/zend_API.c:1034
1034target_function_table = CG(function_table);
Previous Comments:
[2003-03-21 17:05:12] [EMAIL PROTECTED]
Does it crash? Try with starting httpd withing gdb:
# gdb httpd
(gdb) run -X
[2003-03-21 16:34:48] busia at tiscali dot it
I have tried --enable-experimental-zts without success. I'll try to
test with the worker MPM but it's an "online" server and it should be
not possible. I'll let you know.
[2003-03-21 16:09:46] [EMAIL PROTECTED]
Using Apache2 SAPI module in worker model is highly discouraged because
PHP has not completely been confirmed to be a thread-safe
implementation. If you even want to use it within such a real threaded
environment, you have to specify --enable-experimental-zts in the
configure line.
Then try configuring Apache2 to use prefork model and see if the
problem still persists.
[2003-03-21 15:58:57] busia at tiscali dot it
I have also tried lastest 4.3.x stable snapshot from snaps.php.net. The
problem persists
[2003-03-21 09:52:48] busia at tiscali dot it
I have installed PHP4.3.2RC1 on apache 2.0.44.
Apache doesn't start. In the error_log I see:
-
[Fri Mar 21 16:19:46 2003] [notice] Digest: generating secret for
digest authentication ...
[Fri Mar 21 16:19:46 2003] [notice] Digest: done
-
instead of:
-
[Fri Mar 21 16:53:02 2003] [notice] Digest: generating secret for
digest authentication ...
[Fri Mar 21 16:53:02 2003] [notice] Digest: done
[Fri Mar 21 16:53:03 2003] [notice] Apache/2.0.44 (Unix) configured --
resuming normal operations
-
PHP configure:
./configure --enable-track-vars --prefix=/usr --exec-prefix=/usr
--libexecdir=/usr/lib/apache --bindir=/usr/bin --sbindir=/usr/sbin
--datadir=/home/httpd --sysconfdir=/etc/httpd/conf --localstatedir=/var
--libdir=/usr/lib/apache --includedir=/usr/include/apache
--mandir=/usr/man --with-mysql=/usr
--with-config-file-path=/usr/local/Zend/etc --enable-memory-limit
--with-zlib --with-apxs2
Apache 2.0.44 configure:
./configure --enable-layout=RedHat --datadir=/home/httpd
--enable-auth-digest --enable-ext-filter --enable-cgi
--enable-vhost-alias --disable-include --enable-deflate
--enable-mime-magic --enable-expires --enable-headers
--enable-usertrack --enable-unique-id --enable-http --disable-userdir
--enable-so --with-mpm=worker
in httpd.conf:
LoadModule php4_module/etc/httpd/modules/libphp4.so
AddType application/x-httpd-php .php .php4 .php3 .phtml
AddType application/x-httpd-php-source .phps
--
Edit this bug report at http://bugs.php.net/?id=22815&edit=1