Tuesday, February 17, 2009

PHP Support in the Apache Webserver

The following are my notes on PHP support in the Apache Webserver. The Linux box I am using runs on CentOS 5.0 operating system. The following steps assumes that the Linux box is connected to the Internet:


# yum install httpd
# yum install php
# yum install php-mysql
# yum install php-pgsql
# yum install php-mbstring
# yum install php-xmlrpc
# yum install php-gd


Among others, the above commands installs Apache and PHP with support for the MySQL and PostgreSQL databases.

No comments: