如何将apache2.2更新到上一版本 [英] How to update apache2.2 to last version
问题描述
1-我无法在我的笔记本电脑上打开locaolhost
2-更新Apache2.2
请帮助我>
我尝试过:
i open http:// localhost
但未打开
1- I can't open locaolhost on my laptop
2- updating Apache2.2
plz help me
What I have tried:
i open http://localhost
but not open
推荐答案
首先检查apache服务器是否正在运行。
以Linux为例使用
At first check if the apache server is running.
With Linux use for example
sudo ps aux | grep apache
使用Windows,当Apache作为服务运行时,您可以使用
With Windows and when Apache is running as service you can use
net start
在命令提示符下列出正在运行的服务。当Apache作为命令行应用程序启动时,使用任务管理器。另请注意,Apache命令行模式需要启用UAC的管理员权限(自Vista起)。
当Apache未运行时检查日志文件( error_log 在 / var / log / apache2 与Linux和 error.log 与Windows。默认是Apache程序的 logs 目录文件夹)。
如果它没有运行且日志文件中没有条目,请检查Apache在系统上的启动方式以及是否执行了该操作。这又取决于操作系统和模式(Windows服务或命令行)。
at a command prompt to list the running services. When Apache has been started as command line application use the task manager. Note also that the Apache command line mode requires Administrator privileges with enabled UAC (since Vista).
When Apache is not running check the log files (error_log at /var/log/apache2 with Linux and error.log with Windows. The default is the logs directory of the Apache program folder).
When it is not running and there are no entries in the log files, check how Apache is started on your system and if that is executed. This depends again on the OS and the mode (Windows service or command line).
在我使用它之前正常工作但现在显示此消息
before i used it and worked correctly but now display this message
Unable to connect
Firefox can’t establish a connection to the server at localhost.
The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer’s network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
这篇关于如何将apache2.2更新到上一版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!