do you have the php.ini path defined in httpd.conf?
mark
>>> "gjukema" <[EMAIL PROTECTED]> 11-Mar-06 01:14:14 AM >>> I found a work around, but would still like to solve the issue. What I've
done is make a php.ini symlink in the root filesystem pointing to the php.in file /usr/local/php/lib/php.ini. After restarting apache, phpinfo() now states that it's reading the /usr/local/php/lib/php.ini file. Any ideas how this is possible that it won't find the php.ini file on it's own, but will when I put the symlink in? Thanks, Geoff ""gjukema"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Sorry if this is a double post, I seem to be having troubles with my news > client.... > > I've been searching for a solution for hours and still can't get my > php.ini > file to be read on Fedora Core 3 w/ Apache. > > I've read the FAQ : > http://ca.php.net/manual/en/faq.installation.php#faq.installation.findphpini > > but it doesn't list my scenario as follows: > > phpinfo() lists *only* the configuration directory as : > > Configuration File (php.ini) Path /usr/local/php/lib > > > BUT.. the file is located in /usr/local/php/lib/ : > > [EMAIL PROTECTED] lib]# pwd > /usr/local/php/lib > [EMAIL PROTECTED] lib]# ls -l > total 52 > drwxr-xr-x 11 root root 4096 Mar 10 00:47 php > -rw-r--r-- 1 root root 45181 Mar 9 23:04 php.ini > [EMAIL PROTECTED] lib]# > > I should mention that this is a new install of Fedora Core 3, and I've > been > copying all my binaries (php, apache, mysql) and configuration files from > a > hard drive that was a running system earlier today. > > I've never run into this issue before and I've been > running/installing/programming PHP for years. > > Any ideas how I can debug why PHP can't read (or see) the file in this > directory? > > Thanks, > Geoff > [EMAIL PROTECTED] |
- [PHP-INSTALL] Re: php ini not being read Mark Galbreath