php: Fatal error: Class 'tidy' not found in ...
Posted: Wed Jul 21, 2010 3:58 pm
[PROBLEM]
When running a php script that accessed the "Tidy" class, I received the following error:
[SOLUTION]
The Apache webserver had to be restarted in order to load the 'Tidy' extension. Only necessary once after a fresh install of the "php5-tidy" package. Then never again.
When running a php script that accessed the "Tidy" class, I received the following error:
Weird though, because that error only appeared when running the script through the webserver (apache), but not when I ran the php script directly from the commandline.Fatal error: Class 'tidy' not found in ...
[SOLUTION]
The Apache webserver had to be restarted in order to load the 'Tidy' extension. Only necessary once after a fresh install of the "php5-tidy" package. Then never again.