PHP Compilation Installation Series
Xu Liangwei, Hu Hu called the benchmark Xu. Years of experience in Internet operation and maintenance, has been responsible for large-scale cluster architecture automation operation and maintenance
Install firstNginxMysqlInstall most common dependency packages (without affecting installation, but are prone to problems with the use environment)Freetype-devel libpng-devel gd-devel curl-devel (libcurl-devel) libxslt-develZlib-devel libxml2-devel
One, back up the original PHP fileTo view an existing PHP version:Backup, because it is not an overlay installation, here can also not backup, but, as a daily operating habits, backup is very necessary.[[email protected] ~]# cd
/usr/local/php/etc/php-fpm.conf is the configuration of the PHP service
/usr/local/php/etc/php.ini is the global configuration of the PHP software. For example: Clock
The main configuration is the PHP service configuration, the service template
Recently upgraded the system to the UBUNTU16 long-term Support edition and redeployed the LNMP environmentContract several directory source directory/usr/local/srcMysql/usr/local/mysqlphp/usr/local/phpNginx/usr/local/nginxMySQLVersion
See if Nginx and MySQL have been started! -E Extended Regular expression[[email protected] ~]# netstat -tunlp | grep -E "nginx|mysql"tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 1476/mysqld tcp
Because the company requires the latest version of the ZABBIX2.4.4 need the latest version of the system CENTOS7 and the new version of the LNMP environment, so I feel the use of a new version of the environment to build a LNMP system, the
The server is installed with the 6.3 version of CentOS, the default PHP version is 5.3, the version is too low, so that the latest open source framework does not work, want to run the latest open source framework must upgrade the PHP version, but
PHP7 and PHP5 coexist in CentOS7Original referencePrincipleThe idea is simple: PHP5 is installed through Yum in/usr/, sockets in/VAR/RUN/PHP-FPM.SOCKET,PHP7 themselves compiled in/USR/LOCAL/PHP7, sockets in/var/run/ PHP7-FPM.SOCKET,NIGNX Specifies
Install and configure php, nginx, and mysql in linux
I am mainly used to install php and interact with nginx and php..Original article: http://www.cnblogs.com/lost-1987/articles/2642979.html
1. Install the plug-in
You can choose YUM installation or
1. DownloadLibxml2-2.6.32.tar.gz http://download.csdn.net/detail/netlong339/1351852Php-5.3.16.tar.gz http://download.csdn.net/detail/aiyunbreak/53660612. Set up the target foldermkdir/usr/local/phpThat is, wait for the installed PHP to be installed
I want to based on the input text, generate a specific font of the picture, according to Php.net on the sample, and can not generate the correct picture, what should I do?
Picture in the sample:
My Pictures:
Code:
I use the LNMP one-click
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.