LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   PHP, MySQL and Apache (https://www.linuxquestions.org/questions/linux-newbie-8/php-mysql-and-apache-15901/)

miker 03-09-2002 09:35 AM

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??:newbie:

Linuxidiot 03-27-2002 01:29 PM

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


All times are GMT -5. The time now is 11:51 PM.