I checked man php and output of php -h, but I didn’t seem to find such thing.
But I remember seeing it somewhere, you could do something like php -Xabc.so script.php to load an extension temporarily.
Anyone know that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Loading a regular extension via CLI is done with:
If your extension is not in the default path you can provide an absolute path as well:
To load a Zend extension, it’d advisable to always pass an absolute path: