如何通过ssh或cpanel在centos中安装pdo和pdo-mysql?
我想使用drupal 7.8并且它需要pdo并且我不是root的问题 所以当我尝试从 pear 安装它时出现错误 我尝试了很多方法,但没有任何效果
,但如果有人对我有任何解决方案或根与我们分享,
thnx
pear 错误消息
“加载/usr/local/Zend/lib/Optimizer-4.3.9/php-5.2 失败。 x/ZendOptimizer.so:/usr/local/Zend/lib/Optimizer-4.3.9/php-5.2.x/ZendOptimizer.so:无法打开共享对象文件:没有这样的文件或目录 PHP 警告:PHP 启动:无法加载动态库 '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo.so' - /usr/local/lib/php/extensions/no -debug-non-zts-20060613/pdo.so:无法打开共享对象文件:第 0 行的“未知”中没有此类文件或目录 PHP 警告:PHP 启动:无法加载动态库 '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so' - /usr/local/lib/php/extensions/no -debug-non-zts-20060613/pdo_mysql.so:无法打开共享对象文件:第 0 行的“未知”中没有此类文件或目录
警告:出于安全原因,base64_decode() 已在 Config.php 第 1252 行禁用 PHP 警告:出于安全原因,base64_decode() 已在 /usr/lib/php/PEAR/Config.php 第 1252 行禁用
警告:出于安全原因,base64_decode() 已在 /usr/lib/php/PEAR/Config 中禁用.php 第 1252 行
警告:出于安全原因,base64_decode() 已在 Config.php 第 1252 行禁用 PHP 警告:出于安全原因,base64_decode() 已在 /usr/lib/php/PEAR/Config.php 第 1252 行禁用
警告:出于安全原因,base64_decode() 已在 /usr/lib/php/PEAR/Config 中禁用.php 第 1252 行
警告:出于安全原因,php_uname() 在第 814 行的Registry.php 中已被禁用 PHP 警告:出于安全原因,在 /usr/lib/php/PEAR/Registry.php 第 814 行中,php_uname
() 已被禁用 警告:出于安全原因,在 /usr/lib/php/PEAR/Registry 中,php_uname() 已被禁用.php 第 814 行 0"
the problem that i want to use drupal 7.8 and it require pdo and i am not the root
so when i try to install it from pear gives me an error
i tried many thing but nothing worked
but if any one have any solution for me or the root share it with us
thnx
the pear error message
"Failed loading /usr/local/Zend/lib/Optimizer-4.3.9/php-5.2.x/ZendOptimizer.so: /usr/local/Zend/lib/Optimizer-4.3.9/php-5.2.x/ZendOptimizer.so: cannot open shared object file: No such file or directory
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo.so: 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/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
Warning: base64_decode() has been disabled for security reasons in Config.php on line 1252
PHP Warning: base64_decode() has been disabled for security reasons in /usr/lib/php/PEAR/Config.php on line 1252
Warning: base64_decode() has been disabled for security reasons in /usr/lib/php/PEAR/Config.php on line 1252
Warning: base64_decode() has been disabled for security reasons in Config.php on line 1252
PHP Warning: base64_decode() has been disabled for security reasons in /usr/lib/php/PEAR/Config.php on line 1252
Warning: base64_decode() has been disabled for security reasons in /usr/lib/php/PEAR/Config.php on line 1252
Warning: php_uname() has been disabled for security reasons in Registry.php on line 814
PHP Warning: php_uname() has been disabled for security reasons in /usr/lib/php/PEAR/Registry.php on line 814
Warning: php_uname() has been disabled for security reasons in /usr/lib/php/PEAR/Registry.php on line 814
0"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要询问您的服务器管理员来执行此操作。
You need to ask your server admin to do that.
按照以下步骤启用 PDO
Open WHM 并转到主页 » 软件 » Easy Apache(Apache 更新)
滚动到底部并选择“根据配置文件开始自定义”
单击“下一步”两次
滚动到底部并选择“详尽选项列表” "
选择 PDO 和 PDO MySQL 的复选框,然后重建 Apache
这可能是使用终端重新启动 Apache 的好时机 (# service httpd restart)。希望有帮助!
Follow these steps to enable PDO
Open WHM and go to Home » Software » Easy Apache (Apache Update)
Scroll to the bottom and select "Start customizing based on profile"
Click "Next step" twice
Scroll to the bottom and select "Exhaustive Options List"
Select checkboxes for PDO and PDO MySQL, and rebuild Apache
This might be a good time to restart Apache using terminal (# service httpd restart). Hope that helps!