First article: PHP development environment

Source: Internet
Author: User
Tags php development environment

Window:

1, XAMPP
Https://www.apachefriends.org/index.html

2, Wampserver
http://www.wampserver.com/

Linux

CentOS Installation apache,mysql,php Environment



This is the default version of the system, if you want to upgrade to a higher level, for example php5.6 can use the command:
Update Source:
Centos/rhel 7.x:

Centos/rhel 6.x:



Remove the previously installed PHP

Apache,mysql service startup and shutdown commands



php56-* available extension references are here:
https://webtatic.com/packages/php56/

Mac

Mac OS X has built-in Apache and PHP, so it's easy to use.
Terminal operation:

installation of MySQL
Visit MySQL's website and you'll see a "download" click under "MySQL Community Server" on the page.

Common Extended Installation

Redis

Under CentOS:

PECL installation please see: https://blog.iw3c.com/archive/994/



If php.php is not in the default location, via Php-i | grep "PHP.ini" to see where the php.ini is located.

Window: Go to Https://pecl.php.net/package/redis to download the latest DLL package, put it in the Ext directory under the PHP file, or add the extension more intelligently through the integrated environment

Mongo

Under CentOS:

Memcached

Under CentOS:

First article: PHP development environment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.