In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly shows you "how to use php_vld", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to use php_vld" this article.
Php vld is one of the PECL extensions extensions, used to view the underlying php compiled opcode, its use is: 1, add extension configuration in php.ini; 2, create a php file named vld.php;3, output vld under the cmd window.
This article operating environment: Windows7 system, PHP5 version, Dell G3 computer.
1. What is VLD?
A: vld is one of the PECL extensions extensions, which is what we extension=php_mysql.dll in php.ini. Its main function is to make it easy for us to view the underlying compiled opcode of php.
2. What is opcode?
3. How to install and use VLD?
1) add VLD to PHP under windows
1. Determine the PHP version of ts? Nts?
First check to see if there is a [php5ts.dll] file in your code, and if so, the PHP version you use is Thread Safe.
Download address:
A: http://windows.php.net/downloads/pecl/releases/vld/0.12.0/
B: http://pecl.php.net/package/vld/0.12.0/windows
2. Php.ini add extension configuration
Extension=php_vld.dll
3. Phpinof to check whether VLD already exists
4. Create a php file named vld.php
5. Output vld under cmd window
Command line: php-dvld.active=1 D:/wnmp/www/test/vld.php
2) VLD configuration under Linux
1. Download and install VLD
Wget http://pecl.php.net/get/vld-0.11.2.tgz
Tar zxvf vld-0.11.2.tgz
Cd. / vld-0.11.2
/ usr/local/php/bin/phpize
. / configure-with-php-config=/usr/local/php/bin/php-config-enable-vld
Make & & make install
2. Edit the php.ini file to activate the vld extension:
Cd / usr/local/php/lib
Add extension=vld.so
3. Restart the server:
/ usr/local/apache2/bin/apachectl restart
4. Create a php file named vld.php
5. Output vld
Php-dvld.active=1. / test.php
Note: if the php environment variable is not set
/ usr/local/php/bin/php-dvld.active=1 test.php
The above is all the contents of this article "how to use php_vld". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
The type PipeWriter copy code is as follows:
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.