#11331 [Com]: Parse error in php file
| From: | britney-spear1252 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:05:47 +0000 |
| Subject: | #11331 [Com]: Parse error in php file | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62954@lists.php.net to get a copy of this message | ||
ID: 11331
Comment by: britney-spear1252 at hotmail dot com
Reported By: akhil_chugh at yahoo dot com
Status: Bogus
Bug Type: *Web Server problem
Operating System: Red Hat 6.2
PHP Version: 4.0.5
New Comment:
<a href=http://self-unordinary-tor.da.ru>britney
spear</a>
Previous Comments:
------------------------------------------------------------------------
[2001-06-11 06:39:51] akhil_chugh at yahoo dot com
so how do i get rid of the problem
i want a solution to the problem
------------------------------------------------------------------------
[2001-06-07 14:52:57] sniper@php.net
Your script is buggy.
------------------------------------------------------------------------
[2001-06-07 12:18:48] akhil_chugh at yahoo dot com
i tried to configure php 4.0.5 with mysql 3.23.38
i first downloaded and started the mysql server it is working fine
with any user name. i am sure of that
then i installed php 4 with the options as
./configure --with-mysql=/usr/local/mysql --with-apxs
i checked up my apache configuration and it had DSO pre confiured
the make and install of php was successfull
i restarted the apache server after addign the lines for loading the
php type as
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
but now even if a run a simple hello world php i get a error as below
the file i was runnign was
<html><head><title>PHP Test</title></head>
<body>
<?php echo "Hello World<p>"; ?>
</body>
</html>
and the error i got was of this form
hello.php: parse error, expecting `'('' on line 3
<?php echo "Hello World" <p>?>
pls suggest what can i do about it??
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=11331&edit=1