O'Reilly logo

Webmin Administrator's Cookbook by Michał Karzyński

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Changing PHP configuration settings

The PHP interpreter allows you to specify values of numerous settings, which determine how PHP applications behave on your system. This configuration affects how errors are logged or displayed, how input data is handled, what resources are allocated to the interpreter, and settings for extension modules bundled with PHP.

PHP's configuration file is traditionally called php.ini, and its location depends on your operating system distribution and version of PHP. Common locations of the php.ini file include: /etc/, /etc/php5/apache2/, and /usr/local/etc/. The php.ini file contains master setting values, but some settings may be overwritten locally with a PHP script or Apache configuration for a directory.

In this ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required