Page 1 of 1
Changing Apache Configuration
Posted: Mon Mar 20, 2006 3:08 am
by asgerhallas
Hi,
I'm about to install a second apache-server to run php5, as described here:
http://wiki.coggeshall.org/37.html
Now I'm pretty new to linux, apache and all, and when the guide tells me to:
Step1:
Add --enable-module=proxy to your Apache ./configure command.
I have to ask... how do I do that, when the server is already installed and running?
I did not install the server, and if I have to reconfigure it or something, I must know that I'm not messing the old configuration up... how do I do that?
/Asger
reply
Posted: Mon Mar 20, 2006 12:05 pm
by ashutosh.titan
first of all if u r new to php try to load xmpp.it.s a complete installation pack.and if u find any problem running servers thn reply me.njoy php
Posted: Mon Mar 20, 2006 12:43 pm
by feyd
For those who don't read aol/mangled:
ashutosh.titan wrote:first of all if you are new to php try to load xampp. it's a complete installation pack and if you find any problem running servers then reply [to] me. enjoy php
Posted: Tue Mar 21, 2006 9:52 am
by Maugrim_The_Reaper
When did people decide to stop using correct grammer and spelling?
If you're on Windows ignore the tutorial - its for a Linux install and even then it can be overkill for a quick solution. XAMPP for Windows (or Linux) lets you switch between PHP versions. Another solution is to edit httpd.conf (the Apache config file) to use both PHP4 as CGI and PHP5 as Module. You can then create a separate directory assigned to a different localhost port from which PHP4 in CGI mode will be used. All other files in htdocs will then use PHP5.
Now if I can remember the url to a pre-existing tutorial for this...
This looks likely a candidate - you can switch around which uses the special directory and port if you wish:
http://circle.ch/blog/p1387.html
This would result in PHP4 running as module parsing files from:
http://localhost/
And using PHP5 to parse from
http://localhost:83/
Where Port 83 maps to a subdirectory of htdocs - specify the location in the config for the virtual host.
All you need is a standard Apache/PHP install, and the Windows Binaries for the second PHP version you intend using - in the tut above its PHP5.