centOS automatically installs php

  
 

Install php under centos

#yum install -y php

This install only PHP

Recommended to install runtime and MySQL support< Br>

#yum install -y php php-devel php-mysql

If your system is CentOS 5.6 then the above command installs PHP 5.1,

Install PHP 5.3 then execute the following command:

#yum install -y php53 php53-devel php53-mysql

Automatically install boot#service httpd restart will install apache (also known as httpd), but will not To install MySQL, MySQL needs to be installed separately. Install the MySQL command: #yum install -y mysql mysql-devel mysql-server This command includes the MySQL runtime and server

Copyright © Windows knowledge All Rights Reserved