How to run php file from Cli (Linux Terminal) vs from a Web Browser (Apache Server)
ฝัง
- เผยแพร่เมื่อ 17 ก.ย. 2024
- How to run php using linex terminal vs running from a web browser (apache web server).
identifying mode of running php file whether it is run from terminal or a web server.
Putting php file at different location to run from cli. however file should be in web server's document root in order to run it from browser.
OS Used : ubuntu 20.04
#apache #php #cli #linux #terminal #webserver #ubuntu20