E
E
Emil Chapchakchi2020-07-25 21:03:31
PHP
Emil Chapchakchi, 2020-07-25 21:03:31

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! 5f1c739a011de778126649.jpeg(If you click on the php file, it will start downloading)
I opened a local server (Open Server) and took the IP from there 5f1c728d16cdb964213091.jpeg
Then I opened Prepros and inserted the IP into its locale settings 5f1c72ca31674085380747.jpeg
As a result, I got a redirect, but somewhere in the wrong place 5f1c732c4edee569204108.jpeg
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

1 answer(s)
E
Emil Chapchakchi, 2020-07-27
@emilchap

Karoch, got it.
For starters, we forget about Prepros, and open our project through Open Server
5f1e719418596114082608.png
. 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.
5f1e71fc38e00408943692.png
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
5f1e72ac0a6b1115311225.png
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)
5f1e73cc18ec1443712872.png
Voila! Enjoy Prepros with Open Server
5f1e745a95db2075169809.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question