-
-
Save firefoxrebo/f8d85dab2c9dd0a5a5582f49daf9781f to your computer and use it in GitHub Desktop.
VLD installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The extension is not finished (and probably will never be finished). If you have questions, feel free to send me an e-mail. | |
You can get the source from Github: | |
git clone https://github.com/derickr/vld.git vld | |
Here are the instructions to get it to work: | |
cd into the newly checked-out directory. | |
Create the configure script: phpize | |
Now run "./configure" followed by "make install". | |
That's it, if you now run PHP from the command line and add the -dvld.active=1 parameter VLD will spit out the opcodes: | |
php -dvld.active=1 program.php | |
There is also a setting vld.execute to disable execution of code, and vld.verbosity to control how much output VLD generates. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment