![]() The file transfers properly but nothing happens after that. So I selected the PHP Remote Debug configuration I created from the toolbar (next to the run button) and then clicked on the Debug button on the toolbar. I also set the Xdebug Debug port in Settings > PHP > Debug to 9000. Next i went to Settings > PHP > Debug > Xdebug Proxy and set the following: I created a PHP Remote Debug configuration, set the server to WAMP, Ide key = jphp and selected the upload files before launch option. Now I'm dancing around with the debugging bit. ![]() I removed the PHP Script and PHPUnit configurations, created a PHP Web Application configuration, selected the upload files before launch option and it worked fine. Thanks a lot Andriy! That helped me out loads :) I've been struggling with this for almost 2 days. Guys i'll appreciate all help I could get for this. Xdebug.profiler_output_name = cachegrind.out.%t.%p Unable to attach test reporter to test framework or test framework quit unexpectedlyĪlso I made the following changes to php.ini: ![]() After selecting this I made the following changes in Deployment under Run Configuration:Īnd this time when I ran it I got the folllowing error: When I right-clicked on the root folder of the project in the Project pane and hovered over the Run item in the menu, i noticed an item called Hello World on WAMPServer. So this brings me to question 1, how can I make it run on a browser? I was hoping it would open in the browser but it just showed the following in the Run pane of PHPStorm: Next I right-clicked on hello.php and selected Run "hello.php". After that I went to Settings > PHP > Servers and set the host to "localhost", port to "8080" and debugger to "Xdebug". ![]() I set the PHP Home path to the one in wamp (C:\wamp\bin\php\php5.3.9). Next I went to Settings > PHP and created a new Interpreter (clicked on "." button and then the "+" button. Next I installed PHPStorm 3.0.1, created a new project, added a php file (index.php) and added the following code: That's to say if I go to localhost:8080 on my browser it loads up WAMPServer. So I've installed WAMPServer 2.2 and managed to get it configured to work properly. I'm a complete newbie to IntelliJ PHPStorm (big fan of IDEA though during my time with Java dev) and I'm rather new to PHP. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |