+ 12

Is it possible to compile PHP without server? If yes How?

I have pc . how can i compile PHP.

21st Nov 2017, 8:29 AM
Anil Kumar
Anil Kumar - avatar
6 Answers
+ 6
Any one
21st Nov 2017, 9:43 AM
Anil Kumar
Anil Kumar - avatar
+ 4
You have a better option: just look for online php (like this https://rextester.com/l/php_online_compiler)
17th Mar 2019, 4:11 AM
Dejan Dozet
Dejan Dozet - avatar
+ 3
I am just starting to learn php so you will probably get a better answer but I can tell you it is possible to run php in the console as a repl. I can also say that installing and running a Web server is relatively straightforward and teaches you a lot of useful things. Good luck.
21st Nov 2017, 10:40 AM
Richard Myatt
Richard Myatt - avatar
+ 2
If You are developing Desktop Applications You can use PHPDesktop Chrome. It is usefull and ALl php scripts will work without xampp and Default database would be SQLlite.
22nd Nov 2017, 9:40 AM
Sajjad Saeed
Sajjad Saeed - avatar
+ 1
Yes. It is. Just download PHP and put it in c:\php, append c:\php to your system path in the environment variables... And call PHP -S localhost:8000 from the folder with the PHP file...
21st Nov 2017, 12:40 PM
Edrisa A. Turay
Edrisa A. Turay - avatar