Re: !Do not laugh!! >> PHP not working on my Linux server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




>>> jnichel@xxxxxxxxxx 11/10/03 11:28AM >>>
Dali Islam wrote:
> I have PHP and mysql on the system. When I ran rpm -q
> 'php' and 'mysql' and I get output that both of them
> are there. But if I open a webpage that has php code
> that does not work right. I see the php code display
> on the page. For instaence: <? echo "<p> Order
> processed."; ?> by the book if the php works it should
> display only Order Processed.
> 
> What are the things I can do to fix or find what I
> missed to configure to make the php works?
> 
> Any advise is appreciate!
> 
> Thanks
> Dali

Make sure that the myfile.php file is in the document root of your web server (apache-this may be /var/www/html). Do not just open it with a browser, it has to be served up by your web server before the php code will be executed by apache. Try http://localhost/myfile.php

Steve

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe 
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux