RE: PHP 4.0 Bug #7345 Updated: segmentation fault with named virt ual hosts en php_value flags

From: Date: Mon, 20 Nov 2000 09:18:30 +0000
Subject: RE: PHP 4.0 Bug #7345 Updated: segmentation fault with named virt ual hosts en php_value flags
Groups: php.dev 
Request: Send a blank email to php-dev+get-38555@lists.php.net to get a copy of this message
correct, it was due to a bug in the sybase library: from the moment I tried to use sybase functionality, the apache child would crash. I upgraded php_sybase_db.c from version 1.4 (bundled with PHP 4.0) to version 1.6, and everything worked fine then. Franky > ---------- > From: Bug Database[SMTP:php-dev@lists.php.net] > Sent: Monday, November 20, 2000 4:48 AM > To: franky.van.liedekerke@telenet.be > Subject: PHP 4.0 Bug #7345 Updated: segmentation fault with named > virtual hosts en php_value flags > > ID: 7345 > Updated by: sniper > Reported By: franky.van.liedekerke@telenet.be > Status: Feedback > Bug Type: Apache related > Assigned To: > Comments: > > Please try a snapshot from http://snaps.php.net/ > This should be fixed already. > > --Jani > > Previous Comments: > -------------------------------------------------------------------------- > - > > [2000-10-19 11:36:17] franky.van.liedekerke@telenet.be > I'm trying to get apache 1.3.14 to run with php 4.0.3pl1 on Solaris 2.6. > Now I compiled php to use apxs: > > "./configure" > "--with-apxs=/opt/apache-1.3.14/bin/apxs" > "--prefix=/opt/apache-1.3.14/php" > "--with-config-file-path=/opt/apache-1.3.14/php/conf" > "--enable-safe-mode" > "--enable-trans-sid" > "--with-exec-dir=/opt/apache-1.3.14/php/bin" > "--enable-magic-quotes" > "--with-mysql=/opt/mysql-3.22.32" > "--with-ldap=/opt/openldap" > "--with-sybase=/opt/sybase" > "$@" > > And everything seems to start up nicely. Even php works great...partially. > From the moment I try to use a php script from a named virtualhost that is > not the first one defined, the apache child process dies with a > segmentation > fault. > Now I discovered that, when I remove the php_admin_value and php_value > entries from my apache config and activate php from the php.ini file, > everything works fine for all named virtual hosts. > > > Franky > > > -------------------------------------------------------------------------- > - > > > Full Bug description available at: http://bugs.php.net/?id=7345 >

« previous php.dev (#38555) next »