Page 1 of 1

PHP parser fails

Posted: Mon Nov 01, 2004 2:13 pm
by rupertburks
I get the source code displayed when I execute a php script. For example I created a php page: <? phpinfo(); ?> and save it as phpinfo.php. The results is I see the source code <? phpinfo(); ?>

Does anyone have a clue as to why the parser is not working?

Many thanks in advance
Rupert Burks
Burks801@Mindspring.Com

Posted: Mon Nov 01, 2004 2:24 pm
by andre_c
did it ever work before?
It sounds like an apache configuration issue, if you're using apache.

Posted: Mon Nov 01, 2004 2:47 pm
by rupertburks
Yes I am using Apache. This is the initial setup of PHP, Mysql , and Apache.
I can load tables in MySql and Apache appears to work too.

Posted: Mon Nov 01, 2004 3:31 pm
by andre_c
Did you follow all of the installation instructions petaining your version of Apache and PHP and your OS in php.net?
What OS are you using?

Posted: Mon Nov 01, 2004 5:47 pm
by rupertburks
Windows XP Service Pack 2

Yes I followed all of the instructions. Only PHP appears to not be working.

Thanks,
Rupert Burks
Burks801@Mindspring.Com

Posted: Tue Nov 02, 2004 6:13 pm
by Ashabbir
Hye I was wondering you know how to connect to Oracle 9i using PHP script?
Any help will be appreciated

Posted: Tue Nov 02, 2004 6:54 pm
by John Cartwright
This is the second thread you've hijacked. :evil:

Posted: Mon Nov 08, 2004 3:06 am
by rehfeld
try this


<?php phpinfo(); ?>


if it works, you have short tags set to off in your php.ini

(cant use <?, must use <?php )

Posted: Mon Nov 08, 2004 3:14 am
by AnarKy
IF that didnt work then,
its almost certainly php not set up properly with apache.
:cry: