View Full Version : Question about my local php.ini and custom changes

01-01-2004, 08:08 PM
I know I have seen this answered somewhere but have not been able to find this again.

According to phpinfo() my php.ini file that is used is located in /ftp/usr/lib/php.ini. Okay fine. So, I want to edit this file and make changes like turning on full messaging or something. This file is owned by root and I do not have permission to change it.

Somewhere I read that I can create my own local copy and present (I think in my cgi-bin) it will be used instead of the global php.ini located in /ftp/usr/lib.

Can anyone advise on this proceedure?

01-01-2004, 08:11 PM
Also, I did find this in PArt 6 of the WH manual. It states nothing about an alternate php.ini file only a warning about making changes to php.ini


PHP is a very popular web scripting language allowing you to make your site dynamic, use databases, etc. With your installation of PHP, you will have direct control of the php.ini file which sets various options for PHP. You can find the php.ini here:

Note: Modifying the php.ini is only recommended for advanced users as you can break your scripts if not done properly.

01-02-2004, 04:05 AM
In my site, php.ini is owned by root but is part of the vuser group, so you should be able to edit it.

-rw-rw-r-- 1 root vuser 29366 Oct 3 04:27 php.ini