Bug #1573: php3.ini settings wont be used

From: Date: Sun, 20 Jun 1999 21:52:59 +0000
Subject: Bug #1573: php3.ini settings wont be used
Groups: php.dev 
Request: Send a blank email to php-dev+get-7269@lists.php.net to get a copy of this message
From: roland@virtual.ch Operating system: FreeBSD 3.1 / Apache 1.36 PHP version: 3.0.7 PHP Bug Type: Other Bug description: php3.ini settings wont be used Settings in php3.ini wont be used at all if the directory where php3.ini resides is not listed in the open_basedir. The file gets parsed but the settings are thrown away. Seems very strange but is reproducable if PHP3 is used as module. Had no such problems when using the PHP-CGI. I have disabled everything except the mySQL-Module. Also, after reading some source while debugging this, the define in acconfig.h: /* #define CONFIGURATION_FILE_PATH "php3.ini" */ should be: #define CONFIGURATION_FILE_PATH "." because this define is used as _path_ and the filename 'php3.ini' is hardcoded in configuration-parser.y thanks an keep your good work up ! Roland btw: Could not check this on 3.08/09 because mySQL wont work in the PHP-Module with Apache 1.36 (Segfault)

« previous php.dev (#7269) next »