2012-03-28

I have an android app, it call a function of a web-server (using cakephp). And it return error like this 'call to undefined function curl_init()'.
I do some search on google and try to fix that error by install php5-curl package, but after installing this package, the web-server doesn't work any more. it return

Strict Standards: Non-static method App::core() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 429

Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 398

Warning: Illegal string offset 'file' in /var/www/postmail/cake/libs/debugger.php on line 622

Warning: Illegal string offset 'line' in /var/www/postmail/cake/libs/debugger.php on line 622

Strict Standards: Non-static method App::core() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 429

Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 398

Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 398

Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 398

Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 398

Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 398

Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 398

Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 398

Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 398

Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 398

Strict Standards: Non-static method Configure::read() should not be called statically in /var/www/postmail/cake/basics.php on line 213

Strict Standards: Non-static method Configure::getInstance() should not be called statically in /var/www/postmail/cake/libs/configure.php on line 155

Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 657

Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 657

Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 668

Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 668

Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 673
Warning (2): 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. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. [CORE/cake/libs/cache.php, line 570]
Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 308

Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/configure.php on line 155

Strict Standards: Non-static method CakeLog::write() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 311

Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 311

Strict Standards: Non-static method CakeLog::getInstance() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/cake_log.php on line 230

Strict Standards: Non-static method App::import() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/cake_log.php on line 180

Strict Standards: Non-static method App::getInstance() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/configure.php on line 909

Strict Standards: Non-static method Cache::read() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/configure.php on line 982

Strict Standards: Non-static method Cache::getInstance() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/cache.php on line 330

Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/cache.php on line 505

Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/configure.php on line 155

Strict Standards: Non-static method Inflector::underscore() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/cache.php on line 672

Strict Standards: Non-static method Inflector::getInstance() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/inflector.php on line 512

Notice: Trying to get property of non-object in /var/www/postmail/cake/libs/cache/file.php on line 248

Fatal error: Call to a member function cd() on a non-object in /var/www/postmail/cake/libs/cache/file.php on line 248

does anyone know how to fix it?
Thanks in advance.

Show more