note 24591 added to install.windows

From: Date: Thu, 22 Aug 2002 12:37:26 +0000
Subject: note 24591 added to install.windows
Groups: php.notes 
Request: Send a blank email to php-notes+get-35354@lists.php.net to get a copy of this message
I don't know is this gonna help anyone here, but I know it gave me some trouble. If you are installing Apache/1.3.X (my X = 24) on WinXP, you can: - install PHP to c:\program files\php (%PHPDIR%) - install Apache to c:\program files\apache group\apache (%APDIR%) and choose to run it like a service - copy php4ts.dll to %WINDIR%\system32 - copy %PHPDIR%\sapi\php4apache.dll to %APDIR%\modules - rename php.ini-optimized to php.ini (leave it in %PHPDIR%) - change %PHPDIR%\php.ini to suit your šath (ie. path for extensions) - add to %APDIR%\conf\httpd.conf: - after all other LoadModule directives (my line 194.) LoadModule php4_module modules/php4apache.dll - after all other AddModule directives (my line 242) AddModule mod_php4.c (note that every other instruction said "AddModule mod_php.c", which gave me some trouble :) - after other AddType directives (my lines 816 and 817) AddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps Restart Apache with Start/Run: net stop apache net start apache Create a file called info.php and place <?php phpinfo() ?> in it, save the file in your Apache DocumentRoot (find it in %APDIR%\conf\httpd.conf) and access the file with your browser (throught Apache, ofcourse ;) Then modify the %PHPDIR%\php.ini to suit your needs. HTH. -- http://www.php.net/manual/en/install.windows.php http://master.php.net/manage/user-notes.php?action=edit+24591 http://master.php.net/manage/user-notes.php?action=delete+24591 http://master.php.net/manage/user-notes.php?action=reject+24591

« previous php.notes (#35354) next »