Posts: 2
Location: California / Massachusetts
|
Hey all. I have a question about php. Ive looked through the php and apache documentation but I cant seem to find out why my computer is being retarded. I have Red Hat 8.0 with Apache and PhP. The defalt web directory is var/www/html/something/something/something....its pretty deep in there. phpMyAdmin is in var/www/html/phpMyAdmin. PHP works fine when I load up the regular web page in mozilla, but when I try loading the index.php for phpMyAdmin the browser just shows all the php code. This is when I run it from the machine itself. Should I be setting the default directory up a few to just var/www? If so, how would I do that? Or maybe there is an error with PHP? Not too sure, but its not terribly useful to have php code displayed in the browser. THanks in advance for your help!
|