Home>Article>Backend Development> Summary of PhpStrom and wamp issues
This article brings you a summary of PhpStrom and wamp problems. Friends in need can refer to
for PhpStrom and wamp problem summary, which can be updated at any time during daily development:
Open http://idea.lanyus.com/ to get the code and activate the interface switch Go toActivation Code and enter the code.This license xxxxxxxxxx has been canceled.Need toadd "0.0.0.0 account.jetbrains.com" to hosts file. (C:\Windows\System32\drivers\etc)
Solution:
file -> Settings -> Languages & Frameworks -> PHP, add the project php website path (the www path in wamp, the default is in the root directory, Can be modified)
1.3. Error when PHP is run: 404 Not Found (only for first time use)
Solution:
file -> Settings -> Build,Execution,Deployment -> Deployment, add the following Configuration information
##2 can be whatever you want Fill in, 5 is the www path in wamp, which is in the root directory by default and can be modified. Fill in the others as shown in the picture
2.1. Modify the default www path
installation directory \scripts\config.inc.php. Open the editing tool and modify the $wwwDir content, for example:
2, modify apach
Installation directory\bin\apache\apache2.4.27\conf\httpd.conf Open the editing tool, modify the path behind DocumentRoot, and search and modify globally. As shown below, two places need to be modified:
##If it prompts Not Found when running, you need to change httpd Comment out Include conf/extra/httpd-vhosts.conf in .conf and add # in front of it.
Do not include Chinese characters in the path, otherwise the service cannot be started. When modifying, it is recommended to close wamp or restart after modification.
Detailed explanation of some phpstrom shortcut keys
The above is the detailed content of Summary of PhpStrom and wamp issues. For more information, please follow other related articles on the PHP Chinese website!