LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 12-29-2003, 11:27 AM   #1
linuxtm2005
LQ Newbie
 
Registered: Dec 2003
Posts: 15

Rep: Reputation: 0
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
 
Old 12-29-2003, 12:07 PM   #2
bcarl314
Member
 
Registered: Jun 2003
Location: USA, Minnesota - Land of 10,000 lakes
Distribution: Red Hat 9, Mandrake 10
Posts: 56

Rep: Reputation: 15
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

Last edited by bcarl314; 12-29-2003 at 12:08 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache _ php +mysql rmocius@auste.e Slackware 0 03-02-2004 09:49 AM
Apache Mysql Php: mysql with php doesn't work breakerfall Linux - Networking 6 12-27-2003 08:59 PM
Apache+Mysql+php c0c0deuz Linux - Software 0 08-14-2003 02:14 PM
php-nuke with apache php mysql c0c0deuz Linux - Software 0 03-30-2003 06:23 AM
PHP, MySQL and Apache miker Linux - Newbie 1 03-27-2002 01:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration