Virtualmin on Debian 7 : PHP code not interpreted using FCGId

3 posts / 0 new
Last post
#1 Tue, 04/15/2014 - 23:43
ColinB

Virtualmin on Debian 7 : PHP code not interpreted using FCGId

Hi all I am using Virtualmin Pro and in the process of upgrading my OS from Debian 6 to Debian 7 and I have built a temp server to test in.

I have found after the new setup when I take a backup form my prod (Debain 6) system and apply this to my Test Debian 7) system the php site does not display and downloads the source while running under FCGId (run as virtual server owner)

I have read a similar issue here and I have followed those directions to only find I can get the site to run is under Apache mod_php (run as Apache's user)

Would someone be able to assist me with how to rectify this issue? my Debain 6 setup works great and has been flawless.

Kindest Regards Colin

Wed, 04/16/2014 - 09:20
andreychek

Howdy,

If you go into System Settings -> Re-Check Config, does that detect any errors?

There are some issues that can cause what you're describing that the Re-Check Config can detect.

-Eric

Wed, 04/16/2014 - 18:52
ColinB

Hi

Thanks for your feedback, the config tested fine ( see Below)

In my research I did find this http://www.virtualmin.com/node/25539 which appears to have solved my immediate issue.

I am still working through the other areas as not all sites are operating as expected.

Thanks Again Colin

" BIND DNS server is installed, and the system is configured to use it.

Mail server Postfix is installed and configured.

Postfix can support per-domain outgoing IP addresses, but is not currently configured to do so. This can be setup in the Postfix Mailserver module.

Apache is installed.

The following PHP versions are available : 5.4.4 (/usr/bin/php5-cgi)

Webalizer is installed.

Apache is configured to host SSL websites.

MySQL is installed and running.

ProFTPd is installed.

Logrotate is installed.

SpamAssassin and Procmail are installed and configured for use.

ClamAV is installed and assumed to be running.

The System and Server Status module is installed and checking on schedule.

Plugin DAV Login is installed OK.

Plugin AWstats reporting is installed OK.

Plugin Mailman is installed OK.

Plugin Protected web directories is installed OK.

Plugin Virtualmin Support Links is installed OK.

Using network interface eth0 for virtual IPs.

IPv6 addresses are available, using interface eth0.

Default IPv4 address for virtual servers is xxx.xxx.xxx.xxx.

Default IPv6 address for virtual servers is XXX;XXXXX;X

Default IP address is set to xxx.xxx.xxx.xxx, which matches the detected external address.

Both user and group quotas are enabled for home and email directories.

All commands needed to create and restore backups are installed.

Resource limits are supported and configured correctly.

The selected package management and update systems are installed OK.

.. your system is ready for use by Virtualmin.

"

http://www.virtualmin.com/node/25539

Topic locked