Ubuntu15 builds a php development environment

Source: Internet
Author: User
Tags php development environment php memcached
: This article mainly introduces how to build a php development environment in ubuntu15. if you are interested in the PHP Tutorial, refer to it. Install Chinese input method (refer to Baidu Experience)

http://jingyan.baidu.com/article/ad310e80ae6d971849f49ed3.html

Right-click terminal

1. open a Terminal (ctrl + alt + t) and enter the following command sudo apt-get install nautilus-open-terminal2. run the following command to restart Nautilusnautilus-q or install a very useful terminal: Guake Terminal

Build a lamp development environment

Sudo apt-get install apache2 # install apache sudo apt-get install php5 # install php and apache's php module sudo apt-get install mysql-server mysql-client # install mysql server and client sudo apt-get install php5-memcache # install PHP memcached extension

Install memcache

Sudo apt-get install memcached # install php memcached extension memcached-d-m 50-p 11211-u root # Start a memcached service-d is to start a daemon-m specifies how much to use MB of cache space; -p specifies the port to be listened on;-u specifies the user to run-l is the IP address of the listening server. the default value is 127.0.0.1-c, which is the maximum number of concurrent connections, by default, 1024-P stores pid files such as/tmp/memcached. pid-> use telnet to test the memcached service $ telnet localhost 11211 Trying 127.0.0.1... connected to localhost.

Install curl extension

sudo apt-get install curl libcurl3 libcurl3-dev php5-curl

Install SVN

Sudo apt-get install subversion-tools # enter svn -- version to check whether the installation is successful

Copyright disclaimer: knowledge is used by the people! You are welcome to repost this article. For more information, see the link at the beginning!

The above section describes how to build a php development environment on ubuntu 15, including some content. I hope to help anyone who is interested in PHP tutorials.

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.