php集成环境 ,我用yii连接数据库 出现警告,pdo扩展库,之类什么的都打开了,就是不行
PHPwarningYiiBase::include(PDO.php)[<ahref='function.YiiBase-include'>function.YiiBas...
PHP warning
YiiBase::include(PDO.php) [<a href='function.YiiBase-include'>function.YiiBase-include</a>]: failed to open stream: No such file or directory
C:\AppServ\www\myYii\framework\YiiBase.php(421)
409 {
410 include($classFile);
411 if(YII_DEBUG && basename(realpath($classFile))!==$className.'.php')
412 throw new CException(Yii::t('yii','Class name "{class}" does not match class file "{file}".', array(
413 '{class}'=>$className,
414 '{file}'=>$classFile,
415 )));
416 break;
417 }
418 }
419 }
420 else
421 include($className.'.php');
422 }
423 else // class name with namespace in PHP 5.3
424 {
425 $namespace=str_replace('\\','.',ltrim($className,'\\'));
426 if(($path=self::getPathOfAlias($namespace))!==false)
427 include($path.'.php');
428 else
429 return false;
430 }
431 return class_exists($className,false) || interface_exists($className,false);
432 }
433 return true; 展开
YiiBase::include(PDO.php) [<a href='function.YiiBase-include'>function.YiiBase-include</a>]: failed to open stream: No such file or directory
C:\AppServ\www\myYii\framework\YiiBase.php(421)
409 {
410 include($classFile);
411 if(YII_DEBUG && basename(realpath($classFile))!==$className.'.php')
412 throw new CException(Yii::t('yii','Class name "{class}" does not match class file "{file}".', array(
413 '{class}'=>$className,
414 '{file}'=>$classFile,
415 )));
416 break;
417 }
418 }
419 }
420 else
421 include($className.'.php');
422 }
423 else // class name with namespace in PHP 5.3
424 {
425 $namespace=str_replace('\\','.',ltrim($className,'\\'));
426 if(($path=self::getPathOfAlias($namespace))!==false)
427 include($path.'.php');
428 else
429 return false;
430 }
431 return class_exists($className,false) || interface_exists($className,false);
432 }
433 return true; 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询