localhost

PHP OPcode Caching Not enabled in XAMPP | windows-10

When you are installing latest version of "Drupal 8'  on your localHost . You might get a warning message that "PHP OPcode Caching Not enabled" Under "Requirements review"  . We need to enable Php OPcode to improve our Drupal website perfromance.

Let's enable PHP OPcache on XAMPP windows 10 /8/7 operating system.

Fatal error: Maximum execution time of 30 seconds exceeded

Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\drupal8\core\modules\user\src\UserInterface.php

 

If you are getting the above error when you are dealing with file upload or database upload or while installing CMS like [Drupal 8, Joomla , wordpress]. The error has occured because for uploads default time set on most website is 30 seconds.You need to change this setting in php.ini configuration file.

Xampp Apache not getting started on windows 10

xampp apache

Users who have installed Xampp on their machine sometimes may face the issue regarding Xampp Apache service not starting on windows machine. Don't panic , this is due to port number 80 which Apache server uses [ Port Number 80 & 443 ] by default has been used by another application before.Mostly Skype uses the port number 80 similarly the case with other softwares also.

PDOException: SQLSTATE[HY000] [1045]

If you getting the below error after moving the Live site to localhost .You may get the same error whether you are using Xampp or Wamp server on your local machine.

PDOException: SQLSTATE[HY000] [1045] Access denied for user 'xxx'@'localhost' (using password: YES) in lock_may_be_available() (line 167 of C:\xampp\htdocs\xxx\includes\lock.inc).

Subscribe to RSS - localhost