|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Hi all,
I'm trying to follow the article: The Soothingly Seamless Setup of Apache, SSL, MySQL, and PHP I've run through the whole thing and was able to install (i thought) apache, php4, mysql, ssl. When I use the web browser to go to my site I get the test page for my original installation. If I run the <? php4 info ?> script it comes up as plain text in the browser. If I have a previous installation of apache is there something I'm missing during all this that prevents the 'new" installation from running? Did I need to install in the same directory or change a config file to point so the new version starts on boot up? Short of redoing the whole box I'm at a loss. Thanks, andy... |
|
#2
|
|||
|
|||
|
>> Did I need to install in the same directory
Doesn't matter so long as all the old files (except the conf file) get overwritten by the new files. You should backup your old httpd.conf somewhere before installing the new one anyway. >> or change a config file to point so the new version starts on boot up? Do not even try to start Apache on boot up if it's not properly configured. |
|
#3
|
|||
|
|||
|
Are both versions of apache binding to port 80? You might still have the old version running. Do ps -ef (or ps aux, depending on what kind of unix we're talking about) | grep httpd. Check to see if you have more than one version of apache running, or just your older installation. Only one of them can bind to port 80 at a time.
If it's the old installation that's running (/usr/apache/bin/httpd for example if you were running the default install of apache on solaris), kill apache and manually start it from it's new location (/usr/local/apache/bin/apachectl start). If it starts okay, then you can modify your startup script to point to the new locations of all the various files in it. You may want to get a bit of expert advice on that one, as I've tried to edit the startup script in the past thinking I knew what I was doing and screwed everything up. So in conclusion, check to see if your new installation of apache is actually the one running, if not kill the old one and start the new one manually to see if it works. "Redoing the whole box" is for windows. Don't give up! Dave |
|
#4
|
|||
|
|||
|
apache mysql php ssl how I did it...
Hi,
Generally I keep my mouth shut and read only... This forum is a text book. These guys have solved more problems for me than I can count, but I just did this... and everything works including (phpinfo); I worked very slowly and it took about 2 hours. How did I get it all working ?? 1) A fresh install of RedHat 6.2 keeping the information in my /home directory. For me this included the /home/httpd/html directory. Don't install apache or unistall it. You will do this later from source. 2) Update the perl 5.00.?? that comes with 6.2 to perl 5.6 via rpm. 3) Added the perl modules CPAN 1.59, libnet, LWP. 4) Download the apache toolbox from URL with the source (Yes the 53 MB one.) The toolbox installs mod_perl 1.27 and it needs the Bundle::LWP else you get an error when you select it in the toolbox menu. Toolbox will make sure all the source is in place for modules, then compile it, then install it. I used the default install location for apache to make future updates easier, but kept the RedHat doc root /home/httpd/html. This should give you everthing you need. If not the apache toolbox will yell at you and you need to add something to your install... This was a great learing experience for me...I might start compiling all sorts of apache configs just for fun. Good Luck. To Others please correct mistakes in this post. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Seamless Setup of apache, php, mysql |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|