13
2012
Call to undefined function mb_detect_encoding()
If you get the error Call to undefined function mb_detect_encoding() you are missing the php-mbstring extension.
25
2011
Fatal error: Class ‘DOMDocument’ not found
Fix for Fatal error: Class ‘DOMDocument’ not found in PHP
7
2011
Notice: Undefined index: page and Notice: Undefined index: ipp in Pagination Class
Article how to fix Notice: Undefined index: page and Notice: Undefined index: ipp in Pagination Class
28
2011
Set timezone in .htaccess for PHP
Article on how to set the timezone in the htaccess file for PHP
8
2011
Install Memcached on Fedora 14 in the Rackspace Cloud
Install Memcached and the PHP Library on a Fedora 14 server
30
2010
Warning: strtotime() [function.strtotime]: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function
Getting this in a PHP site I am writing, to fix add this to a common include on your PHP page: date_default_timezone_set(‘UTC’);
30
2010
Show Errors in PHP using .htaccess
Simply add this to your .htaccess file to show errors in PHP, to surpress them simply change on to off # supress php errors php_flag display_startup_errors on php_flag display_errors on php_flag html_errors on
3
2010
Fatal error: Call to undefined function mysqli_connect()
Got this error when trying to use MySql in a PHP page on a Fedora install. What had happened is PHP wasn’t installed with MySql support. However it is simple to fix. Open up PuTTY and enter in the following: yum install php-mysql /sbin/service httpd restart
3
2010
Install Apache, MySql and PHP on Rackspace Cloud Fedora Server
Article detailing how to install Apache, MySQL and PHP on a Rackspace Cloud Fedora instance

An article by medialam

