Real life problems solved

Advert

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

Posted by on Sep 30, 2010 in Date & Time, PHP | 0 comments

Getting this in a PHP site I am writing, to fix add this to a common include on your PHP...

Read More

Show Errors in PHP using .htaccess

Posted by on Sep 30, 2010 in PHP | 0 comments

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...

Read More

Fatal error: Call to undefined function mysqli_connect()

Posted by on Sep 3, 2010 in Apache, MySql, PHP | 0 comments

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...

Read More

Install Apache, MySql and PHP on Rackspace Cloud Fedora Server

Posted by on Sep 3, 2010 in Apache, Fedora, MySql, PHP, Rackspace Cloud | 1 comment

To install a suite of Apache, MySql and PHP on a new instance of Fedora 13 on Rackspace cloud perform the following steps: 1. Using PuTTY...

Read More

Remote debugging using Zend Studio 8 and EC2

Posted by on Sep 1, 2010 in EC2, Zend Studio | 0 comments

Been looking at alternatives to PHPEd and thought I would install Zend Studio to see what it is like. After install I wanted to debug...

Read More

PHP Format DateTime for MySql

Posted by on Jul 19, 2010 in Date & Time, MySql, PHP | 0 comments

Was adding a date from a service to MySql using PHP and needed something to convert the PHP string into something MySql could use for a...

Read More
Adsense