Hello everyone,
i enabled the webserver on my qnap but any php file on it is not executed. Even the preset index.php file cannot be executed...
As you can see in the image: When I try to access any php file, I get asked to download it, which shows that php files are not executed. But I have php enabled in the php.ini file.
Thank you for your replies,
Fabian
PHP does not execute
-
- New here
- Posts: 2
- Joined: Fri Oct 16, 2020 5:59 pm
- Contact:
- Mumbik
- New here
- Posts: 8
- Joined: Wed Oct 28, 2020 12:26 am
Re: PHP does not execute
The firewall might be restricting the program or antivirus software.
- dolbyman
- Guru
- Posts: 35275
- Joined: Sat Feb 12, 2011 2:11 am
- Location: Vancouver BC , Canada
Re: PHP does not execute
The (so far) non existent QNAP firewall or the default schedule only clam AV ?
sure you are not a spambot ?
sure you are not a spambot ?
- Mumbik
- New here
- Posts: 8
- Joined: Wed Oct 28, 2020 12:26 am
Re: PHP does not execute
Where did you see the spam? Have you decided to suspect me of something? Write to the author of the topic a guide on how to solve the problem. So far, you look like a spam bot.
*edit by dolbyman*
user WAS indeed a spammer...posts were edited with dubios credit card links later>premaban
Last edited by dolbyman on Mon Jul 25, 2022 9:19 pm, edited 1 time in total.
Reason: indeed a spammer
Reason: indeed a spammer
- dolbyman
- Guru
- Posts: 35275
- Joined: Sat Feb 12, 2011 2:11 am
- Location: Vancouver BC , Canada
Re: PHP does not execute
random posts (vaguely on topic) are often used by spammers/spambots to enable link posting (some boards have restrictions to "first time poster" to post links)
it's just something that happens quite often, so when you challenge on of those spammers and there is no reply .. it's safe to say that this is a fake post
php code is executed server side, how would a users antivirus have any influence on this, so you see how this, posted by a first time poster, raises red flags ?
and yes, I am a spambot with 20k posts over 10 years .. you got me
it's just something that happens quite often, so when you challenge on of those spammers and there is no reply .. it's safe to say that this is a fake post
php code is executed server side, how would a users antivirus have any influence on this, so you see how this, posted by a first time poster, raises red flags ?
and yes, I am a spambot with 20k posts over 10 years .. you got me
- Mumbik
- New here
- Posts: 8
- Joined: Wed Oct 28, 2020 12:26 am
Re: PHP does not execute
I'm not good at PHP yet, I just wanted to help a person solve a problem.dolbyman wrote: ↑Wed Oct 28, 2020 1:57 am random posts (vaguely on topic) are often used by spammers/spambots to enable link posting (some boards have restrictions to "first time poster" to post links)
it's just something that happens quite often, so when you challenge on of those spammers and there is no reply .. it's safe to say that this is a fake post
php code is executed server side, how would a users antivirus have any influence on this, so you see how this, posted by a first time poster, raises red flags ?
and yes, I am a spambot with 20k posts over 10 years .. you got me
- OneCD
- Guru
- Posts: 12160
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: PHP does not execute
Apologies @Mumbik: this forum has long had a problem with spambots and they sometimes start by posting generic help. Your first post here (unfortunately) looks just like the sort of thing they post. And bots don't have feelings, so we tend to give them a hard-time.
Your willingness to help is much-appreciated.
-
- New here
- Posts: 2
- Joined: Fri Oct 16, 2020 5:59 pm
- Contact:
Re: PHP does not execute
The problem is solved: The .htaccess file on the web server was configured wrong...