Quantcast
Channel: WampServer - WampServer Francais
Viewing all articles
Browse latest Browse all 3471

ajout de suhosin (2 réponses)

$
0
0
je voulez demander si pour la sécurité il serait possible d'ajouté l'extension php suhosin dans wampserver

version windows de suhosin disponible sur mon github

disponible version source patcher de la dernière version stable 0.9.37.1

[github.com]

fichier binaire pour les principale version de php en mode ts ou nts

[github.com]

n’oubliez pas de configurer votre php.ini pour activé suhosin

extension = php_suhosin.dll

version officiel pour linux [github.com]

patch linux windows

--- execute.c   Sat Mar 28 21:11:28 2015
+++ execute_.c  Sat Mar 28 21:12:30 2015
@@ -1642,6 +1642,10 @@
    zval **return_value_ptr;
    zval *this_ptr;
    int ht;
+   char *lcname;
+   int function_name_strlen, free_lcname = 0;
+   zend_class_entry *ce = NULL;
+   internal_function_handler *ih;

    if (fci) {
        return_value = *fci->retval_ptr_ptr;
@@ -1661,11 +1665,11 @@
 {
    zval *return_value;
    int ht = execute_data_ptr->opline->extended_value;
-#endif
    char *lcname;
    int function_name_strlen, free_lcname = 0;
    zend_class_entry *ce = NULL;
    internal_function_handler *ih;
+#endif

    ce = ((zend_internal_function *) execute_data_ptr->function_state.function)->scope;
    lcname = (char *)((zend_internal_function *) execute_data_ptr->function_state.function)->function_name;

pour patcher executé patch --ignore-whitespace execute.c suhosin.patch

Viewing all articles
Browse latest Browse all 3471

Trending Articles