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" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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 [EMAIL PROTECTED]

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to