Home > Backend Development > PHP Tutorial > php-fpm报错了,提示是oci8有问题.

php-fpm报错了,提示是oci8有问题.

WBOY
Release: 2016-06-06 20:33:31
Original
995 people have browsed it

首先是我运行我的程序,报

<code>> 段错误 (核心已转储)
</code>
Copy after login
Copy after login

太恶心了!!第一次遇到!

因为我装oci8扩展,我自己觉得应该是oci8扩展坏了什么的,
所以就把它删了,但是现在装不上去了!!!

<code>sudo pecl install oci8

报错:
WARNING: failed to download pecl.php.net/oci8-, additionally the         suggested version () is the same as the locally installed one.
install failed
</code>
Copy after login
Copy after login

提示我已经安装了,坑爹的是我已经卸载了,phpinfo()也没有oci8扩展了!!
我也是醉了,这个问题搞了我半天了!

现在先问个问题:
1.pecl安装的包安装到哪里去了?我觉得找到了,把他删了应该可以解决这个问题!

回复内容:

首先是我运行我的程序,报

<code>> 段错误 (核心已转储)
</code>
Copy after login
Copy after login

太恶心了!!第一次遇到!

因为我装oci8扩展,我自己觉得应该是oci8扩展坏了什么的,
所以就把它删了,但是现在装不上去了!!!

<code>sudo pecl install oci8

报错:
WARNING: failed to download pecl.php.net/oci8-, additionally the         suggested version () is the same as the locally installed one.
install failed
</code>
Copy after login
Copy after login

提示我已经安装了,坑爹的是我已经卸载了,phpinfo()也没有oci8扩展了!!
我也是醉了,这个问题搞了我半天了!

现在先问个问题:
1.pecl安装的包安装到哪里去了?我觉得找到了,把他删了应该可以解决这个问题!

pecl 问题重启一下就好了!!
但是我的 段错误 (核心已转储)还是没有解决!!!
醉了!

解决了!!!是因为我使用了全局替换,把一段代码改成了死循环了!!!
总结一下,遇到问题,还是先要debug,定位问题!然后再搜索!难怪搜了半天,搜不出问题!!

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template