Home  >  Article  >  Backend Development  >  关于PHP安装VLD查看opcode,该如何解决

关于PHP安装VLD查看opcode,该如何解决

WBOY
WBOYOriginal
2016-06-13 10:09:24931browse

关于PHP安装VLD查看opcode
按照这篇帖子,进行了操作。
http://blog.csdn.net/21aspnet/article/details/7002644

但是显示的并不是帖子上的结果,求指教,如何验证VLD是否安装,并查看opcode


[[email protected] htdocs]# cat index.php 
$a='123';
echo $a;
[[email protected] htdocs]# /usr/local/php/bin/php -dvld.active=1 index.php
123[[email protected] htdocs]#

------解决方案--------------------

探讨

又重新装了下,phpinfo()没找到扩展

1./usr/local/php/etc/php.ini 里打开了配置了

2.重启了apache

3.用php --re vld
[[email protected] /]# php --re vld
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/……
Statement:
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