Computer ForumsComputers  

Go Back   Computer Forums > Programmers Lounge > Programming Discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 02-19-2004, 07:01 PM   #1 (permalink)
Banned
 
Join Date: Jan 2004
Posts: 471
Default problem with PHP and Apache

i'm running Apache 1.3 with PHP 4 support and MySQL. I installed using the AppServ bundle from www.appservnetwork.com. i created some PHP sites but none of them seem to work. even the simplest such as:

<?php
phpinfo();
?>

won't work. i keep getting the error:

Parse error: parse error, unexpected T_STRING in x:\xxxxxx\xxxxx\test.php on line 1

Any help? I'm new in PHP and Web desing. thanx.
subdivizion is offline   Reply With Quote
Old 02-19-2004, 07:02 PM   #2 (permalink)
Banned
 
Join Date: Jan 2004
Posts: 471
Default

also i might add, i get this error when i visit the page from my browser http://localhost/test.php

when i open the file, i get an empty page!
subdivizion is offline   Reply With Quote
Old 02-19-2004, 08:08 PM   #3 (permalink)
Banned
 
Join Date: Jan 2004
Posts: 471
Default

never mind. i found the problem in the code. somehow Dreamweaver inserts a line that creates problems when using XHTML!
subdivizion is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:39 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0