Tag: php

  • WHMCS cron job says ioncube not installed despite ioncube being installed

    This issue drove me batty for an hour – after installing WHMCS with PHP’s Ioncube extension installed successfully the cronjob required by WHMCS would not run, complaining about Ioncube not being installed. Yet php -v showed that it was in fact installed.   What gives?   Turns out that Ioncube had been enabled for PHP-FPM…

  • Upload error 413 “Request Entity Too Large” on Nginx

    When trying to upload files to a Drupal installation running on nginx, we got a 413 error: Request Entity too large.   We had gone through and updated the php files with regard to max upload file size limits, but had neglected to do the same to the nginx config file (/etc/nginx/nginx.conf on Debian). We…

  • Ubuntu: How to update PHP’s timezone

    Ubuntu: How to update PHP’s timezone

      We came across this one recently when setting up a Zabbix server, where the installation would not proceed until the PHP timezone was set. This is quite straightforward – using your favourite editor edit:   /etc/php5/apache2/php.ini   Look for the Module Settings section or search for:    date.timezone   (in vi /date.timezone should get…