Install apache:
yum install httpd httpd-devel
Start apache:
/etc/init.d/httpd start
Enter the IP address of the server at this time, and you should see the apache service Page, port does not need to be entered, apache uses port 80 by default
Install mysql:
yum install mysql mysql-server
Start mysql:
/etc/init.d/mysqld start
Install php
yum install php php-devel
Restart apache to make php take effect
/etc/init.d/httpd restart
Install php extension
<span><code>yum
install
yum
install
php-mysql
php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc
restart apache
/etc/init.d/httpd restart
🎜
🎜
The above introduces the HP server center os installation of the PHP server, including the content of the HP server. I hope it will be helpful to friends who are interested in PHP tutorials. 🎜
🎜
🎜