Home > Backend Development > PHP Tutorial > HP server center os install php server

HP server center os install php server

WBOY
Release: 2016-07-29 08:40:14
Original
1702 people have browsed it
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. 🎜 🎜 🎜
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template