??: [PHP-WIN] Win32 Mod_PHP4
| From: | Pang Chunfeng | Date: | Tue, 08 Aug 2000 02:06:55 +0000 |
| Subject: | ??: [PHP-WIN] Win32 Mod_PHP4 | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-1614@lists.php.net to get a copy of this message | ||
Thank you for your useful explaination.
But i have not the file named php4apache.dll,
so i can't load php4 as one of Apache's Module ?
Will you kind enough to tell me where to get the file ?
Or you can send me the file via email.
>
> > could you post a detail setup process?
> > I still can't make it work after trying for a day
>
>
> hmmm, well okay. first of all make sure your apache is up and running
> without php.
> then unzip the archiv lets say to c:\php. there is a directory called
> dlls, move that dlls to your $windir\system(32) directory.
> edit your http.conf and put the follwing lins into it:
> LoadModule php4_module c:/php/sapi/php4apache.dll
> ScriptAlias /php4/ "C:/php/"
> Action application/x-httpd-php4 "/php4/php.exe"
> AddType application/x-httpd-php4 .php
> AddType application/x-httpd-php .php4
>
> now you'll have the cgi parsing the *.php files and the apache module
> parsing the *.php4 files.
> oh nearly forgot, put the php.ini into your $systemroot thats the
> directory where you installed windows.
> does it work now?
>
> greetings
> daniel