简体   繁体   中英

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. my Wamp server version 2.4 .

[http://localhost/] result is blank page. source code not view. please help me now.

To start the WampServer , choose start WampServer from the Start menu; or run wampmanager.exe from the WampServer installed directory. An icon will appear on the icon tray. Green icon indicates that all the services have started. Red indicates that all the services have stopped. You can put the server online (so that user can access the server over the Internet) by selecting the option Put Online . 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. change the port setting (using https://localhost:8080 ) and upload your files in www directory.

Start your server and then instead of this

http://localhost/ 

use this

http://localhost:8080

8080 is the port.

before that check weather your port is open

Sounds like Apache doesn't have a path to the PHP interpreter.

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

Add the path to the PHP interpreter at the end of the line. Mine looks like this:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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