PHP Interpreter stopped working after configuring deployment!

Hello,

I installed the PHP "CLI" interpreter.  After editing an php or html file, I'd click the Chrome icon (upper right of page being edited) and the php or html file would open in the chrome browser just fine.  In the address bar there was a port number being used.

It came time to configure for deployment, so I configured deployment.  Now, after I edit an php or html file and click the Chrome icon, instead of opening the newly edited php or html file in Chrome, it would go to my website and open that web page in Chrome, which of course did not have my changes.

When I click the Chrome icon, I don't want to deploy the php or html file (which isn't being deployed) nor do I want to open that page on my web site.  I want to open the newly edited page in Chrome with the PHP "CLI" interpreter like it did before I configured deployment.

What do I need to do to get this working again?

Thanks

0
2 comments

Hi there,

IDE takes URL to use for "Open in Browser" or alike actions from project's default deployment entry -- "Settings/Preferences  Build, Execution, Deployment  Deployment".

2 main options:

1) Just make that your current entry as "not default" (uncheck appropriate option)

2) Create new deployment entry ("In place" type -- so no file transfer will be done at all) that would point to built-in web server (localhost:63342/PROJECT_NAME -- that kind of URL) and make it as default for this project.

 

0
Avatar
Permanently deleted user

Hello Andriy,

Thanks, making it NOT the default (option 1) did the trick.

Again, thanks.

0

Please sign in to leave a comment.