PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/php4/lib/php/extensions/no-debug ......

By: Emiley J.  

If your PHP files suddenly stop working for no apparant reason and you just get a blank page for all your PHP files then the first thing you will do is to check your error_log. And if you have repeating lines in your error log such as "PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/php4/lib/php/extensions/no-debug " then you can solve it.

Goto your hosting control panel. Assuming you have hosted with hostmonster, login to your control panel. Under "Software/services" section, click on the PHP config icon to enter into the PHP configuration.
Here you will see three options, PHP5, PHP5 single ini and Fast CGI. If I am not wrong you have probably chosen Fast CGI option before. Now just change it back to PHP5 option and click 'Save Changes' button.

There you go. Refresh your PHP page and you should see it working.

Archived Comments

Most Viewed Articles (in PHP )

Installing PHP with nginx-server under windows


PHP 5.1.4 INSTALLATION on Solaris 9 (Sparc)

Building PHP 5.x with Apache2 on SuSE Professional 9.1/9.2

Installing PHP 5.x with Apache 2.x on HP UX 11i and configuring PHP 5.x with Oracle 9i

Cannot load /usr/local/apache/libexec/ into server:

Setting up PHP in Windows 2003 Server IIS7, and WinXP 64

error: "Service Unavailable" after installing PHP to a Windows XP x64 Pro

Running different websites on different versions of PHP in Windows 2003 & IIS6 platform

Function to convert strings to strict booleans in PHP

Convert IP address to integer and back to IP address in PHP

Function to return number of digits of an integer in PHP

Function to force strict boolean values in PHP

Function to sort array by elements and count of element in PHP

PHP pages does not display in IIS 6 with Windows 2003

Latest Articles (in PHP)

Comment on this tutorial