Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Where can I get detailed info regarding how to configure and use Apache along with PHP. I have Red Hat 8.0 and have installed Apache Server and PHP thats available in the packages. Also are there any GUI tools available to configure them or do I need to edit files and if so which files are those.
MySQL is already configured and I am able to use it.
Depending on whether or not you used rpms for the install you can do the following.
If w/rpm's you can go to ftp.redhat.com or on your source cd's and install the rpm for mysql support within php. I believe it is on Disk 2, however I knows its on redhats FTP site as well.
If you compiled it yourself then you will need to recompile php and your apache binary. I'll leave and example below.
I get a blank page and when I execute http://localhost/test1.php I get the detailed info regarding PHP. Why is this so. What other configurations do I need ? Please suggest.
That worked. Thanks. Now I need to fix this issue.
I got a simple site made in PHP and MySQL and is running perfect. I have hosted it locally in Win 98 using PHPTriad. Now when I take the same to the Linux, I get the main page displayed. However when I try to login, nothing happens. I get no errors either. The login details are stored in a config.php file.
Also after a successful login, I have a script to create the tables for the application. The database has to be created beforehand or can be created through the script itself.
How do I check whether my PHP is configured for MySQL or not ?
PS. kindly note that I had installed Apache, PHP and MySQL as available in the packages from the installation disks during the setup itself. I haven't compiled them myself. MySQL is working fine, I say this because I can login to it and create databases and tables.
Thanks again. Doesn't the PHP-MySQL package get automatically installed when I have selected all MySQL and PHP components available from the installation disks or is it separately available for download.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.