Chez moi, ça retourne : Parse error: syntax error, unexpected '$titi' (T_VARIABLE), expecting ',' or ';' in G:\www\aviatechno\test\essais_erreur.php on line 4 qui montre bien qu'il manque le point-virgule final.
Avec dans wamp\bin\apache\apache2.4.4\bin\php.ini :
error_reporting = E_ALL (Avec PHP 5.4.x, E_STRICT est inclus dans E_ALL) display_errors = On display_startup_errors = On log_errors = On log_errors_max_len = 1024 ignore_repeated_errors = Off ignore_repeated_source = Off track_errors = On html_errors = On error_log = J:/wamp/logs/php_error.log
Êtes-vous aller voir dans le fichier de log de PHP (wamp/logs/) si l'erreur y est ?
Le fichier php_error.log n'existais pas ! Je l'ai créer puis reboot wamp (en ayant bien vérifier le chemin dans le php.ini) mais sa ne fonctionne toujours pas :/
EDIT : dans le phpinfo(), display_errors = Off ainsi que certains autres ! Mais dans le php.ini ils sont bien sur On..
Modifie 1 fois. Derniere modification le 12/06/2013 à 21:23 par Hypnoze57.
Le fichier php.ini actif est wamp/bin/apache/apache2.x.y/bin/php.ini c'est-à-dire le fichier accessible par Icône Wampserver, PHP, php.ini. Le fichier wamp/bin/php/php5.3.13/php.ini ne sert QUE pour la ligne de commande (CLI)
Remarque : Il faudrait éviter d'éditer votre premier message ; on ne sait plus où vous en êtes, ni pourquoi il y a marqué [Résolu].