: 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.