PHP

cPanel libMagickWand.so.2 PHP Extension Error after UPCP Update

August 7, 2015 Jordansphere Apache

Centos: 6.7 WHM: 11.50.0 Apache: 2.2.39 PHP: 5.4.42 I awoke today to find all websites hosted on one particular cPanel server showing the following message at the bottom of every web page.   Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-xxxxxxx/imagick.so' – libMagickWand.so.2: cannot open shared object file: No such file or directory in Unknown on […]

More

PHP White Screen

April 2, 2014 Jordansphere Apache

Scenario: A new webserver setup. HTML pages load fine but PHP shows blank white screen. Apache 2.x / Centos 6.x / PHP 5.3.3   First of all make sure PHP is installed. Then ensure the following lines are in the Apache configuration LoadModule php5_module modules/libphp5.so AddHandler php5-script .php If the same symptoms still persist then […]

More

“Warning: Parameter 1 to” “expected to be a reference, value given in”

October 24, 2012 Jordansphere Linux

We just upgraded an old Joomla website from PHP 5.2 from PHP 5.3 and got Warnings in a few pages   The line of code that was spitting out the error was:   if (method_exists($this, $event)) { return call_user_func_array ( array($this, $event), $args ); } else {   Adding a @ sign fixed the issue: […]

More

Powered by WordPress. Designed by elogi.