About Hypertext Preprocessor. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

About Hypertext Preprocessor.

Can i run PHP on my default browser? If yes, how? If i don't how can i run it ? Please help me.

25th Oct 2020, 1:47 AM
Raju
Raju - avatar
2 Answers
+ 4
Since PHP is a server-side language, you’ll have to install PHP on your machine then you’ll have to turn it into a LAN server. Then, clients (or the server itself) can view the output of the PHP file.
25th Oct 2020, 2:56 AM
Rowsej
Rowsej - avatar
+ 1
You need to download PHP from php.net/download, add a new path environment variable and open a PHP server. You may also need to port forward your router and add an inbound rule to your firewall so people around the world can access your website.
28th Oct 2020, 11:39 AM
KygekDev
KygekDev - avatar