Re: Running PHP and ASP on same server.
| From: | Christoph Grottolo | Date: | Thu, 30 Jan 2003 20:08:33 +0000 |
| Subject: | Re: Running PHP and ASP on same server. | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-18251@lists.php.net to get a copy of this message | ||
FMastropasqua@masonite.com (Fred Mastropasqua) wrote:
>I have IIS 5 on Win2K.
>
>If I install PHP 4.2.3 on my system using the ISAPI DLL I can run PHP files
>just fine.
>But when I go back to my ASP pages I get:
>--------------------------
> -2147417842 (0x8001010e) error on the pages
>--------------------
Try with 4.3.0 or a recent stable snapshot from http://snaps.php.net.
There is a big chance that it works now because ISAPI is much more
stable.
>
>If I try the Php.EXE CGI method then my ASP pages work but I get:
>-------------------------
>Security Alert! The PHP CGI cannot be accessed directly.
Did you remove the ';' at the beginning of the cgi.force_redirect = 0
line?
You can find out if php works and if your ini settings are getting
read by calling php from the command line:
php -c "path-to-your-ini-file" -i (-4.2.3) or
cli\php -c "path-to-your-ini-file" -i (4.3.0+)
Christoph