Re: php.ini problem

From: Date: Thu, 18 Jul 2002 16:22:35 +0000
Subject: Re: php.ini problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-108285@lists.php.net to get a copy of this message
Andre wrote:
Apache 1.3.26 PHP 4.2.1 staticly built as a module. The configuration in php.ini seems not to be used by httpd. I've traced my httpd process and it opens the php.ini file in the expected directory, but variables set in there don't take effect (e.g. engine=On, display_errors=Off, etc.). I had PHP 4.1.1 running here before, and it used to work, PHP 4.2.1 has been built with exactly the same options that I used to build PHP 4.1.1. What could have I missed?
I have a problem similar to urs but with engine only. I used to set engine=off in php.ini and in httpd.conf as per vhost I add the following php_flag engine on. Since I upgraded to Apache 2.0.36 and php 4.2.1 it breaks the apache and complains that there is type mistake. I changed it from php_flag to php_value but no help at all. My workaround was to comment the lines in conf.d/php.conf that handle the php files through the php module and to add them per vhost and it worked. Also I tested the old AddType and it is working too. Regards -- Sameh Attia Senior System Engineer T.E. Data -- __ __ _ _________ _/ /_/ /_(_)___ _ / ___/ __ / __/ __/ / __ / (__ ) /_/ / /_/ /_/ / /_/ / /____/\__,_/\__/\__/_/\__,_/

« previous php.general (#108285) next »