Answer the question
In order to leave comments, you need to log in
How to open php file on Prepros?
I used to work (study) with Prepros and faced the need to open php files in it in LivePreview mode.
But for some reason it downloads these files! (If you click on the php file, it will start downloading)
I opened a local server (Open Server) and took the IP from there
Then I opened Prepros and inserted the IP into its locale settings
As a result, I got a redirect, but somewhere in the wrong place
I poked and poked in Aliases, nothing I didn’t understand and didn’t help much ...
Maybe someone knows what is here, where?
Answer the question
In order to leave comments, you need to log in
Karoch, got it.
For starters, we forget about Prepros, and open our project through Open Server
. Moreover, the path to your project from the domain root can be of any length, so you don’t have to worry. As you can see, my project is not in the root.
Actually, we look at the URL of our project (which is circled in red in the picture) and enter it into the server address in Prepros. You
can set any port, but I just uncheck the auto port assignment. And I put the port that is specified in the Open Server (Settings> Miscellaneous> Where the login password is)
Voila! Enjoy Prepros with Open Server
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question