Contents / Previous / Next


Installation

Standard Configuration: RPM in Linux distributions.

There are several ways to install PHP, the most common are:

In case of a local installation of your web server (Apache) you can place your script "my.php" under the directory "/srv/www/htdocs/my.php" and open it as "http://localhost/my.php" in you browser.

Configuration

The PHP configuration is done in the php.ini file (in /etc).

Edit httpd.conf (in /etc/httpd) to configure Apache to work with PHP.