Asked by:
WebMatrix: site url doesn't work (localhost:1234)

Question
-
User-1708407918 posted
Good evening to all,
I received this error when I need to display a php file in my site created in WebMatrix: "The requested page can not be served due to the extensions configuration. If the page is a script, add a manager. If the file needs to be downloaded, add a MIME (Multipurpose Internet Mail Extensions) map". Is there a way trough I can solve it?
If I open the php file in localhost:80 (IIS Express server) the file is compiled and I can see the site. Thanks.
Wednesday, January 23, 2019 9:09 PM
All replies
-
User-848649084 posted
Hi alvatorericcardi,
Firstly check that you enable CGI feature setting or not?
Check that php handler mapping is available or not:
Install PHP by using Web Pletform installer:
1. Open web platform installer window,click products.
2. Click frameworks,and select current version of PHP.
3. Click install.
4. Click I Accept. Web PI installs the PHP packages.
5. Click Finish.Regards,
Jalpa.
Thursday, January 24, 2019 1:54 AM -
User-1708407918 posted
Hi Jalpa,
where I can find the first check (add roles and features wizard) in my pc?
Thanks.
Thursday, January 24, 2019 7:30 AM -
User-848649084 posted
which version of OS you are using?
Thursday, January 24, 2019 7:32 AM -
User-1708407918 posted
Windows 10.
Anyway, the second and third check are ok. I installed php 7.2 for IIS Express and I enabled the fastcgi module in the IIS Manager.
Thursday, January 24, 2019 7:39 AM -
User-848649084 posted
Open control panel and select->Programs and Features->Turn windows feature on and off
Thursday, January 24, 2019 7:45 AM -
User-1708407918 posted
Ok, I selected the voice that you indicated, so I can say that I have done all you said but nothing, it doesn't work.
Thursday, January 24, 2019 7:50 AM -
User-848649084 posted
You could try to use an alternative like VS Code.
Reference:
Thursday, January 24, 2019 8:00 AM -
User-1708407918 posted
So, is WebMatrix no longer supported?Thursday, January 24, 2019 12:44 PM -
User-162856161 posted
Yes, that's correct
https://forums.iis.net/t/1233133.aspx?VS+Code+and+WebMatrix+no+longer+in+development+
Thursday, January 24, 2019 3:16 PM -
User1166111288 posted
So we can't even install dependencies? But why? Is the HDD space so expensive. I will pay you, if Microsoft has no money?
Monday, April 15, 2019 10:22 AM