Re: Apache to IIS
| From: | JC Botha | Date: | Mon, 19 Jun 2006 12:53:42 +0000 |
| Subject: | Re: Apache to IIS | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-27035@lists.php.net to get a copy of this message | ||
Wow thanks alot! Much appreciated
Greetings
On 6/19/06, Dale D. Attree <Dale.Attree@inspml.co.za> wrote:
WALK THROUGH 1) Install IIS via the Control Panel -> Add Windows Components 2) Download PHP Installer from www.php.net 3) Backup existing php.ini file 4) Run PHP Installer 5) Open Internet Services Manager via the Control Panel under Administrative Tools 6) Right click on the server name, and select Properties 7) Set your home directory (root directory) 8) Configure your php.ini file to suit your requirements 9) Restart IIS If you require extensions, download the PHP zip file and copy the ext directory to the PHP directory created by the installer. IMPACT ON CODE WHEN CONVERTING FROM APACHE TO IIS Certain elements of the global array $_SERVER do not exist when using IIS.. Those that I have found so far:1) $_SERVER['PHP_AUTH_USER']2) $_SERVER['DOCUMENT_ROOT']Hope this helps. Cheers, Dale -----Original Message----- From: JC Botha [mailto:odegos@gmail.com] Sent: Monday, June 19, 2006 1:59 PM To: Alf Stockton Cc: Mikael Grön; php-windows@lists.php.net Subject: Re: [PHP-WIN] Apache to IIS Lol, like that! Jip I think that many find our selves in that spot. If I had done an instllation like that before I would have given you some help. unfortunately I have only Linux servers. All the best. It would be nice if you could post an answer of how you did it. Will make life a bit easier for all of us if we ever need it. Greetings On 6/19/06, Alf Stockton <alf@stockton.co.za> wrote: JC Botha wrote:Personaly I see this as a back step to go from Apache to IIS! If youdon't have a solid reason then I would discourage it. Should be asimple task too my mind.Oh I cannot argue with your "back step to go from Apache to IIS" but do remember that the man who holds the gold makes the rules and my customer is convinced the MS rules.....:-( -- Regards,Alf Stockton www.stockton.co.zaThe naked truth of it is, I have no shirt.-- William Shakespeare, "Love's Labour's Lost"My email disclaimer is available at www.stockton.co.za/disclaimer.htmlOn 6/19/06, * Alf Stockton* <alf@stockton.co.za<mailto:alf@stockton.co.za>> wrote:Mikael Grön wroteI have. No major implications. As long as PHP is correctly configured, along with MySQL and other, everything should be fine. Mike Dale D. Attree skrev:Hi all,I need to move from Apache to IIS.Has anyone done this conversion on what was the impact on yourcode?theDoes this imply a php.ini reconfiguration or just make it equal toone with Apache?--Regards,http://www.stockton.co.za>Alf Stockton www.stockton.co.za <You will engage in a profitable business activity.My email disclaimer is available atwww.stockton.co.za/disclaimer.html<http://www.stockton.co.za/disclaimer.html>--PHP Windows Mailing List ( http://www.php.net/)To unsubscribe, visit: http://www.php.net/unsub.php