Justtechjobs.com Find a programming school near you






Online Campus Both


php-install | 2002112

[PHP-INST] PHP_CONFIG_FILE_PATH ignored? From: Dave Pfister (dave <email protected>)
Date: 11/19/02

Hey all,

I've been trying to build PHP that reads a config file from a different
location than the stock "/usr/local/lib/php.ini" location. According to
the header files, the new INI file path *should* be getting set,
however, after shutting down & restarting the server with the newly
built module loaded, phpinfo() is still reporting that the INI file
being used is the /usr/local/lib version. System is Solaris 2.8,
building PHP 4.2.0 as a DSO w/ apache 1.3.2x
Here's the config results (configure commmand shortened for brevity):

build-defs.h:#define CONFIGURE_COMMAND " './configure'
'--with-config-file-path=/nol/apache-ach/conf/php.ini'"
build-defs.h:#define PHP_CONFIG_FILE_PATH "/nol/apache-ach/conf/php.ini"

Any ideas/clues/suggestions would be much appreciated.

-- 
Dave Pfister    | Phone : (402) 471-7893 | Quidquid latine dictum
Nebrask@ Online | e-mail:  dave <email protected>  | sit, altum viditur.

-- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php