Hi. Did you know if php can run without apache or nginx?
I can say, yes.
How?
You can using the command line by the following command:
$ php -S localhost:port -t your_folder/
$ php -S 127.0.0.1:8081 -t /Users/macosx/Projects/Php/CodeIgniter3 (enter)
Source :
https://www.geeksforgeeks.org/how-to-execute-php-code-using-command-line/
Comments
Post a Comment