Because before all through the source code directly installed lamp environment, so many expansion libraries are not installed, suddenly now to use a verification code class, Imagecreate function display is undefined, so to install the compiled GD
For a long time did not write a blog, recently learning PHP, so the environment configuration to share with you.
Software Preparation:
The prepared software is shown in the following illustration.
Apache found 64 drops
Download Apache want to remember the next OpenSSL
Httpd-2.2.19-win32-x86-openssl-0.9.8r.msi
Download PHP Remember the thread is safe, so that the HTTP service can be easily built
PHP Tutorials -5.2.17-win32-vc6-x86.msi
This is a brief introduction to compiling PHP and its extended memcache, and it is recommended that you read the official document (address) before reading the following. Here we take php5.3 as an example.
First, the compilation environment
Select
Last night a customer contacted me to do a website, put forward the requirement is to provide customers with the Excel file inside the data into the MySQL database, the most commonly used method is to export the XLS file in CSV format file, and then
1. The WIN+NGINX+PHP+MYSQL Environment constructs
Nginx is a high-performance http and reverse proxy server, as well as a IMAP/POP3/SMTP proxy server, developed by the Russian rambler.ru site, Nginx is known for its stable performance and low
Windows Server 2008 and Windows Server 2003 are the current domestic mainstream server operating system, its build PHP environment is also a variety of, where iis+fastcgi+php+mysql installation is the simplest.
iis7.5 is installed in the Win7, Win8
Iis+php disadvantage: Because the original Windows price is expensive, Windows 2003 Chinese Enterprise Edition general Price is 19000-30000.
In fact, the configuration above Win7 is similar to the configuration on Windows 2003, except that the
Compiling the source package requires./configure then compile a. so fileOne less error packetInstall packageNormal displayThe LS directory has a./configure fileQuerying module LocationsEditing a configuration fileEditing a configuration fileIncrease
Before using thinkphp found a trace function can track debugging, feel very interesting, online search for the next similar things, found the chromephp, did not think of this to debug PHP program, feel very convenient, very useful.thinkphp use of
Prepare an article
First, firewall configuration
CentOS 7.x defaults to use firewall as a firewall, here to iptables firewall.
1. Close firewall:
Systemctl Stop Firewalld.service #停止firewall
Regardless of what to do, the idea is to pass SQL statements through PHP to the MySQL database, so that the database to execute Add or delete commands, and finally get the results we want. PHP is like a bridge that connects the Visual Web with the
Here take PHP5 as an example of how to install and configure Apache and PHP5 under Windows.
Download installation program
Apache can download from http://www.apache.org/dyn/closer.cgi/httpd/binaries/win32/
PHP can be downloaded from the
Installation of Zabbix
The Zabbix monitoring architecture requires at least server,agent,web modules. MySQL, Web Parts, and servers are installed on the same machine.
Zabbix pre-installation server to do time synchronization (NTP)
Here to declare, for nginx PHP installation and for Apache PHP installation is different, becauseFor Nginx in the PHP is a fastcgi way to combine Nginx. Can be understood as Nginx proxy php fastcgi,and Apache is calling PHP as its own module.
First step: Go to Eclipse's website to download PHP-ECLIPSE:HTTP://WWW.ECLIPSE.ORG/DOWNLOADS/PACKAGES/ECLIPSE-PHP-DEVELOPERS/HELIOSSR1Step two: Download Xdebug (located at: http://xdebug.org/download.php, my PHP version is php 5.3.28 Thread Safety,
1. nginx+php Installation
Download Nginx, install to the specified directory, such as D:\nginx-1.7.5.
Download PHP, install to the specified directory, such as D:\php. Note: PHP Binaries in the window environment include both
54312402In the CentOS 7 environment to build a good LNMP environment, found that the installation of PHP has a lot of extensions are not installed, their own installation of a lot of problems encountered in the Internet to find information there is
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.