KB 22092016-001 : Fixing error message: The requested URL /cgi-bin/php-fastcgi-wrapper/index.php was not found on this server.
If you get the following error when accesing to a website created by Core-Admin panel, or something similar:
The requested URL /cgi-bin/php-fastcgi-wrapper/index.php was not found on this server.
Then, it is possible that you created a website with custom option that has imported php-engine setting from other or site.com/bin directory was lost.
All releases may suffer this problem. It’s not a bug but a wrong custom configuration.
The problem is caused because, somehow, core-admin was not able to create all PHP structures needed to run this site with a different php engine.
To solve this, follow these general steps:
- Disable custom configuration and let core-admin control site.conf apache2 configuration. For that go to WebHosting management tool, then click on custom site configs, find there site affected, copy into a temporal document your custom settings (to restore them later) and disable custom configuration.
- After that, select the right php engine you want under “PHP engines” section.
- Then, enable again custom site configuration (if needed) and restore your custom settings.