Bonjour,
En passant d'une config XP à Win7 Ultimate 64 bits j'ai plein de problèmes !
Entre autre :
Code :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
[Sat Dec 10 12:31:41 2011] [notice] Parent: Received restart signal -- Restarting the server.
[Sat Dec 10 12:31:41 2011] [notice] Child 3980: Exit event signaled. Child process is ending.
[Sat Dec 10 12:31:41 2011] [notice] Apache/2.2.20 (Win32) PHP/5.3.8 configured -- resuming normal operations
[Sat Dec 10 12:31:41 2011] [notice] Server built: Aug 30 2011 21:54:15
[Sat Dec 10 12:31:41 2011] [notice] Parent: Created child process 3984
[Sat Dec 10 12:31:41 2011] [notice] Child 3984: Child process is running
[Sat Dec 10 12:31:42 2011] [notice] Child 3984: Acquired the start mutex.
[Sat Dec 10 12:31:42 2011] [notice] Child 3980: Released the start mutex
[Sat Dec 10 12:31:42 2011] [notice] Child 3984: Starting 64 worker threads.
[Sat Dec 10 12:31:43 2011] [notice] Child 3980: All worker threads have exited.
[Sat Dec 10 12:31:43 2011] [notice] Child 3980: Child process is exiting
[Sat Dec 10 12:31:43 2011] [notice] Child 3984: Starting thread to listen on port 80.
[Sat Dec 10 12:32:22 2011] [error] [client 127.0.0.1] PHP Warning: phpinfo(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone
setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier.
We selected 'Europe/Paris' for '1.0/no DST' instead in F:\\WebSites\\phpinfo\\index.php on line 11 |
Dans mon php.ini, j'ai :
Code :
1 2 3 4 5 6 7 8 9 10
|
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
;
; ---
date.timezone = "Europe/Paris"
;
; $ET
; |
La ligne 11 est l'appel à PHPINFO dans mon code PHP:
Code :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>PHP Version 5.3.8 bis</title>
</head>
<body>
<?php
==>11 phpinfo();
?>
</body>
</html> |
Et Phpinfo me semble contradictoire sous la rubrique DATE...
Code :
1 2 3 4 5 6 7 8 9 10 11 12 13
|
date
date/time support enabled
"Olson" Timezone Database Version 2011.8
Timezone Database internal
Default timezone Europe/Paris <= 1ière
Directive Local Value Master Value
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.583333 90.583333
date.sunset_zenith 90.583333 90.583333
date.timezone no value no value <= 2ième |
Contradictoire dans le sens ou à la 1ère occurrence de PHPINFO, la timezone est correcte mais la seconde est indéfinie...
Je ne sais plus/pas à quel niveau se trouve l'erreur et donc la correction surtout que cela tourne sous XP et pas Win7 ultimate
Merci de votre aide...