~/public_html/php-5.3.13/ext> wget http://pecl.php.net/get/vld-0.11.2.tgz~/public_html/php-5.3.13/ext> Tar ZXVF vld-0.11.2.tgz ~/public_html/php-5.3.13/ext> cd vld-0.11.2/Next compile Install VLD extension: ~/public_html/php-5.3.13/ext/ Vld-0.11.2> phpize ~/public_html/php-5.3.13/ext/vld-0.11.2>./configure--with-php-config=/usr/local/ Services/php/bin/php-config--enable-vld~/public_html/php-5.3.13/ext/vld-0.11.2> make~/public_html/php-5.3.13 /ext/vld-0.11.2> sudo make installinstalling shared extensions:/usr/local/services/php/lib/php/extensions/ no-debug-non-zts-20090626/finally copy the generated vld.so to the Extension_dir directory: ~/public_html/php-5.3.13/ext/vld-0.11.2> cd/usr/ local/services/php/lib/php/extensions/no-debug-non-zts-20090626//usr/local/services/php/lib/php/extensions/ no-debug-non-zts-20090626> sudo cp vld.so/usr/local/services/php/extensions/then modifies the php.ini file, adding the following configuration: extension= Vld.so Next Create the test.php file: php-dvld.active=1 test.php Finding entry pointsbranch analysis from Position:0return foundfilename:/home/zhanhailiang/ Public_html/test.phpfunction name: (null) Number of ops:4compiled VARs:!0 = $aline # * OP FETCH ext return operands------ ---------------------------------------------------------------------------3 0 > ASSIGN! 0, ' Hello+world ' 5 1 CONCAT! 0, '%0a ' 2 ECHO to 6 3 > RETURN 1 branch: # 0; line:3-6; sop:0; Eop:3path #1:0, Hello World
http://www.bkjia.com/PHPjc/477704.html www.bkjia.com true http://www.bkjia.com/PHPjc/477704.html techarticle ~/public_html/php-5.3.13/ext wget http://pecl.php.net/get/vld-0.11.2.tgz ~/public_html/php-5.3.13/ext tar zxvf Vld-0.11.2.tgz ~/public_html/php-5.3.13/ext cd vld-0.11.2/next compile ...