note 36705 added to install.apache2

From: Date: Sun, 19 Oct 2003 14:37:51 +0000
Subject: note 36705 added to install.apache2
Groups: php.notes 
Request: Send a blank email to php-notes+get-58897@lists.php.net to get a copy of this message
this worked for me, handy if you format you harddrive once a month.. change the paths to the correct paths of your installation. PHP 5 and Apache 2 on Win2k: * Stop Apache. * Extract PHP. * Make the 'tmp' map in the PHP dir * Copy all dlls in the PHP map /dll to the root PHP map * Rename php.ini-dist it to php.ini. * Edit php.ini: - change the following settings: doc_root = "E:\Programs\Apache2\htdocs" extension_dir = "e:\Programs\PHP\extensions" include_path = "e:\Programs\PHP\includes" upload_tmp_dir = "e:\Programs\PHP\tmp" error_reporting = E_ALL SMTP = mail.chello.nl session.save_path = "e:\Programs\PHP\tmp" * Edit httpd.conf: - add these lines: ScriptAlias /php/ "e:/Programs/PHP/" AddType application/x-httpd-php .php AddType application/x-httpd-php .php3 AddType application/x-httpd-php .phtml AddType application/x-httpd-php-source .phps Action application/x-httpd-php "/php/php.exe" <IfModule mod_dir.c> DirectoryIndex index.html index.php default.php main.php </IfModule> - modify: ServerSignature Off * Restart Apache. ---- Manual Page -- http://www.php.net/manual/en/install.apache2.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+36705 Delete -- http://master.php.net/manage/user-notes.php?action=delete+36705&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+36705&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#58897) next »