How do I edit PHP settings in Apache?

Linode Staff

I activated a setting in /etc/php/5.6/cli/php.ini and restarted Apache2, etc, but I am not seeing it enabled!

1 Reply

If you want to edit the php.ini for Apache, you would want to edit the actual Apache php.ini and not the command line settings. You would find this in a path similar to the following:
/etc/php/5.6/apache2/php.ini

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct