Home > Backend Development > PHP Tutorial > Problems with setting up PHP development environment under Linux operating system

Problems with setting up PHP development environment under Linux operating system

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-28 08:26:19
Original
1018 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, you should see the apache service page, there is no need to enter the port. By default, apache uses port 80

to install mysql:

yum install mysql mysql-server

Start mysql:

/etc/init.d/mysqld start

Enter mysql and set the user name and password

use mysql

set password for?root@localhost=password('root');

Install php

yum install php php-devel

Restart apache to make php take effect

/etc/init.d/httpd restart

At this time, you can Directory: Create a PHP file named ceshi.php under /var/www/html/

Code:

').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above has introduced the issues of setting up a PHP development environment under the Linux operating system, including relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
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
Latest Issues
Apache automatically stops
From 1970-01-01 08:00:00
0
0
0
apache restart failed
From 1970-01-01 08:00:00
0
0
0
apache error
From 1970-01-01 08:00:00
0
0
0
How apache logs
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template