How to specify a Run Configuration to DEPLOY and RUN on LOCAL Web Server supporting PHP (like apache)
STEP 1: DEPLOYING : Assumes you have previously setup PHPStorm with local web server installed
|
STEP2: Option 1 running Manually
|
|||
STEP2: Option 2 running using Run ConfigurationNext, go to Run->Edit Configurations & select + to add a new configuration and select PHP Web Applicationspecial note: Make sure that PHPStorm is the only JetBrains IDE up (sometimes there can be a conflict with ports) and that you have your Apache server running and listening on port 80
Here is the results--it pops up the browser and runs the code
|
|||
STEP2: Option 3 running in Debug mode --this assumes you are using the XDebug tool that comes downloaded as part of AMPPSspecial note: Make sure that PHPStorm is the only JetBrains IDE up (sometimes there can be a conflict with ports) and that you have your Apache server running and listening on port 80
SPECIAL NOTE: Once you set this up for a browser it means it will run it in debug mode always even if you choose option 2 above
|