php fatal error


PHP memory limit in Drupal – Different methods to alter the settings

Have you ever thought your Drupal PHP memory limit played a major role in the performance of the website?

Often, an error like "Fatal error: Allowed memory size of X bytes exhausted (tried to allocate Y bytes) can occur due to insufficient PHP memory limit.

Also, this error signifies that Drupal required more memory than PHP was allowed to give it. Therefore, increasing the PHP memory limit helps to resolve the error.

At Bobcares, we often get requests from our customers to increase the PHP memory limit in Drupal as part of our Server Management Services.

Today, let’s get into the details on how our Support Engineers increase the PHP memory limit and fix related errors.

(more…)

How to fix Fatal error: Class ‘PDO’ not found in PHP apps like Drupal, Prestashop, Joomla, etc

How to fix Fatal error: Class ‘PDO’ not found in PHP apps like Drupal, Prestashop, Joomla, etc

Fatal error: Class ‘PDO’ not found is an error seen in websites running PHP applications such as Drupal, Prestashop, WordPress, etc. It’ll look something like this:

Fatal error: Class 'PDO' not found in /home/romrac/public_html/drupal/includes/database/database.inc on line 187

This error reports that the web server was unable to locate a PHP module called “PDO” in the server. Web applications require this PHP module to establish a database connection. (more…)