RE: [PHP-INST] What's a "Parse error"?
| From: | Michael Richardson | Date: | Mon, 12 Mar 2001 17:24:44 +0000 |
| Subject: | RE: [PHP-INST] What's a "Parse error"? | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-2342@lists.php.net to get a copy of this message | ||
Mr. Wise:
Most likely, you do not have the short tags ( <? ?> ) enabled.
Try running this again with the tags like this:
<?php echo "And from PHP, 2\n"; ?>
also, please respond with the version of PHP you are running, the server you
are running it with, and the OS they are installed on.
phpZEN
Michael Richardson
-----Original Message-----
From: Michael J Wise [mailto:mjwise@kapu.net]
Sent: Sunday, March 11, 2001 5:33 PM
To: Marc Clerc
Cc: php-install@lists.php.net
Subject: Re: [PHP-INST] What's a "Parse error"?
Marc Clerc wrote:
> Try that.
Same same.
" Parse error: parse error in /.../mjwise/.../test.php on line 10
And from the system.log,
" [Sun Mar 11 15:28:14 2001] [error] PHP Parse error: parse error in
/.../mjwise/.../test.php on line 10
" /.../mjwise/.../test.php(10) : Parse error - parse error
The whole file is:
<HTML>
<HEAD>
<TITLE>PHP 4 Test</TITLE>
</HEAD>
<BODY BGCOLOR="#ffffff">
Hello, world.
<? echo("And from PHP, 2\n"); ?>
</BODY>
</HTML>
Aloha mai Nai`a!
--
"Please have your Internet License http://kapu.net/~mjwise/
and Usenet Registration handy..."
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
For additional commands, e-mail: php-install-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net