简体   繁体   English

wamp 服务器不工作但服务器在线 我的 wamp 服务器 2.4

[英]wamp server not work but server is online my wamp server 2.4

Wamp server not work but server is online and all service start. Wamp 服务器不工作,但服务器在线并且所有服务都启动。 my Wamp server version 2.4 .我的 Wamp 服务器版本 2.4 。

[http://localhost/] result is blank page. [http://localhost/] 结果是空白页。 source code not view.源代码未查看。 please help me now.请现在帮助我。

To start the WampServer , choose start WampServer from the Start menu;要启动WampServer ,请从“ Start菜单中选择“ start WampServer ”; or run wampmanager.exe from the WampServer installed directory.或从WampServer安装目录运行wampmanager.exe An icon will appear on the icon tray.图标托盘上将出现一个图标。 Green icon indicates that all the services have started. Green图标表示所有服务都已启动。 Red indicates that all the services have stopped. Red表示所有服务都已停止。 You can put the server online (so that user can access the server over the Internet) by selecting the option Put Online .您可以通过选择Put Online选项使服务器联机(以便用户可以通过 Internet 访问服务器)。 Alternatively, you could put the server Offline , such that it is accessible only within the localhost then verify the server.may be your problem is on port problem.或者,您可以将服务器置于Offline ,这样它只能在localhost内访问,然后验证服务器。可能是您的问题出在端口问题上。 change the port setting (using https://localhost:8080 ) and upload your files in www directory.更改端口设置(使用https://localhost:8080 )并将文件上传到www目录。

Start your server and then instead of this启动你的服务器,然后而不是这个

http://localhost/ 

use this用这个

http://localhost:8080

8080 is the port. 8080是端口。

before that check weather your port is open在那之前检查天气你的端口是开放的

Sounds like Apache doesn't have a path to the PHP interpreter.听起来 Apache 没有通往 PHP 解释器的路径。

Go to System Properties -> Advanced -> Environment Variables -> Path转到System Properties -> Advanced -> Environment Variables -> Path

Add the path to the PHP interpreter at the end of the line.在行尾添加 PHP 解释器的路径。 Mine looks like this:我的看起来像这样:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\xampp\php;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM