![]() ![]() From where you can click the project you want to view. Which you then can access when requesting only “localhost” in your browser. And put it in your webserver root directory. Or you can make yourself a simple (don’t need to be fancy or funky, only need to be functional) start/launch index page yourself, with links to your local projects (homepages). ![]() The one being processed by his own local webserver (with PHP and MySQL support), instead of the Pinegrow internal webserver You can maybe use bookmark(s) in your browser, to select and load the homepage for the project you need to view. Randy only wanted to know if it’s possible to let Pinegrow launch the correct “preview url” for him. VSCode also has a “live Server” plugin- this is similar to the PG approach- it is a seperate server again, I am not sure of its capabilities with Strange to advice him to buy a product he really don’t need! He already got everything setup and running, he got already his own local webserver, with PHP and MySQL support working. So get the plugin, do your php coding in that, open your browser open the php file project and click “live view” at the bottom of the editor. You are trying to get PG webserver tondonsomething it cant, instead of just using your exisitng webserver, which can, and either refresh browser when you save or use a browser live reload function plugin, like VSCode editor has-which you use. So if you actually have that set up correctly, use it! Its like looking at your kitchen table from the outside of your house through 2 different windows- one sparkly and super thr other, well could do with some fixing up!Ģ windows, are web serverz, house is your Mac. WHEN YOU DELETE THE PORT 4000, YOUR BROWSER DEFAULTS TO PORT 80- and you are then viewing the funky, full blown PHP rendered version of your file on your MAC’S WEB SERVER.-you are no longer viewing via the PG internal server. Port 4000, you are viewing the PG server’s output of your file in your browser. They are BOTH viewed via “localhost” url and whatver the rest if thr URI is. This is usually on and defaults too, port 80 ![]() Your MAC is ALSO running a webserver! This is the Word version, will whatever all singing and dancing capabilities you have installed and whatever version of PHP it is running. Pinegrow runs its own server, you view its output in a browser via port 4000 or whatever - this is the texedit view, it doesnt parse PHP files and do funky PHP stuff. Your running two seperate web servers with totally different characteristics, like running text edit and MS Word to view the same textfile-and expecting the results to look identical. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |