php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11331 Parse error in php file
Submitted: 2001-06-07 12:18 UTC Modified: 2001-06-11 06:39 UTC
From: akhil_chugh at yahoo dot com Assigned:
Status: Not a bug Package: *Web Server problem
PHP Version: 4.0.5 OS: Red Hat 6.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: akhil_chugh at yahoo dot com
New email:
PHP Version: OS:

 

 [2001-06-07 12:18 UTC] 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??
 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-07 14:52 UTC] sniper@php.net
Your script is buggy.

 [2001-06-11 06:39 UTC] akhil_chugh at yahoo dot com
so how do i get rid of the problem
 i want a solution to the problem
 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC