Technical Discussion
  >> Windows Issues


Register (or login) on our website and you will not see this ad.


  Print Thread
Standard User cheshire_man
(knowledge is power) Thu 07-Jan-16 21:47:42
Print Post

IIS / PHP / Windows 10


[link to this post]
 
On my Windows 7 Pro systems (desktop and laptop) I do some - very - simple web work in a development environment before uploading it to the web server. I use IIS and the web code uses PHP. This has been running on Win 7 for a few years with no problem.

It worked after doing a normal free upgrade to Win 10 on my laptop. However I've now reinstalled Win 10 from the ISO and want to get IIS & PHP working again.

I tried taking the PHP files from Win 7 to Win 10; installing IIS, FastCgi as described here. However when it came to this section
Example #2 Creating IIS FastCGI process pool
the command
%windir%\system32\inetsrv\appcmd set config /section:system.webServer/fastCGI ^
/+[fullPath='c:\PHP\php-cgi.exe']
was always rejected; I removed the ^ so what I submitted was
%windir%\system32\inetsrv\appcmd set config /section:system.webServer/fastCGI/+[fullPath='c:\PHP\php-cgi.exe']
I tried it without the square brackets, still rejected, error message saying
Unknown config section system.webServer/fastCGI/+[fullPath='c:\PHP\php-cgi.exe']
or similar. I tried changing CGI to Cgi but it still gave the error.

Any thoughts on what I'm doing wrong?

And yes, I do want to continue to use IIS & PHP, it suits me.

Tony
We have more and more laws, and less and less enforcement
Standard User BatBoy
(sensei) Thu 07-Jan-16 22:04:22
Print Post

Re: IIS / PHP / Windows 10


[re: cheshire_man] [link to this post]
 
There should be a space after /fastCGI
Standard User TinyMongomery
(experienced) Thu 07-Jan-16 22:47:36
Print Post

Re: IIS / PHP / Windows 10


[re: cheshire_man] [link to this post]
 
Have you installed the CGI feature? (Programs and Features/Internet InformationWorld Wide Web Services/Application Development Features/CGI) It's not installed by default.


Register (or login) on our website and you will not see this ad.

Standard User cheshire_man
(knowledge is power) Thu 07-Jan-16 23:23:20
Print Post

Re: IIS / PHP / Windows 10


[re: BatBoy] [link to this post]
 
Bingo, thanks.

Tony
We have more and more laws, and less and less enforcement
Standard User cheshire_man
(knowledge is power) Thu 07-Jan-16 23:23:41
Print Post

Re: IIS / PHP / Windows 10


[re: TinyMongomery] [link to this post]
 
Yes, mentioned in the OP.

Tony
We have more and more laws, and less and less enforcement
  Print Thread

Jump to