I wrote a test file named phpinfo.php which path in CentOS is /var/www/html/phpinfo.php. There is no browser, is there a way to run the file and see the output?
I wrote a test file named phpinfo.php which path in CentOS is /var/www/html/phpinfo.php .
Share
Yes.
The first runs the script from commandline, the second fetches it from the webserver (this assumes you’ve configured it correctly)