Я успешно запускал PHP-скрипт в течение года с WAMP, но вчера я заметил, что скрипты не открываются и не запускаются. Когда я захожу на http://localhost
, страница просто продолжает загружаться бесконечно. Конечно, в скриптах нет ошибок.
Я старался:
- Перезапуск всех служб
- Переустановка WAMP
- Даже пробовал easyphp (похоже на wamp)
- удалил подозрительное программное обеспечение
Когда я пробовал telnet localhost 80
, он говорит «Соединение с localhost ...», но никогда не соединяется.
Интересно:
Я могу запускать скрипт внутри PHP Designer (редактор для PHP), но не в браузере, используя WAMP, как было сказано ранее.
ОС: XP SP2 с антивирусом Avira
Обновление: вот мой журнал Apache, но я не могу понять, что он говорит:
[Wed Feb 17 10:27:35 2010] [notice] Apache/2.2.8 (Win32) PHP/5.2.6 configured -- resuming normal operations
[Wed Feb 17 10:27:35 2010] [notice] Server built: Jan 18 2008 00:37:19
[Wed Feb 17 10:27:35 2010] [notice] Parent: Created child process 740
[Wed Feb 17 10:27:36 2010] [notice] Child 740: Child process is running
[Wed Feb 17 10:27:36 2010] [notice] Child 740: Acquired the start mutex.
[Wed Feb 17 10:27:36 2010] [notice] Child 740: Starting 64 worker threads.
[Wed Feb 17 10:27:36 2010] [notice] Child 740: Starting thread to listen on port 80.
[Wed Feb 17 10:31:15 2010] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Feb 17 10:31:15 2010] [notice] Child 740: Exit event signaled. Child process is ending.
[Wed Feb 17 10:31:16 2010] [notice] Child 740: Released the start mutex
[Wed Feb 17 10:31:17 2010] [notice] Child 740: All worker threads have exited.
[Wed Feb 17 10:31:17 2010] [notice] Child 740: Child process is exiting
[Wed Feb 17 10:31:18 2010] [notice] Parent: Child process exited successfully.
[Wed Feb 17 10:31:28 2010] [notice] Apache/2.2.8 (Win32) PHP/5.2.6 configured -- resuming normal operations
[Wed Feb 17 10:31:28 2010] [notice] Server built: Jan 18 2008 00:37:19
[Wed Feb 17 10:31:28 2010] [notice] Parent: Created child process 2200
[Wed Feb 17 10:31:28 2010] [notice] Child 2200: Child process is running
[Wed Feb 17 10:31:28 2010] [notice] Child 2200: Acquired the start mutex.
[Wed Feb 17 10:31:28 2010] [notice] Child 2200: Starting 64 worker threads.
[Wed Feb 17 10:31:28 2010] [notice] Child 2200: Starting thread to listen on port 80.
[Wed Feb 17 10:34:20 2010] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Feb 17 10:34:22 2010] [notice] Child 2200: Exit event signaled. Child process is ending.
[Wed Feb 17 10:34:24 2010] [notice] Child 2200: Released the start mutex
[Wed Feb 17 10:34:25 2010] [notice] Child 2200: All worker threads have exited.
[Wed Feb 17 10:34:25 2010] [notice] Child 2200: Child process is exiting
[Wed Feb 17 10:34:26 2010] [notice] Parent: Child process exited successfully.
[Wed Feb 17 10:43:32 2010] [notice] Apache/2.2.8 (Win32) PHP/5.2.6 configured -- resuming normal operations
[Wed Feb 17 10:43:32 2010] [notice] Server built: Jan 18 2008 00:37:19
[Wed Feb 17 10:43:32 2010] [notice] Parent: Created child process 3640
[Wed Feb 17 10:43:33 2010] [notice] Child 3640: Child process is running
[Wed Feb 17 10:43:33 2010] [notice] Child 3640: Acquired the start mutex.
[Wed Feb 17 10:43:33 2010] [notice] Child 3640: Starting 64 worker threads.
[Wed Feb 17 10:43:33 2010] [notice] Child 3640: Starting thread to listen on port 80.
[Wed Feb 17 10:46:27 2010] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Feb 17 10:46:27 2010] [notice] Child 3640: Exit event signaled. Child process is ending.
[Wed Feb 17 10:46:28 2010] [notice] Child 3640: Released the start mutex
[Wed Feb 17 10:46:29 2010] [notice] Child 3640: All worker threads have exited.