Objective:
PHP Development of beginners, strongly recommend the use of Phpstudy integration environment, on the one hand this is very useful (I installed the computer jspstudy, you can debug PHP and JSP), on the other hand, although I am a technical control, but these miscellaneous installation deployment configuration is not too want to spend too much time. have been configured individually before, not only wasted time, but also prone to problems. So, learning to study Php,phpstudy's integrated environment is your best choice.
To download the installer:
1. Open Phpstudy Official website: http://www.phpstudy.net/, click on the most recent version;
2. Open Phpstudy Latest Version page, page drop down, find:
3. Because I mainly use Java development, so with Jspstudy, click to download Jspstudy:
4. Open the downloaded file and double-click the JspStudy2016.exe file:
5. Select the installation directory:
6. When the installation is complete, a window will pop up to prevent duplicate initialization, click Yes:
7. After the installation is complete, Jspstudy automatically starts, for example, Apache,tomcat,mysql automatically starts
8. The initial use of jspstudy, there will be some network access request security alerts, such as Apache,tomcat, click "Allow access" just fine;
Deployment Access: The default PHP program is placed under Www/phproot to parse
1. Configuration complete, deploy PHP project:
Place the PHP project or file in the Phproot folder under the Jspstudy www folder;
2. Access PHP: Open the browser, access to http://localhost/phproot/, you can see the Phproot root directory files, click Test.php, you can see the contents of the PHP page;
Of course, the familiar words of direct access to http://localhost/phproot/test.php is OK;
3. If you really lazy to enter the access URL, then click on the Jspstudy interface in the lower right corner of the "other Options menu";
4. Click on the top of the Apache home page, opened the Phproot root directory, Apache home options below the Tomcat home page is the JSP access to the homepage.
Other common operations:
1. View the port number:
Above the access, and did not enter the port number, because in Jspstudy, Apache default to PHP configuration is 80 port, you can omit the non-written.
Tomcat configures the JSP port to be 8080, which must be written.
As below, look at the port number: Click "Other Options Menu" in the lower right corner of the Jspstudy interface--"Jspstudy settings"-"Port general Settings";
2. Port settings:
3. Run JSP: The default JSP program is placed at www to parse
JSP project file deployment of the root directory is the WWW folder, direct access to http://localhost:8080/can access the JSP home page;
4. Boot-run mode:
System services: The default mode of operation, when the system starts, Jspstudy will automatically start, suitable for regular use or server, do not need to start manually.
Non-service startup: Requires a manual start, suitable for occasional frequent use. The process is not started when it is not in use, thus saving the computer's resources.
Summarize:
As above, we have outlined how to quickly use Jspstudy to configure the PHP runtime environment for PHP access resolution. Phpstudy website provides detailed instructions for use, the download of the installation package also has a help document, more usage instructions, you can go to view.
Installation using Phpstudy in native configuration PHP runtime environment