LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   apache , php , mysql (https://www.linuxquestions.org/questions/red-hat-31/apache-php-mysql-129796/)

linuxtm2005 12-29-2003 11:27 AM

apache , php , mysql
 
hy people i have installed linux red hat 9.0 full instalation
the apache , php and mysql are installed from the original cd's
can someonte tell me now in wich directories i got to put the web pagges to see them in
http://localhost
and another question
how can i ferify if my php and mysql it's working
i want to make a web page in php with phpBB forum on it
tanks for the help
by people

P>S> i'm waiting for your postes:Pengy:

bcarl314 12-29-2003 12:07 PM

Well, I'll try here.

Apache will serve files from the documentRoot directory as defined in the httpd.conf file.

Usually this is /usr/local/www

to test php, you can make a file named phpTest.php which contains the following...

Code:

<?php
php_info();
?>

and save this file in the /usr/local/www/ directory

Access this file via a browser (http://localhost/phpTest.php) and you'll see all your php config info.

To test mysql drop down to the command line and type
$> mysql


All times are GMT -5. The time now is 06:57 AM.