开发者

Problem with magic_quotes_gpc in PHP symfony

I am using Symfony 1.4 and ORM as Propel, to create my project. Last time i have upgraded my server's PHP version from 5.2 to 5.3, from that time i am getting the error as

PHP Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0

PHP Fatal error: Class 'PDO' not found in /usr/local/lib/php/symfony/plugins/sfPropelPlugin/lib/vendo开发者_高级运维r/propel/util/PropelPDO.php on line 42

PHP Warning: Module 'PDO' already loaded in Unknown on line 0

PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0

PHP Warning: Module 'SQLite' already loaded in Unknown on line 0

Is there any thing i can do in code, or turn off 'magic_quotes_gpc' in php.ini? please help!


First error can be just silenced by disabling E_DEPRECATED in error_reporting().

(Note: in general, silencing error messages is not a good way of dealing with errors - proper way of dealing with this error is to upgrade your scipts to version that supports PHP 5.3)

However you have four more much more serious errors, which I'm not really sure about.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜