Real life problems solved

Advert

Fatal error: Class ‘DOMDocument’ not found

Posted by on May 25, 2011 in PHP | 0 comments

To solve this perform the following: yum install php-xml

Read More

Fatal error: Class ‘XMLReader’ not found

Posted by on Apr 24, 2011 in Apache, Fedora | 1 comment

Using XMLReader on a Fedora 14 install of PHP today gave me the error: Fatal error: Class 'XMLReader' not found To fix it I performed the...

Read More

Set timezone in .htaccess for PHP

Posted by on Feb 28, 2011 in Date & Time, htaccess | 0 comments

To set the timezone in .htaccess you can use the following code: php_value date.timezone...

Read More

Install Memcached on Fedora 14 in the Rackspace Cloud

Posted by on Jan 8, 2011 in Fedora, Memcached, Rackspace Cloud | 3 comments

This will install the latest stable version of Memcached on Fedora 14 in the Rackspace Cloud. yum install memcached nano -w...

Read More

strtotime with UK date

Posted by on Nov 8, 2010 in Date & Time | 0 comments

Had a problem today where using strtotime was not working with UK Dates DD/MM/YY Using the following code though fixed it: $date =...

Read More
Adsense