mtuk Posted December 13, 2008 Share Posted December 13, 2008 Hi all, Just to let you know, I'm pretty new to this... I'm trying to change some of the php local configuration values. I can sucessfully change the master values by editing the default php.ini file, but this does not change the local values. This is a clean install on my own test server so I have full access. I've been doing a lot of googling and so far have not had any success. What I can tell you is that I followed the following instructions to install Linux: - http://www.howtoforge.org/perfect-server-ubuntu8.04-lts and installed ISP-Config (this runs under it's own apache so should not make any difference). The httpd.conf file is empty. $_SERVER['GATEWAY_INTERFACE'] = CGI/1.1 (I believe this means PHP is running as CGI?) I hope this is enough information so that someone might be able to point me in the right direction? Many thanks in advance! Mike. Quote Link to comment Share on other sites More sharing options...
mtuk Posted December 15, 2008 Author Share Posted December 15, 2008 Solved at last... Firstly, Ubuntu uses apache2.conf instead of httpd.conf (explaining why it is blank). ISP Config uses a virtual hosts configuration file, but on my system this was located here (below), rather than vhosts.conf: - /etc/apache2/vhosts/Vhosts_ispconfig.conf Changing the relevant lines in this file updated my php local configuration settings. You may find something similar to the following command very useful in locating where the changes are being made: - grep -H -r "safe_mode" /etc/apache2/ Hope this helps someone, Mike. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.