Apache fails to serve vhosts and the Plesk panel gives an error.

Refers to:

  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux

Created:

2016-11-16 13:14:20 UTC

Modified:

2016-12-21 20:15:39 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Apache fails to serve vhosts and the Plesk panel gives an error.

Symptoms

A Joomla website displays the blank screen. However with ' display_errors = On ' in PHP configuration, the following error could be observed:

mod_fcgid: stderr: PHP Fatal error:  Class 'DateTime' not found in /var/www/vhosts/domain.tld/httpdocs/libraries/joomla/utilities/date.php online 20

PHP < 5.2 is installed on the server.

Cause

Jooma requires PHP 5.2 in order to run correctly. With old PHP version it fails to load some functions that were introduced in 5.2.

Resolution

Launch ' /usr/local/psa/admin/bin/autoinstaller ' and install a proper version of PHP.

Have more questions? Submit a request
Please sign in to leave a comment.