LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-09-2002, 10:35 AM   #1
miker
LQ Newbie
 
Registered: Feb 2002
Location: Coppell, Texas
Distribution: RedHat 7.2
Posts: 5

Rep: Reputation: 0
PHP, MySQL and Apache


I'm trying to access the MySQL database throgh the web using PHP and the Apache web server. I've successfully installed MySQL, Apache, and PHP on RH Linux 7.2. I can reach the Apache "test page" from my web browser but any imbeded PHP code in the web page is ignored. I read that Apache has to be "PHP" enabled, but I've been unable to find out how that is accomplished. There are several "LoadModule" statements in Apache's "httpd.conf" file but they are preceded with <If ......> statements. How can I tell if a particular "LoadModule" gets executed? I've read several books and web tutorials on this subject but none seem to work exactly like these articles describe. (./configure's fail, make's don't complete, etc.)
Does anyone have a quick/fool proof process to configure PHP, Apache, and MySQL to work together??
 
Old 03-27-2002, 02:29 PM   #2
Linuxidiot
Member
 
Registered: Feb 2002
Location: Dallas, Tx
Distribution: RedHat 8.0
Posts: 70

Rep: Reputation: 15
I just edited the index.html to read index.php and the embedded php code worked for me in both windows and in linux give that a try
 
  


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
Mysql, apache and php apffal Linux - Software 1 08-12-2004 05:24 PM
apache _ php +mysql rmocius@auste.e Slackware 0 03-02-2004 10:49 AM
Apache Mysql Php: mysql with php doesn't work breakerfall Linux - Networking 6 12-27-2003 09:59 PM
Apache+Mysql+php c0c0deuz Linux - Software 0 08-14-2003 03:14 PM
php-nuke with apache php mysql c0c0deuz Linux - Software 0 03-30-2003 07:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:54 PM.

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