2.4. Configuring PHP

After you have successfully installed PHP, you can start configuring the package. This is essential because the default setting will not always satisfy your demands. The configuration file of PHP is called php.ini. The location of this file depends on how and where you have installed PHP. If you are using Red Hat's standard packages, the file is located in /etc/php.ini.

In this section, you will take a closer look at this configuration file and all relevant settings will be discussed extensively. The various entries are described in the same order they occur in the configuration file of PHP 4.1:

  • engine— To enable PHP to use it, this flag has to be set to On. The word engine refers to the Zend engine, which is the core of ...

Get PHP and PostgreSQL: Advanced Web Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.