Writing scripts that don't run on the web
| From: | Tom Harris | Date: | Thu, 21 Dec 2000 20:36:00 +0000 |
| Subject: | Writing scripts that don't run on the web | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-31464@lists.php.net to get a copy of this message | ||
This is probably a dumb question.
I've been told it's possible to write a php script that can be run from the
shell like a perl script. You just have to have the first line point to
where php is installed. Now I've installed PHP as an apache module on a Red
Hat 6.2 box. Is it still possible to run php scripts from the shell, if so
what would be the most likely place its installed. I have this horrible
feeling I'm going to have to re-install php in CGI mode (given the disaster
the install as module was I really don't want to try uninstall the module
and then install php in cgi mode).