Re: Angry, up all night newbie (re: apache config)
| From: | Sheeraz fazal | Date: | Mon, 15 Mar 2004 16:15:52 +0000 |
| Subject: | Re: Angry, up all night newbie (re: apache config) | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-23147@lists.php.net to get a copy of this message | ||
I am using latest php with apache 2 on windows
In apache2's httpd conf file i have added following text
change the directory paths according to your installation paths.
*I have installed php from zip file not from windows installer.
LoadModule php4_module c:/Dev/Php/sapi/php4apache.dll
AddType application/x-httpd-php php
Alias /php/ "C:/Dev/Projects/PHP/"
<Directory "C:/Dev/Projects/PHP/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
If you type http://localhost/php/ in web browser it will take
you to
c:/dev/projects/php/ folder
(assuming apache is running at port 80 on local machine)
It worked for me.
-Sheri.
"Rob Conklin" <robconklin@worldnet.att.net> wrote in message
news:20040315081439.33232.qmail@pb1.pair.com...
> I found the "install" text file included with the PHP for Windows download
> incomphrehensible and useless. I won't go on and on, but was wondering if
> someone can point me to some information that would explain, in a simple,
> deterministic and clear way, what steps are necessary to get Apache to
load
> the proper PHP modules and recognize the contents of .php files.
>
> I'm working with the latest version of PHP, which doesn't particularly
like
> the latest version of apache (2.0), so I downloaded and installed the 1.3x
> version of apache.
>
> All I can say is that if someone can help me with this, I'll owe 'ya one.
>
> TIA
>
> RC
>
> ps. please send email regarding this to robconklin@worldnet.att.net