473,326 Members | 2,192 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

wamp php not executing - codes showing in browser

hello, I am having problems connecting my new project to phpmyadmin.
New project is located under the www folder, when i preview the php file in my browser it only shows the php code but not the design webpage.
Also, if i try to access the page view the ‘localhost’ interface, the webpage design is showing but the php scripts are not executing.
Does anyone know what I am missing? and what I should do to fix this?
ps: I have another project in my www folder where all the php scripts and previews on browser are working fine.
Thanks in advance.
Jan 11 '14 #1
1 3519
Dormilich
8,658 Expert Mod 8TB
when i preview the php file in my browser it only shows the php code but not the design webpage
you need to call it via the webserver (starting with http://localhost)

Also, if i try to access the page view the ‘localhost’ interface, the webpage design is showing but the php scripts are not executing.
how do you know the PHP scripts are not executing? what are the errors you receive (did you check the error log)?


PS. phpMyAdmin is a web interface for MySQL (i.e. a website), not something a PHP script is supposed to connect to.
Jan 12 '14 #2

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

Similar topics

6
by: MaiyaHolliday | last post by:
Hello, I've recently installed apache on a new computer, and cannot figure out why my site will not process any includes. (it was working on my old one) There are no errors on the page such as...
2
by: AARTHISUBBU | last post by:
i m quiet new to wamp... is it possible to run jpgraph codes in wamp... else i have to install jpgraph separately and to run?.. if i can run jpgraph codes in wamp,what i have to do? i m using...
2
by: robin1983 | last post by:
Hi All, I am facing a problem with WAMP. I installed the wamp5_1.7.1a. After installation, when I try to run the through explorer by writing "http://localhost" but its showing pages cannot be...
22
by: V S Rawat | last post by:
(bringing the discussion here for php.general) I am on xpsp3, wampserver 2.0, having apache 2.2.8, php 5.2.6, MySQL 5.0.51b. http://localhost/ is E:\wamp\www\ I have put the first php script...
3
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...
3
by: robin1983 | last post by:
Dear All, I have problem in phpmyadmin (WAMP). I already worked in phpmyadmin, then I installed Mysql 5.1 in my system. After installation of mysql, separately, its not allowing to access the...
1
by: ria suman | last post by:
hey i download wamp server but the browser does not display the page when i start localhost and phpmyadmin.....m jst go to tools-internet option-connection-lan setting but does not work got the same...
2
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...
1
by: afrigo | last post by:
Hi, Ive got wamp, did a simple php code, put it in the www folder. then double click testpage.php for example. A pop up window comes up and says what do you want to do. Search the Web for software...
6
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.