How to use PhpStorm to edit and debug source code on local WAMP server?
I have a local WAMP server running a project ( c:\wamp\www\myProject
). I want to edit and debug this project using PhpStorm. I thought I needed to create a project in PhpStorm and import the source code into it.
I tried using the "New Project from Existing Files ..." wizard, but I don't think I'm doing it right.
- In the wizard, I selected "Web server installed locally, source files are under its document root".
- Next page I have chosen
c:\wamp\www\myProject
for a directory to create a project. - Next page I chose
http://localhost
for a url and named itMyProjectURL
. - The next page says, "Provide the web path of the project on your server to be added to the server root url." I left this gap because my project is right at the root. And I checked the checkbox that said "Review PHP settings" which enabled the "Next" button.
- When I click Next, the next page comes up and says "Could not detect PHP installation on server
MyProjectURL
" and it gives you the option to add include paths to the server.
I don't know what to do here:
- Do I need to add add paths?
- Should I just leave the checkbox unchecked to view PHP settings?
- Am I doing everything right too using this wizard?
+3
source to share
1 answer
Check this tutorial for configuration specifics ( Integrating XAMPP with IDE ). WAMP configuration should be similar.
0
source to share