Apache

Bonjour

APACHE2 ne marche plu subitement .
je programé tranquile en PHP , et subitement

Que faire car je ne peut pas me pêrmètre de formater cette fois ci .
trop de donnée stoqué sur le disque dur , il faut 32h pour transféré le gros disque dur de 2 To DD usb ==> PC

Il n’est pas question de formatter.

Deux remarques,

  1. un programme en PHP n’a jamais empeché un serveur de fonctionner.
  2. Tu as beaucoup de renseignements dans les logs sous /var/log/apache2/error.log (nom pouvant changer) et access.log.

Si tu formattes ta machine, c’est que tu n’as rien compris.

pouvez vous m’aidez a décrypté les hiéroglyphe SVP
:119 lol

[Thu Mar 24 19:41:07 2011] [notice] caught SIGTERM, shutting down [Thu Mar 24 19:41:46 2011] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.3 with Suhosin-Patch configured -- resuming normal operations [Thu Mar 24 19:41:57 2011] [error] [client 192.168.3.139] PHP Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /var/www/index.php on line 8 [Thu Mar 24 19:41:58 2011] [error] [client 192.168.3.139] PHP Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /var/www/index.php on line 8 [Thu Mar 24 19:41:59 2011] [error] [client 192.168.3.139] PHP Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /var/www/index.php on line 8 [Thu Mar 24 19:42:19 2011] [error] [client 192.168.3.139] PHP Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /var/www/index.php on line 8 [Thu Mar 24 19:42:31 2011] [error] [client 192.168.3.139] PHP Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /var/www/index.php on line 8 [Thu Mar 24 19:43:13 2011] [error] [client 127.0.0.1] PHP Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /var/www/index.php on line 8 [Thu Mar 24 19:43:50 2011] [notice] caught SIGTERM, shutting down [Thu Mar 24 19:43:51 2011] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.3 with Suhosin-Patch configured -- resuming normal operations [Thu Mar 24 19:43:55 2011] [error] [client 127.0.0.1] PHP Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /var/www/index.php on line 8 [Thu Mar 24 19:44:09 2011] [notice] caught SIGTERM, shutting down [Thu Mar 24 19:44:27 2011] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.3 with Suhosin-Patch configured -- resuming normal operations [Thu Mar 24 19:44:40 2011] [error] [client 127.0.0.1] PHP Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /var/www/index.php on line 8 [Thu Mar 24 19:45:36 2011] [error] [client 192.168.3.139] PHP Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /var/www/index.php on line 8 [Thu Mar 24 19:46:27 2011] [error] [client 192.168.3.139] PHP Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /var/www/index.php on line 8 [Thu Mar 24 19:49:46 2011] [error] [client 192.168.3.139] PHP Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /var/www/index.php on line 8 [Thu Mar 24 19:50:06 2011] [error] [client 192.168.3.139] PHP Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /var/www/index.php on line 8 [Thu Mar 24 19:50:07 2011] [error] [client 192.168.3.139] PHP Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /var/www/index.php on line 8 [Thu Mar 24 19:50:07 2011] [error] [client 192.168.3.139] PHP Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /var/www/index.php on line 8 [Thu Mar 24 19:50:08 2011] [error] [client 192.168.3.139] PHP Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /var/www/index.php on line 8 [Thu Mar 24 19:50:08 2011] [error] [client 192.168.3.139] PHP Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /var/www/index.php on line 8 [Thu Mar 24 19:51:54 2011] [error] [client 192.168.3.139] PHP Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /var/www/index.php on line 8 [Thu Mar 24 19:57:35 2011] [error] [client 192.168.3.139] PHP Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /var/www/index.php on line 8 [Thu Mar 24 19:57:36 2011] [error] [client 192.168.3.139] PHP Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /var/www/index.php on line 8 [Thu Mar 24 19:57:38 2011] [error] [client 192.168.3.139] PHP Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /var/www/index.php on line 8 [Thu Mar 24 19:57:43 2011] [notice] caught SIGTERM, shutting down [Thu Mar 24 19:58:16 2011] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.3 with Suhosin-Patch configured -- resuming normal operations [Thu Mar 24 19:58:31 2011] [error] [client 192.168.3.139] PHP Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /var/www/index.php on line 8 [Thu Mar 24 19:59:18 2011] [notice] caught SIGTERM, shutting down [Thu Mar 24 19:59:49 2011] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.3 with Suhosin-Patch configured -- resuming normal operations [Thu Mar 24 20:00:16 2011] [error] [client 127.0.0.1] PHP Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /var/www/index.php on line 8 [Thu Mar 24 20:00:20 2011] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico [Thu Mar 24 20:00:26 2011] [error] [client 127.0.0.1] File does not exist: /var/www/jjj [Thu Mar 24 20:00:30 2011] [error] [client 127.0.0.1] PHP Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /var/www/index.php on line 8

résolu
Solution :

rm /var/www/index.*

et d’uncoup

[quote]Index of /
Name Last modified Size Description



Apache/2.2.16 (Ubuntu) Server at 192.168.3.3 Port 80[/quote]

mais , que c’est t’il passé ???

ce scripte en PHP fait sauter APACHE

[code]<?

$compter=$_POST[“textfield”];

print ‘
<form name=form1 method=post action=index.php?’.$compte.’>



’;

?>[/code]

Qu(y a -t-il sur la ligne 8?

ça

print ' <form name=form1 method=post action=index.php?'.$compte.'> <input type=text name=textfield> <input type=submit name=Submit value=Envoyer> </form> ';

bizare , non ??? :013 :013 :013

Ton code PHP marche parfaitement chez moi.