Windows7 system installation and configuration Nginx+PHP5 server environment

Nginx is a lightweight high-performance Http WebServer written in an event-driven manner, so compared to Apache In terms of Nginx, it is more stable, has better performance, and is simple to configure and consumes less resources. Below is my Windows 7 installation of Nginx and PHP5.3 A step of. Install PHP5 First, download the latest from http://www.php.net/downloads.php PHP 5.3 Windows version, decompress to C:\php5, rename php.ini-recommended in the compressed package to php.ini, and then open and modify several options: error_reporting = E_ALL display_errors = On extension_dir = “C:\php5\ext” ; Dynamic extension, you can remove the comment in front of extension as needed; ; If loading PDO, MySQL extension=php_pdo.dll extension=php_pdo_mysql.dll ; CGI Settings cgi.fix_pathinfo= Pay attention to dependencies when loading extensions in PHP, for example, php_exif.dll needs php_mbstring.dll, you must put php_mbstring.dll must be placed in front of php_exif.dll to load successfully. Some extensions rely on additional dll files, such as PHP 5.0+, php_mysqli.dll depends on libmysql.dll, and php_oci8.dll, you need to install Oracle 8 client. If you are not familiar with these dependencies, you can refer to the install.txt file in the installation package. The search order of dependent files: first is the directory where php.exe is located. If it…

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索