Because the server is windows and nginx and mysql have been run, you need to add php
The previous article has written how to support window + php. Here, the error is solved.
Php: http://windows.php.net/downloads/releases/ which find the
1. Install the pcre Library required by Nginx:Tar zxvf pcre-8.10.tar.gz
Cd pcre-8.10/
./Configure
Make & make install
Cd ../
2. Install Nginxtar zxvf nginx-0.8.46.tar.gz
Cd nginx-0.8.46/
./Configure -- user = www -- group = www -- prefix
I haven't written some blogs for a long time. I just found my job. I had the honor to participate in the splitting project of my company's website in a few days. Today I wrote these things to familiarize myself with the source code installation
Learning notes for LAMP installation and configuration in CentOS 6.5.
Install the LAMP \ Vsftpd \ Webmin \ phpMyAdmin service and settings in Ubuntu 13.04
Compile and install LAMP in CentOS 5.9 (Apache 2.2.44 + MySQL 5.6.10 + PHP 5.4.12)
Source code
By default, nginx cannot parse PHP. to parse PHP, You need to modify the nginx configuration file. Open nginx. conf and find location to modify as follows: location=rootvarwww1_indexindex.phpindex.htmlindex.htm;} Find location ~. Php $, modify as
This article mainly records the general process of using nginx, php, and mysql to build a web site. The system environment is CentOS6.3. To avoid many unexpected errors during source code compilation, most of the software in linux is directly
This article link: http://www.cnblogs.com/cnscoo/archive/2012/09/03/2668577.htmlFirst, the preparatory work:Os:windows7 SP1nginx:nginx-1.3.5php:php-5.4.6Second, decompression php-5.4.6-win32-vc9-x86.zip to D:\php, the php.ini-production of which
First, the preparation work is like lampSecond, install MySQL and lamp likeThird, install PHP1. Create a PHP userUseradd-s/sbin/nologin PHP-FPM2, download the PHP program and upload to/USR/LOCAL/SRC3. DecompressionTAR-ZXVF php-5.4.36.tar.gz4.
Because the SSL certificate expires, so want to re-get one, here see Wosign digital certificate and then tried. It's like it's really possible. But to register an account to have a one-year term certificate, but also good.650) this.width=650; "src="
in recent months, the project has been built under the NGINX environment, hereby record the relevant contents of the configuration file, in case of a rainy days, welcome to Vomit Groove ~ ~
Detailed configuration information please consult the
Php
Download PHP 5.6 (VC11 x86 Non Thread Safe), unzip to any directory, copy the file php.ini-development and rename it to PHP.ini.
I did not modify the contents of the php.ini file, and the following test passed. If you want to change later, you
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
Now let's just say a few steps to developing a PHP extension under Windows:
The first software to be prepared is:
Cygwin installation path E:\app\cygwin
Visual Studio C + + 6.0,
Modify the environment variable and set the installed PHP path to the
The php compressed package I downloaded does not contain the php. ini package. I took one from Phpstudy and put it in the php root directory for decompression. The php compressed package I downloaded does not contain the php. ini package. I took one
After php5.6.30 fails to be compiled and installed for the first time, the installation is successful for the second time. I. Compile and install php5.6.30
Installation environment:
# cat /etc/redhat-release CentOS release 6.8 (Final)
#
After the php environment is deployed, some security settings are made. in addition to being familiar with various php vulnerabilities, you can also configure php. ini to reinforce the runtime environment of PHP, and PHP has been officially modified
There are two projects one is Phpcms, the other is the yii2.0 framework, the server is using Nginx, now want to put yii this project as a subdirectory directly and then accessed through the http://domain.com/subdirectory, but through the
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.