Loaded Configuration File (none) ? Why ?
- From: SPK <speedballkills+nospam@xxxxxxxxx>
- Date: Fri, 15 Feb 2008 03:01:44 +0100
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
.
- Follow-Ups:
- Re: Loaded Configuration File (none) ? Why ?
- From: C. (http://symcbean.blogspot.com/)
- Re: Loaded Configuration File (none) ? Why ?
- Prev by Date: Re: Open Source PHP version of ASP.NET DataGrid or GridView?
- Next by Date: Re: Is there any sort of preprocessor functionality in PHP4?
- Previous by thread: Open position for a PHP Backend Developer in Sunnyvale, CA (9035)
- Next by thread: Re: Loaded Configuration File (none) ? Why ?
- Index(es):
Relevant Pages
|