#21259 [Fbk]: php.ini is totally ignored

From: Date: Sun, 29 Dec 2002 13:00:56 +0000
Subject: #21259 [Fbk]: php.ini is totally ignored
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-28661@lists.php.net to get a copy of this message
ID: 21259 Updated by: wez@php.net Reported By: omer@insan.net Status: Feedback Bug Type: *Configuration Issues Operating System: linux - redhat 7.1 PHP Version: 4.3.0 New Comment: This should be the path to a directory in which to look for the php.ini: --with-config-file-path=/usr/local/apache2/conf/ Previous Comments: ------------------------------------------------------------------------ [2002-12-29 05:07:29] derick@php.net It would also help of you could start apache in single process mode (-X) and run it from within strace to see which files it tries to open: strace /path/to/httpd -X regards, Derick ------------------------------------------------------------------------ [2002-12-28 22:24:58] pollita@php.net Could you provide the output of phpinfo(); ? Or better yet provide a link to a php page with this content on your server? ------------------------------------------------------------------------ [2002-12-28 21:42:42] omer@insan.net even though php engine works (apache2.0.43 dso) it totally ignores php.ini settings. Specifical examples; when I change output_buffering to "On" or "4096" or "1" it simply stays as "0" (as viewed from phpinfo()) OR magic_quotes_gpc cannot be turned "Off" it stuck in "On" position. (i have also verified these by actual dependent script non-function so its not a phpinfo() problem) Ive installed it as './configure' '--with-config-file-path=/usr/local/apache2/conf/php.ini' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql' Even when I delete php.ini I get the same for phpinfo. I have tried putting a file at /usr/local/lib/php.ini (the default location if you had not set it yourself) with the same result. i have reinstalled apache once and php twice from scratch with same results! Yes I do restart apachectl. And no I don’t have a problem with php.ini permissions as ive even tried chmod 777! (apache 2.0.43 dso php4.3.0RC2 did not have this problem.) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21259&edit=1

« previous php.bugs (#28661) next »