Heim  >  Artikel  >  Backend-Entwicklung  >  关于PHP安装VLD查看opcode,该如何解决

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

WBOY
WBOYOriginal
2016-06-13 10:09:24930Durchsuche

关于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/……
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn