Editing my PHP.INI file?

software development

#1

When i use phpinfo(), it says that the php.ini file is located:
/etc/php5/cgi/

How do I access that folder?


#2

You can “access” it via that path, but you will not be able to edit it, as you do not have adequate permissions.

If you want to modify a setting in php.ini, you will need to either install your own copy of PHP, or modify your domain’s setup to use a copy of DH’s php.ini which you have copied into your own user space and modified.

Instructions for doing either of these things are in the DH Wiki, but DreamHost will not support you in attempting this.

http://wiki.dreamhost.com/Installing_PHP5
http://wiki.dreamhost.com/Custom_PHP.ini
http://wiki.dreamhost.com/PHP.ini

–rlparker


#3

thanks much, I appreciate it :]


#4

No problem, and good luck with your modifications. :slight_smile:

–rlparker