Jump to content

Apache's not using php.ini


Recommended Posts

Hi,

A while ago I installed mysql and apache via yum, whilst building php with mysl, apxs and gd support. I've recently installed drupal, at which point I realised I hadn't copied php.ini to '/usr/local/lib', so I copied php.ini-recommended across and amended accordingly. Drupal all works fine.

 

Now i'm installing Gallery2, with it is an install php check script (http://codex.gallery2.org/Downloads:GHCC). When run I get the following error:

session.save_path writable
       Fatal Warning -- session.save_path must be set to a valid directory and be writable by the web server user

 

I've set and reset 'session.save_path' in php.ini, set all permissions, etc, all to no avail!

 

From searching, there could be a problem with httpd not reading php.ini and just using defaults. If so why, am I getting the location wrong because it's an rpm install of httpd, or can I set the path to find ((in ./configure of php) this I checked, '--prefix=/usr/local/php' ??? also copied php.ini there!).

 

I'll be greatful for any solutions!

 

Link to comment
https://forums.phpfreaks.com/topic/38976-apaches-not-using-phpini/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.