Loaded Configuration File (none) ? Why ?



Hi,

I compiled PHP 5.2.5 from source, and configured as follow : './configure' '--sysconfdir=/etc/php' '--enable-debug' '--enable-magic-quotes' '--with-openssl' '--with-zlib' '--with-bz2' '--enable-calendar' '--with-curl' '--with-gdbm' '--enable-ftp' '--with-gd' '--with-gettext' '--with-mcrypt' '--with-mhash' '--enable-zip' '--with-kerberos' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql' '--with-config-file-path=/etc/php' '--with-xsl' '--enable-shared' '--with-curlwrappers' '--enable-zip' '--enable-exif' '--enable-mbstring' '--with-config-file-scan-dir=/etc/php/more'

i used the config-file-scan cause i would, in the future, use a per virtual host/per directory php configuration.
But for the moment, i'm unable to load any configuration file...
I specified --with-config-file-path=/etc/php and cp the php.ini-recommend into it and the ls command returns :
drwxr-xr-x 2 root root 4096 2008-02-14 15:15 more
-rw-r--r-- 1 root root 962 2008-02-15 02:05 pear.conf
-rw-r--r-- 1 root root 48618 2008-02-14 13:50 php.ini
So php should be able read the file...
I can't understand why the php.ini file is not being read...

Any ideas ?

BTW : how could i load different php.ini in my virtual directory and use (what i suppose being to do) --with-config-file-scan-dir=/etc/php/more
I check php documentation but wasn't able to find a solution to just give the configuration file to load...

Thx

PS : debian etch, apache 2.2, php 5.2.5
.



Relevant Pages

  • Help with php5 install under windows
    ... This includes moving php from the ... Enable the PHP scripting language engine under Apache. ... or per-virtualhost web server configuration file. ... The PHP directives register_globals, ...
    (php.general)
  • Re: [PHP] Include directive..
    ... file to specify the location to my script folders. ... Failed to generate a syntactically correct Apache configuration. ... But i do have the <?php tag closed in my Bootstrap file. ...
    (php.general)
  • Re: You must specify the PHP executable used for the debug session
    ... ini file to be copied ... Sorry, PHP Debugging configuration failed. ...
    (comp.lang.php)
  • Re: php.ini settings not taking effect
    ... >don't have control over Apache's httpd.conf, as I'm running my php scripts on my ISP server. ... PHP configuration, at least for the Apache module version ... more settings here than you can with ini_set, ...
    (comp.lang.php)
  • Re: Transfering Website, PHP Configuration
    ... This has nothing to do with PHP - it's straight Apache configuration. ... Your new host probably has a control panel to help you configure your system. ... check security settings on both servers and compare them. ...
    (comp.lang.php)