linux下跑php文件,报错了!-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

linux下跑php文件,报错了!

a123456678 2016-06-13 14:33:53 1194

我在linux系统下直接写
<?php
echo 1;
?>

然后运行php跑这个文件,居然报下面的错,.dll不是windows下才有的吗?怎么解决呢?谢谢!

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/php_pdo_mysql.dll' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/php_pdo_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/php_pdo_oci.dll' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/php_pdo_oci.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/php_pdo_sqlite.dll' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/php_pdo_sqlite.dll: cannot open shared object file: No such file or directory in Unknown on line 0

Linux PHP Windows
分享到
取消 提交回答
全部回答(1)
  • a123456678
    2019-07-17 19:35:56

    php.ini是从windows复制过来的吧

    0 0

集结各类场景实战经验,助你开发运维畅行无忧

推荐文章
相似问题
推荐课程