Tag: php

Adding pcntl_fork support on a cpanel server

A php application on a cpanel server kept throwing this: Fatal error: Call to undefined function pcntl_fork() in /path/blah.php on line 5 The fix requires recompiling php with –enable-pcntl Fortunately cpanel offers the Easy Apache script. The bad part is…

Error noticed in Joomla site apache logs

Browsing trough my web logs I found the following error in the apache error log of a Joomla site: [Mon Oct 17 13:49:16 2011] [error] [client aaa.aaa.aaa.aaa] PHP Notice: Array to string conversion in aaa/libraries/joomla/html/parameter.php on line 83 One suggestion…

Web interface for Zabbix didn't load

I was installing today Zabbix on a CentOS 5.6 machine and hit the following error when trying to load the PHP Web Interface: PHP Fatal error: Call to undefined function bcscale() in /var/www/zabbix/include/defines.inc.php on line 797 The fix was one…

Make Joomla 1.0 work with PHP 5.3

With the recent posts regarding resurrecting old stuff, recently I had to resurrect a Joomla 1.0 site. Soon enough I discovered that the home page doesn’t display correctly. No errors, just lots of white space :). The problem is that…

Uploading big files via php

I’m updating a site for a client that only has file access to his hosting account via a php file manager (extPlorer for Joomla to be precise). He needed uploaded a few flash videos (in excess of 15 Mb each)…