Re: php pages appear only on server machine, not in others computers with IIS
| From: | Elias Santiago | Date: | Wed, 28 Aug 2002 03:28:47 +0000 |
| Subject: | Re: php pages appear only on server machine, not in others computers with IIS | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15544@lists.php.net to get a copy of this message | ||
I assume you are using the CGI version of PHP (php.exe). Check that
php.exe has permissions to allow the IUSR_SRVR user permission to
Read/Execute php.exe. If not you will get the famous CGI error. Also
check that in the app mappings you have the proper mapping of .php to
php.exe. Also, remember to add index.php (or main.php) as index
documents in the site properties. Remember that it is good practice to
eliminate permissions for the Everyone group (on php.exe) and only allow
Administrators, SYSTEM and of course, IUSR_SRVR. Don't allow anyone that
you don't need/expect.
nospam@bol.com.br (Saci) wrote in
news:20020826091442.5143.qmail@pb1.pair.com:
> On my develop machine , who is the where IIS server is running
> everything works perfect, all html and php pages works ok.
>
> If I try to use another computer on the same network to browse my
> pages, I receive only the html pages and the message CGI ERROR while
> trying to open a php page.
>
> What I need to do in IIS to permit others computers on my network to
> also run scripts not only my local machine?
>
> My php directory is a subdirectory of wwwroot something like this
>
> D:\Inetpub\wwwroot\sample\php
>
> IIS5