We built a new server and have been moving our sites over using virtualmin backup and restore. ubuntu 12.04 to 14.04 php 5.3.10 to 5.5.9 mysql 5.5.47 for both old & new.
Most issues were minor but one site shows "Internal Server Error" on webpage when it has to do a database access. In "virtualmin->logs and reports->Apache Error Log", it has a bunch of "mod_fcgid: error reading data from FastCGI server" errors.
On virtualmin\your virtual server\server configuration\website options\, if we set "PHP script execution mode" to "Apache mod_php" it works but this says it is less secure than "FCGId (run as virtual server owner)" so we'd prefer to be able to change it back. change which We haven't had this problem with any of our other websites that use php/mysql (mostly just had to add new mysql user/password and in some cases delete local outdated copies of php.ini).
Tried changing "PHP script execution mode" to "CGI wrapper (run as virtual server owner)" setting, and the webpage error changed to:
The requested URL /cgi-bin/php5.cgi/lists/WaitList_Add_Form.php was not found on this server.
1. On our server, php5.cgi is a text file, not a folder.
2. WaitList_Add_Form.php is in subfolder "lists" of the directory that contains "reservations.html" which calls it.