note 10822 deleted from install.apache by irc-html
| From: | irc-html@php.net | Date: | Sat, 19 Jan 2002 12:23:00 +0000 |
| Subject: | note 10822 deleted from install.apache by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-25143@lists.php.net to get a copy of this message | ||
THATS THE RIGHT WAY TO INSTALL PHP, APACHE AND MYSQL
We have installed php-3_0_14, apache_1_3_9 and Mysql on Windows 98
as followed:
We've installed php-3_0_14-win32.zip in folder c:\php3
We've installed apache_1_3_9_win32.exe in folder C:\Programme\Apache
Group\Apache
We've installed mysql in folder c:\mysql
In c:\windows\php3.ini we took extension_dir = "c:\php3"
and removed ';' before extension=php3_mysql.dll
In C:\Programme\Apache Group\Apache\conf\httpd.conf we changed the values as followed:
DirectoryIndex index.html index.php3 index.php
ScriptAlias /cgi-bin/ "C:/Programme/Apache Group/Apache/cgi-bin/"
ScriptAlias /php3/ "C:/php3/"
AddType application/x-httpd-php3 .php
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3 .phtml
Action application/x-httpd-php3 "/php3/php.exe"
we changed c:\windows\hosts.sam in c:\windows\hosts
we put our examples like test.php in
C:\Programme\Apache Group\Apache\htdocs\test.php
Restart Windows
Then start 'StartApache' ("C:\Programme\Apache Group\Apache\Apache.exe"
-d "C:\Programme\Apache Group\Apache" -s)
Then start 'mysql' ( C:\mysql\bin\mysqld.exe )
In netscape-browser you can execute test.php with:
http://localhost/test.php
(you can't execute the file with
C:\Programme\Apache Group\Apache\htdocs\test.php (!!!))