How does one edit a php.ini file?

Hello people, well the question couldn’t be more explicit. I just learned how to view the php.ini configuration of my server using the phpinfo()script. But apparently it is a read only file. So how does one edit it? I am trying to extend session timeout. Thanks.

I’m using Linux (Ubuntu) and I get to my php.ini by going to:

etc/php5/apache2/php.ini

You should go to the folder where php is installed. It is in there.

Sponsor our Newsletter | Privacy Policy | Terms of Service