Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,154,182 members, 7,822,001 topics. Date: Thursday, 09 May 2024 at 12:34 AM

Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. (864 Views)

HELP ME Error Parsing XML, Line 15, Column 70: The Entity "Raquo" Was Referenced / Download All My Php/website Scripts With Just A Token / Hello Please Can Someone Explain To To Me What Torrent Files Are (2) (3) (4)

(1) (Reply) (Go Down)

Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. by ultimatex(m): 5:27pm On Feb 27, 2016
I am working on a project and I am still learning some stuff but this one seems to be a very big road block.

My php files do not execute on the browser instead they start downloading to the local PC automatically.

I have been trying to resolve this issue (google, stackoverflow) for about 6 hours now all to no avail.

Please, if you know what I am to do for the php files to run. Please tell me.

Thank You!
Re: Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. by ogaprime(m): 5:59pm On Feb 27, 2016
ultimatex:
I am working on a project and I am still learning some stuff but this one seems to be a very big road block.

My php files do not execute on the browser instead they start downloading to the local PC automatically.

I have been trying to resolve this issue (google, stackoverflow) for about 6 hours now all to no avail.

Please, if you know what I am to do for the php files to run. Please tell me.

Thank You!

Am still learning too...it seems its not in the server's folder e.g using wamp c://wamp/www
Re: Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. by ultimatex(m): 6:32pm On Feb 27, 2016
ogaprime:


Am still learning too...it seems its not in the server's folder e.g using wamp c://wamp/www

No am talking about cPanel and online web host
Re: Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. by hollyfat(m): 6:37pm On Feb 27, 2016
It do happens on some system. Use http://127.0.0.1 instead of localhost
Re: Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. by Nobody: 7:11pm On Feb 27, 2016
.htaccess

Please paste the contents of the file let me see
Re: Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. by ultimatex(m): 7:45pm On Feb 27, 2016
coolsix:
.htaccess

Please paste the contents of the file let me see

I didn't use .htaccess since I am not restricting it to some users
Re: Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. by ultimatex(m): 7:47pm On Feb 27, 2016
hollyfat:
It do happens on some system. Use http://127.0.0.1 instead of localhost

My virtual server is working perfectly. It is the online server that has this issue.
Re: Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. by Nobody: 8:18pm On Feb 27, 2016
ultimatex:


I didn't use .htaccess since I am not restricting it to some users

There are two factors that can cause your php files to download. Also .htaccess is not only for restricting users. It has alot of functions.

Factors include:

1.) Apache Configuration

2.) .htaccess

Since you said no .htaccess it's unusual it would be an Apache Configuration so you contact your Web host
Re: Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. by ogaprime(m): 8:34pm On Feb 27, 2016
ultimatex:


No am talking about cPanel and online web host

Alright but that is what happens when you don't read the php file from the server. So that means some files are in the wrong places
Re: Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. by onyengbu: 9:02pm On Feb 27, 2016
ultimatex:


My virtual server is working perfectly. It is the online server that has this issue.
Which hosting plan did you pay for? Linux or Windows or both?
Also, even if you didn't create .htaccess file yourself, make sure none exist there.
Re: Help!!! My Php Files Are Downloading Instead Of Parsing Or Executing. by ultimatex(m): 9:41pm On Feb 27, 2016
onyengbu:

Which hosting plan did you pay for? Linux or Windows or both?
Also, even if you didn't create .htaccess file yourself, make sure none exist there.

Its cpanel using GlobalHosting247 - I don't know whether its Linux or windows. I will check tomorrow

(1) (Reply)

Who Has 10k Active Facebook Members(enter) / 10+ Best SEO Optimized & Responsive Free Blogger Templates. / Unn Aspirant Whatsapp Group

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 14
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.