Install php 8.2 with IIS on windows 11

  Рет қаралды 7,342

Artfull Coder

Artfull Coder

Күн бұрын

Пікірлер: 23
@AneVisser
@AneVisser 4 ай бұрын
This is brilliant. Thanks. Experienced a lot of frustration setting this up, until I found this video.
@artfullcoder
@artfullcoder 4 ай бұрын
Hi @anevusser, glad this video has helped you thats why i do the videos. If there is any topic you would like me to do then just let me know. Kind regards
@AneVisser
@AneVisser 4 ай бұрын
@@artfullcoder Thank you. I still have a few challenges ahead of me. I want to deploy a legacy php extension compiled in Delphi 7, so I will need a x86 version of PHP to be able to do that. I'll follow the same instructions and see where that gets me. Also need to host from a W11 Virtual Box.
@artfullcoder
@artfullcoder 4 ай бұрын
@anevisser no probs, ive worked with custom php extensions. You add the extension into the bin / extensions directory and reference in your php.ini file. You will need to make sure your php extension is compatible with the version of php you are running you can find all windows php versions at windows.php.net
@AneVisser
@AneVisser 4 ай бұрын
@@artfullcoder I managed to install php 8.3.10 x 86 successfully on W11. You will need to install a Visual C++ Redistributable (x86) though. VC++ 2015-2022 14.40.33810 is what I used.
@artfullcoder
@artfullcoder 4 ай бұрын
Thats brilliant, glad you got sorted
@orsonbaruc
@orsonbaruc 9 ай бұрын
I don't normally comment on any videos on KZbin, but your instructions on this topic really helped me a lot. I'm trying to learn php and other things and I didn't want to resort to xampp. Thank you very much.
@artfullcoder
@artfullcoder 9 ай бұрын
Hi, thank you so much for your comment, hope this video helps you in your quest as a software engineer. Ive used this type of pairing, that iis and php in production envirnoment. There are lots of pluses for using this type of setup. Depending on what you are trying to build you may need to tweak some of the timeout settings in both iis and php to your desired level. But thank you again for such kind words, i do have another older videos that are not on here that show crud php jquery application from beginning to end so may put this on my channel or create dedicated php playlist.
@Reelix
@Reelix 7 ай бұрын
For those that can't see "FastCGI" in the IIS menu, Windows+R -> "optionalfeatures" -> Internet Information Services -> World Wide Web Services -> Application Development Features -> Tick "CGI" -> "OK" -> Close & Re-open IIS
@robeeeeen
@robeeeeen 8 ай бұрын
Thank you so much for such an easy description.
@artfullcoder
@artfullcoder 8 ай бұрын
Thankyou robeeeeen glad you found the video helpful and useful
@robeeeeen
@robeeeeen 8 ай бұрын
@@artfullcoder Thanks, I could not find the FastCGI anymore in Windows 11. Is it discontinued?
@artfullcoder
@artfullcoder 8 ай бұрын
Hi, yeah, you need to make sure that CGI is turned on via "turn windows features on or off" and the windows fastcgi appears at server level in IIS not site level. From there you can configure PHP. Its under "Internet Information Services" > "World Wide Web Services" > "Application Development Features" make sure "CGI", "ISAPI Extensions" and "ISAPI Filters" are ticked
@thesupremepizza6893
@thesupremepizza6893 10 ай бұрын
Hi, i did these steps but i've come across the issue http error 500.19. It's says it's because of a duplicate collection entry of type "PHP" with key attribute name set to PHP. I've been into the application.config file and removed it, then when that didn't work restored it and removed it from the web.config file instead, and that still doesn't work, just coming up with the error where it tries to run the PHP as a static file.
@artfullcoder
@artfullcoder 10 ай бұрын
Hiya, have you tried creating a blank php file in your project and see if you still get the same error
@eriksanchez3218
@eriksanchez3218 9 ай бұрын
Hello, do you have a tutorial on how to configure IIS to follow this same tutorial, thank you!
@artfullcoder
@artfullcoder 9 ай бұрын
Yes, i have a video that shows you how to install iis on windows 11, if you goto my channel its on there
@ehtishamnaveed1639
@ehtishamnaveed1639 Жыл бұрын
I did the eaxt steps, but i still can not run my host my php project. all html projects work fine
@artfullcoder
@artfullcoder Жыл бұрын
Thanks for reaching out, have you followed the steps in this video, you will also need to make sure cgi and isapi support is also enabled, there could also be a permissions issue if you are running on c drive depending how you have your laptop setup, have you also added index.php as a default document within iis?
@ehtishamnaveed1639
@ehtishamnaveed1639 Жыл бұрын
@@artfullcoder Yes i have installed the cgi and isapi , i dont know about the file permission, i am getting this error, "500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed."
@artfullcoder
@artfullcoder Жыл бұрын
@@ehtishamnaveed1639 hi, thanks for your reply, usually thats caused by an error in your code, try creating a blank index.php file with no php code in and see if you get the same problem. Also check windows event viewer to see what errors you are getting as by default any errors are sent to windows event viewer, also check that you have php.ini file and settings are correct e.g are you trying to use a feature of php that isnt enabled like curl for example. Also check your php version to make sure its compatible with iis
@bernpaul9868
@bernpaul9868 10 ай бұрын
I think before doing this make sure you have your IIS set up already on your windows machine im looking forward if its possible to use this without buying any domain or hosting and people can see my web site hehehe
@artfullcoder
@artfullcoder 10 ай бұрын
Hi @bernpaul9868, thanks for your comment. You do indeed need IIS preconfigured. In response to about hosting this so people can access it without hosting or domain name there is a service called noip.com or along those lines and you simply install the client where you have IIS installed and you get a free website address. I have hosted my own servers, with this option you need a domain name, a static ip address from your ISP and you point the website address to your static IP and configure port forwarding on your modem / router. This is something i have done before and worked well for me. There are pros and cons of these different options but hope this helps you in your goal.
PHP - How to Install PHP on IIS in Windows 11 - Step-by-Step Guide
9:44
Dino's Tech World
Рет қаралды 1,7 М.
NEVER install these programs on your PC... EVER!!!
19:26
JayzTwoCents
Рет қаралды 4,8 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
How to install PHP in windows with mysql and IIs server
16:28
plc software
Рет қаралды 6 М.
100% Disk Usage in Windows 10 Tips
13:26
CyberCPU Tech
Рет қаралды 1,2 МЛН
Configurar un servidor web PHP con IIS
21:36
Erick de la Huerta Valdepeñas
Рет қаралды 21 М.
Making Simple Windows Driver in C
7:26
Nir Lichtman
Рет қаралды 372 М.
Easily fix broken Windows files now with System File Checker
14:55
CyberCPU Tech
Рет қаралды 868 М.
New Windows Tool and MicroWin 5 Minute Install
13:22
Chris Titus Tech
Рет қаралды 296 М.
Laravel Installation on IIS 10 in Windows Server 2016
16:54
Techies365
Рет қаралды 27 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН