Tutorial Category

Php Troubleshooting

  1. URL File-Access Is Disabled Error After Upgrading To PHP 5.2

    If you have recently upgraded to PHP 5.2.x or newer and are getting an error on your site saying URL file-access is disabled in the server configuration, you may be affected by a new PHP configuration change. As of PHP 5.2.0, a new configuration directive, allow_url_include, was introduced in an effort to enhance security in file inclusion. The introduction of this directive allows an admin to keep allow_url_fopen enabled for scripts that need it, but disable remote includes for include() and require() functions. Note: We should...
  2. ImageMagick [Imagick] PHP Class Broken Or Fails To Install

    Introduction to Imagick Some versions of CentOS (including the most recent 5.5) have an issue with a buggy 6.4.8 RPM version of ImageMagick. This version prevents the Imagick PHP class from working properly, and also prevents the extension from being installed via PECL. If you are using this PHP class on your site, you will see an error something like: Fatal error: Class 'Imagick' not found in /home/user/public_html/file.php on line 92 When trying to install via PECL, the error will be: ... make: *** [imagick_helpers.lo]...