Re: How do I check a php3 file.
| From: | David Robley | Date: | Wed, 21 Mar 2001 00:46:21 +0000 |
| Subject: | Re: How do I check a php3 file. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44853@lists.php.net to get a copy of this message | ||
On Wed, 21 Mar 2001 06:33, Bill Mitcheson wrote:
> I was wondering if there was a way to check output and syntax of a php3
> file while in UNIX similar to perl: perl [file].
>
> Bill Mitcheson (Network Admin, Pyramus Online).
You would need to compile PHP as cgi (if not already done) then you can do
/path/to/php.cgi [file]
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA