WebMatrix: site url doesn't work (localhost:1234)
Last post Jan 24, 2019 03:16 PM by ChrisSfanos
Jan 23, 2019 09:09 PM|salvatorericcardi|LINK
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.
Jan 24, 2019 01:54 AM|Jalpa Panchal|LINK
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.
Jan 24, 2019 07:30 AM|salvatorericcardi|LINK
where I can find the first check (add roles and features wizard) in my pc?
Jan 24, 2019 07:32 AM|Jalpa Panchal|LINK
which version of OS you are using?
Jan 24, 2019 07:39 AM|salvatorericcardi|LINK
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.
Jan 24, 2019 07:45 AM|Jalpa Panchal|LINK
Open control panel and select->Programs and Features->Turn windows feature on and off
Jan 24, 2019 07:50 AM|salvatorericcardi|LINK
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.
Jan 24, 2019 08:00 AM|Jalpa Panchal|LINK
You could try to use an alternative like VS Code.
WebMatrix product support ends on November 1st, 2017
Jan 24, 2019 12:44 PM|salvatorericcardi|LINK
Jan 24, 2019 03:16 PM|ChrisSfanos|LINK
Yes, that's correct