blank project, not running php files.
-
Hi..
it has come to my attention that php files dont get executed but instead looks "commented out".
Has this something to do with the "blank project"?as you can see on my screenshot (im no artistic hero) but you get the idea of what i mean...

best regards..
H.Meco
-
-
I ran into the same problem and the mistake I was making is to run it through the filesystem URL in the browser, i.e. C:\Laragon...
Instead, using the "localhost" path, i.e. "localhost/myapp/script.php" worked for me.
-
@Paras16699 said in blank project, not running php files.:
I ran into the same problem and the mistake I was making is to run it through the filesystem URL in the browser, i.e. C:\Laragon...
Instead, using the "localhost" path, i.e. "localhost/myapp/script.php" worked for me.
yes, but that is not a propper way of doing it.
You should never make a external linkage when you deployed your app (aspecially when you have a internal routher for your php files).
However images, css, js and so on is something else.
ive moved on to some other local dev env. so feel free to close this.