How I can create PHP environment | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How I can create PHP environment

14th Apr 2020, 4:34 PM
Lakhan
Lakhan - avatar
2 Answers
+ 1
Ok
19th Apr 2020, 6:47 AM
Lakhan
Lakhan - avatar
0
PHP runs server side, so the easiest way would be to have a server (or virtual machine setup as a web host) to upload your files to and execute them. I can recommend installing Virtual box which is free and importing Ubuntu, Google how to install Apache and PHP on it and then drop your files into the Apache file directory and use 127.0.0.1 on the web browser (this is a loopback address that acts like you are connecting to a web server)
15th Apr 2020, 8:36 PM
Peter West