I'm not familiar with Suhosin (never used it) but if possible I need to check using PHP whether it is installed. This is for part of an installer that I'm writing. Thanks.
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
To detect the Suhosin Extension use extension_loaded() no matter if it is dynamically loaded or statically compiled:
To detect the Suhosin-Patch, check for the constant presence:
You can test if a configuration open is set for Suhosin:
PHP docs for
extension_loaded
.If the extension doesn't load, it may still be available through
dl
:simply write a php file in your document root like
<?php phpinfo(); ?>
it will print all the information related to php installation just find for the "suhosin" block in it is installed on your server you can find the block with all the values set for it.