Posts

Showing posts from October, 2021

TimeZone in CodeIgnitor 3

Check your current php timezone with :  echo ini_get('date.timezone');  If the result is not your current timezone. You can change in "php.ini" from :  date.timezone=Europe/Berlin  to : date.timezone=Asia/Bangkok Or if you cannot change your "php.ini", add the following code in the "index.php" file of your application root. <?php date_default_timezone_set ( 'Asia/Bangkok' ); ?>

Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.3.0"

Image
Solution: 1. add this line in config object of composer.json file "platform-check": false 2. open Terminal and run php artisan config:cache 3. then run composer dump-autoload ## Refererence from : stackorverflow.com