Install PHP on CentOS

2011-09-25 PHP CentOS

Installing PHP is as simple as running the following yum command.

$ yum install php

If you also need support for MySQL in your PHP install then also run the following:

$ yum install php-mysql

You will probably also need to restart your web server, for Apache

$ service httpd restart

Related Posts