Web Hosting Talk







View Full Version : Apache Setup


Sonic Blue
11-09-2002, 04:22 AM
SO its been over 3 weeks since I started attempting to Install Apache. Have Ended up reinstalling Red Hat about once or 2 times every single day lol.

I found one tool that seemed to help me setup Apache with php, and etc.I believe it was Called ApacheToolbox. The only thing i'mnot sure is I think it was compiled with mod_perl support. This does not run Perl as a Suexec does it ?

Also have had a problem compiling MySQL. I have always had to rever to using RPM's and then copy all the header files to a specific location . it seems like ./configure .... make make install doesnt do anything. it says it does stuff but then everything is empty.gives you the messages "creating databases for first time" but nothing is there..

has anybody else has this problem?

Also having a problemwith <VirtualHost>
Apparently when i edit the httpd.conf file and then do the httpd restart it does not actually reflect any changes made to Virtual Hosts. I can delete and add them but they will not go into effect until i Manually Start and Stop (which as anybody can see in a production server) is not going to work

ho247
11-09-2002, 05:42 AM
SO its been over 3 weeks since I started attempting to Install Apache. Have Ended up reinstalling Red Hat about once or 2 times every single day lol.Are you trying to learn how to install Apache/PHP/MySQL, or do you just want to install it so that you an run websites on it?

I found one tool that seemed to help me setup Apache with php, and etc.I believe it was Called ApacheToolbox. The only thing i'mnot sure is I think it was compiled with mod_perl support. This does not run Perl as a Suexec does it?suExec isn't compiled by default, you have to activate it yourself if you want it.

Also have had a problem compiling MySQL. I have always had to rever to using RPM's and then copy all the header files to a specific location . it seems like ./configure .... make make install doesnt do anything. it says it does stuff but then everything is empty.gives you the messages "creating databases for first time" but nothing is there..

has anybody else has this problem?Take a look at this tutorial "How To Install Apache+PHP+MySQL (http://www.blazonry.com/scripting/install_apache.php)". It may be slightly olf in terms of the software versions in the command lines, but that should give you an idea on how to install it all.

Also having a problemwith <VirtualHost>
Apparently when i edit the httpd.conf file and then do the httpd restart it does not actually reflect any changes made to Virtual Hosts. I can delete and add them but they will not go into effect until i Manually Start and Stop (which as anybody can see in a production server) is not going to workAfter making any changes to the httpd.conf file, you have to manually restart Apache, this is so that it can process the config file again. Any changes that you make without restarting httpd will not take effect until you do. I understand what you mean when you say it doesn't work in a production server wherre web hosts add new clients/sites all the time. It depends how many clients you add to the server. If you add 50 small websites a day, which means Apache has to be restarted 50 times then that would not be a good idea. Instead, you would collect the data for the 50 sites, and then at the end of the day or every 6 hours, give it a restart. This way, clients will have to wait about 6 hours for their account to be activated.

Alan