Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.
Moderator: General Moderators
rupertburks
Forum Newbie
Posts: 3 Joined: Mon Nov 01, 2004 1:43 pm
Post
by rupertburks » Mon Nov 01, 2004 2:13 pm
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
andre_c
Forum Contributor
Posts: 412 Joined: Sun Feb 29, 2004 6:49 pm
Location: Salt Lake City, Utah
Post
by andre_c » Mon Nov 01, 2004 2:24 pm
did it ever work before?
It sounds like an apache configuration issue, if you're using apache.
rupertburks
Forum Newbie
Posts: 3 Joined: Mon Nov 01, 2004 1:43 pm
Post
by rupertburks » Mon Nov 01, 2004 2:47 pm
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.
andre_c
Forum Contributor
Posts: 412 Joined: Sun Feb 29, 2004 6:49 pm
Location: Salt Lake City, Utah
Post
by andre_c » Mon Nov 01, 2004 3:31 pm
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?
rupertburks
Forum Newbie
Posts: 3 Joined: Mon Nov 01, 2004 1:43 pm
Post
by rupertburks » Mon Nov 01, 2004 5:47 pm
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
Ashabbir
Forum Newbie
Posts: 6 Joined: Mon Nov 01, 2004 2:47 pm
Location: UK
Post
by Ashabbir » Tue Nov 02, 2004 6:13 pm
Hye I was wondering you know how to connect to Oracle 9i using PHP script?
Any help will be appreciated
rehfeld
Forum Regular
Posts: 741 Joined: Mon Oct 18, 2004 8:14 pm
Post
by rehfeld » Mon Nov 08, 2004 3:06 am
try this
<?php phpinfo(); ?>
if it works, you have short tags set to off in your php.ini
(cant use <?, must use <?php )
AnarKy
Forum Contributor
Posts: 119 Joined: Tue Nov 02, 2004 1:49 am
Location: South Africa
Post
by AnarKy » Mon Nov 08, 2004 3:14 am
IF that didnt work then,
its almost certainly php not set up properly with apache.