PHP development environment configuration (Zend Server installation)
- 2020-03-31 20:43:11
- OfStack
< img title = BORDER = 0 ZS02 style =" BORDER - RIGHT: 0 px; BORDER - TOP: 0 px; DISPLAY: block; FLOAT: none; MARGIN - LEFT: auto; BORDER - LEFT: 0 px; MARGIN - RIGHT: auto; BORDER - BOTTOM: 0 px height = 538 "Alt = ZS02 SRC =" / / files.jb51.net/file_images/article/201004/ZS02_thumb.png "width = 710 BORDER = 0 > < img title = BORDER = 0 ZS03 style =" BORDER - RIGHT: 0 px; BORDER - TOP: 0 px; DISPLAY: block; FLOAT: none; MARGIN - LEFT: auto; BORDER - LEFT: 0 px; MARGIN - RIGHT: auto; BORDER - BOTTOM: 0 px height = 538 "Alt = ZS03 SRC =" / / files.jb51.net/file_images/article/201004/ZS03_thumb.png "width = 710 BORDER = 0 >
No changes here, just keep the default selection
Click the Browse button to change the installation directory to disk D
< img title = BORDER = 0 ZS06 style =" BORDER - RIGHT: 0 px; BORDER - TOP: 0 px; DISPLAY: block; FLOAT: none; MARGIN - LEFT: auto; BORDER - LEFT: 0 px; MARGIN - RIGHT: auto; BORDER - BOTTOM: 0 px height = 538 "Alt = ZS06 SRC =" / / files.jb51.net/file_images/article/201004/ZS06_thumb.png "width = 710 BORDER = 0 >
Change the Web Server Port to 85 to avoid conflicts with IIS
< img title = BORDER = 0 ZS08 style =" BORDER - RIGHT: 0 px; BORDER - TOP: 0 px; DISPLAY: block; FLOAT: none; MARGIN - LEFT: auto; BORDER - LEFT: 0 px; MARGIN - RIGHT: auto; BORDER - BOTTOM: 0 px height = 538 "Alt = ZS08 SRC =" / / files.jb51.net/file_images/article/201004/ZS08_thumb.png "width = 710 BORDER = 0 > < img title = BORDER = 0 ZS10 style =" BORDER - RIGHT: 0 px; BORDER - TOP: 0 px; DISPLAY: block; FLOAT: none; MARGIN - LEFT: auto; BORDER - LEFT: 0 px; MARGIN - RIGHT: auto; BORDER - BOTTOM: 0 px height = 538 "Alt = ZS10 SRC =" / / files.jb51.net/file_images/article/201004/ZS10_thumb.png "width = 710 BORDER = 0 >
Installation completed due to an error in configuration file encoding in Zend Server, changes need to be made manually.
Use notepad to open the D:\Program Files\Zend\ZendServer\etc\ zendenablerconf.xml file.
will
Nobelium?? The XML version = "1.0" encoding = "utf-8"? >
Change to
< ? The XML version = "1.0" encoding = "utf-8"? >
Open the Apache Service Monitor in the control panel (right-click the first icon in the second row of the figure)
Restart Apache (click the Restart button)
Open in a browser address / / files.jb51.net/file_images/article/201004/201042819534153196
You can also find a shortcut to the Zend Server in the start menu and open the Zend Server configuration screen for configuration
Check the agree agreement menu. Set a password for Zend Server; Remove Email notification options
Once configured, go to the Zend Server control panel
A reminder here is Server Setup > Display_errors in the Error Handling and Logging group in Directives will be commonly used in later development.
The main function is to turn on or off PHP error prompts.