Apache 2.0.40/PHP 4.2.2 Win2000 Help

From: Date: Fri, 30 Aug 2002 00:56:31 +0000
Subject: Apache 2.0.40/PHP 4.2.2 Win2000 Help
Groups: php.install 
Request: Send a blank email to php-install+get-8262@lists.php.net to get a copy of this message
Help! I'm new to PHP/Apache/MySQL. I've tried everything and can't seem to get it done. done the following: 1.copied php4ts.dll to C:\WINNT\System32 and php.ini to C:\WINNT 2. Added to following to httpd.conf ScriptAlias /php/ "c:/php" AddType application/x-httpd-php .php AddType application/x-httpd-php .phtml Action application/x-httpd-php "/php/php.exe" 3. create phpinfo.php in htdocs directory with the following script: <?php phpinfo(); ?> if i try to browse (IE6) an oridnary html file (http://localhost/test.htm) the page displays correctly. but when i try http://localhost/phpinfo.php i get a "The page cannot be found" error. If i re-install everything, i see <?php phpinfo(); ?> in my browser instead of the output of phpinfo(). i tried adding the ff: to the httpd.conf file AddModule mod_php4.c LoadModule php4_module "c:/php/sapi/php4apache2.dll" AddType application/x-httpd-php .php AddType application/x-httpd-php .phtml but Apache wont start. do i need to associate .php files to php.exe or to IE? what other things do i need to do? i would prefer running php in server mode as recommend by the PHP Help File. Thanks and more power! Weng Pangan

« previous php.install (#8262) next »