Installing PHP on Windows 10 is impossible--how do that many web developers exist with such poor web infrastructure?

asked 2021-11-22T22:51:07.75+00:00
mmkstarr 1 Reputation point

I really don't understand it. It's mind-boggling.

More specifically, I started (out of the millions of "guides" from a search engine search) here: https://learn.microsoft.com/en-us/iis/application-frameworks/scenario-build-a-php-website-on-iis/configuring-step-1-install-iis-and-php at 1.2
First I used the Web PI approach, but as they warned, it is confusing which modules to install. Too bad; really would be the easier way to do it...

So then I moved on to the manual approach at 1.3 of the same site.
which led me to https://learn.microsoft.com/en-us/iis/application-frameworks/install-and-configure-php-on-iis/install-and-configure-php
the configuration of the php.ini file is confusing. Also what do I use for the base dir if I have websites in multiple locations? And even so, more than one website to begin with? Oh also, there's no Php.ini-recommended file, just -development and -production. I went with the dev file, arbitrarily (as of where to make changes). i backed it up and then renamed it as instructed.

Now I'm stuck with error 0x8007010b which has no solutions from a search engine search. Is it even in the windows msdn databases?

FYI this is:
HTTP Error 500.0 - Internal Server Error
An unknown FastCGI error occurred

Any help is appreciated.

I am responsive and can answer questions too if anything needs clarification.

If this post seems rushed I apologize; I'm at wits-end as of now from battling with this for a few hours and days, respectively.

Thanks in advance.

Internet Information Services
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. answered 2021-11-23T02:23:29.103+00:00
    Bruce Zhang-MSFT 3,656 Reputation points

    Hi @mmkstarr ,

    Error 0x8007010b indicates a permission issue. You need to set the permission to php folder. I'm not sure where you put the php, but right click it and navigate to properties. Choose security tab, edit, then add IIS_IUSRS. Give it full control permission.
    151626-1.jpg

    Actually, if you follow the 1.2 to install php in Web PI, no need to do anything else. Foward to 1.4 directly or test your PHP installation. It will show you the version information of php.

    As a conclusion, the easiest step to install php is:

    1. Install IIS
    2. Install php from Web PI
    3. Use a file with content 151635-2.jpg to test the php version.

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,
    Bruce Zhang

    No comments