473,516 Members | 3,355 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

php page not running on wamp server

1 New Member
PHP page not running on wamp server and also the file extension is .php and I had tried with following code
Expand|Select|Wrap|Line Numbers
  1. <?php
  2. echo "testing!";
  3. ?>
it shows error that file not found but I had save that file as path is,
c://wamp/www/test.php


please help me regarding this..
Thanks and Regards,
Dipak.
Apr 16 '14 #1
1 1477
techboy
28 New Member
Installin WAMP Server to run PHP:
Goto www.wampserver.com and download WAMP Server.

Just install it like other softwares by just clicking next next...

Now go to START menu of windows and start wampserver.
Generally, the path is Start -> WapmServer -> start WampServer

Open your web browser and type http://localhost (or http://127.0.0.1 )
If you see a default WampServer home page, you installation is success.

Now put your php code in www folder in your wamp installation directory.
Usually this is C:\wamp\www

Now type http://localhost/filename.php in your browser. (where filename is your php file name)

It will execute your php code.. Thats it...
Apr 16 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
4315
by: fatalparadox | last post by:
I had WAMP Server installed for a few months, everything was fine. Now all of a sudden it stopped working. It still executes the PHP but it doesn't allow me to write to a .txt file anymore. When I put the same files on the web it works great. And it worked with wamp server before yesterday. So I uninstalled WAMP server and installed WAMP...
3
7519
by: robin1983 | last post by:
Dear All, I am facing a problem with WAMP server. i dowonload the WAMP SERVER2.0c and installed in my system. But the problem is that none of the server is running. When i try to access the server by http://localhost, the page cannot display is getting. When I try the same in my own pc its working properly. It seems that the problem is due...
20
107430
by: impin | last post by:
i created a page that stores all the information about the resume in to the database. i used php and mysql database. its runs on wamp server... it works fine in that system. now i want to access that page from another computer and store the values into the database.computers are connected in the LAN. another computer doesnt have...
0
1413
by: rency | last post by:
Hi all, I am using WAMP server 2, last 2 days back i have installed dotnet framework after that my wampserver is not working properly. localhost/phpmyadmin shows "page not found error" localhost/ shows "Page not found error". If anybody has a solution for my problem pls reply. Thank you.
1
1907
by: iqbalnazim | last post by:
I need your help, I am working on a project, MYSQL and PHP based,with WAMP SERVER. I have a field storytext, (data collected in URDU language UTF-8) detail are: Field:storytext Type:text Collation:utf8_unicode_ci (I tried all given collation in my phpadmin) Null:Yes Default:NULL Retrieving URDU Data from MY SQL 5.5.8 running on wamp...
2
3661
by: Easytime | last post by:
Dear Profs, Please I've just installed WAMP server on my system. Before I used to use IIS 6 on WIN 7. However, I have tried to run the localhost on WAMP, but it does not run, rather, it still DISPLAYS IIS 7 home page. I have uninstalled the IIS 6 web server and deleted all its folders from the c:\inetpub\...,yet it it still running IIS 7 on...
6
9946
by: dinesh malloju | last post by:
I have installed wamp and everythings working fine with the local host. But i want to show my web page to a friend in some other place . I tried to access the wamp server through my ip address(internet provided by idea modem), but it isn't showing up!!! I have made the server online !!! I have allowed port 80 in windows firewall !!! but...
0
7273
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7182
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7405
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7574
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7547
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5106
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3252
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
487
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.