Re: Windows 2000 Professional + Apache (or IIS) + PHP 4 + mysql

From: Date: Fri, 06 Oct 2000 01:13:12 +0000
Subject: Re: Windows 2000 Professional + Apache (or IIS) + PHP 4 + mysql
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-18804@lists.php.net to get a copy of this message
Hey RT: > The real site runs with under linux in an > apache+php4+mysql system. > > In the past I've managed to install and use IIS + PHP3 > in a NT4 machine but with apache I had a problem > because I needed to change all posts and links to > php.exe (as cgi). I don't understand what you're saying here and I don't think I have to. Just read on... > - Is there a way to make apache act as IIS, calling > php parser everytime I finds a .php file (assuming > this will make things work without rewriting all > links) ? You don't need to worry about anything. Stick MySQL, PHP and Apache on there. Add something like this in your httpd.conf file: ScriptAlias /php/ "f:/z/php4/" AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php.exe" Voila! Of course, you'll have to use your paths, not my paths. > - Will sessions work with the cgi version of php4 ? Should. You'll just need to set the temporary directory properly, probalby in the php.ini file. But, don't take my word, I haven't used sessions in PHP. If you need help with MySQL on Windows, see my tutorial: http://www.analysisandsolutions.com/code/mybasic.htm Enjoy, --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y More than just answers. Solutions. (SM) http://www.analysisandsolutions.com/ 4015 7 Av #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.general (#18804) next »