This article mainly introduces the use of Phpstudy in Windows Server Deployment of PHP system, has a certain reference value, now share to everyone, the need for friends can refer to
PHP Web site generally run on the Apache server, IIS server can also run, but not recommended, Windows Server is not integrated Apache and PHP operating environment, but with the help of third-party software can be well done, generally such software has a lot,
Below I share a use Phpstudy to deploy PHP system tutorial, hope can be helpful to everyone!
One: Pre-preparation work:
1. Download Phpstudy
2. Vc9_x64.exe (must be installed)
3. Navicat (This is the MySQL database management tool, generally seems to be charged, but there is a cracked version of the Internet, but provides relatively few functions)
4. ha_serv-u6406 (FTP server side, personally think it is very useful)
5. Npp_7.3.1_installer.exe (an editor that can edit PHP files; This tool is still very powerful, and the very good front-end personnel use it enough)
II: Install the Phpstudy application
1. Phpstudy's official download address: Http://www.phpstudy.net/phpstudy/phpStudy2017.zip
The recommendation is to install FTP on the server first, how to install FTP here too much explanation, and then the preparation of the necessary software packaging to the server, such as:
2. Unzip the downloaded compressed package to D:\phpStudy, run PhpStudy.exe, general installation is complete, the operating mode default is non-system services, need to manually set, switch to System services, click the Start button, appear as:
Click the other Options menu->my homepage
The Phpstudy Welcome page appears,
Installation is successful!
3. Configuration
3.1) Adjust the parameters of PHP and MySQL
PHP parameter modified to Max_execution_time = 300
Memory_limit = 512M
Post_max_size = 50M
Upload_max_filesize = 50M
MySQL parameter modified to
key_buffer_size=512m
table_cache=512
tmp_table_size=50m
3.2) Modify the MySQL password, the original password is the default root
Open Phpstudy Settings, enter the original password and the new password, click Edit
Prompt to verify the password, enter the password in the pop-up box, the prompt indicates that the password is correct,
3.3) Open OpenSSL
4. Add a website
Click on the new station on the left and save the settings
The above is the whole content of this article, I hope that everyone's learning has helped, more relevant content please pay attention to topic.alibabacloud.com!