LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   fedora6 and php? (http://www.linuxquestions.org/questions/linux-server-73/fedora6-and-php-570460/)

letherby 07-18-2007 02:51 PM

fedora6 and php?
 
hiya all..

sorry if this has been covered but very new to linux.

just started to use fedora 6 i'm planing to run my own server very soon. been messing about with apache2 and mysql,php on windows xp and have everything up and running however i don't like windows find that to much control has been taken off me. so have moved over to linux. wich i do like as it reminds me of the old dos way.


all i want to do is to get php working with my fedora6 got the appache server running and seems to have php installed but when i open and index.html page with the code

<?php phpinfo?;> in it all i get is a blank page

i honestly dont know what else needs to be done.. any help

letherby

p.s i know nothing about linux at mo.. not evern commands yet.. so please bare that in mind..

Trance-formation 07-18-2007 03:03 PM

I think that should be

<?php phpinfo(); ?>

(one linux newbie to another :-)

letherby 07-18-2007 03:25 PM

lol see what i mean even got that wrong when typing it out.. but it is <?php phpinfo(); ?> in my index.html file.

letherby 07-18-2007 03:36 PM

doh!..


ok worked out what was wrong..

was saving the file as an index.html
and should have been.. index.php..

sorry..

letherby


All times are GMT -5. The time now is 07:51 AM.