PDA

View Full Version : PHPs Exec() OFF


Baph
30-03-07, 08:13 AM
Hmmm PHP Exec() being on is bad, mkay.

In itself, I disagree. If you aren't 10000000% sure what the source code does, you're right, it can be bad.

If it's accepting input from a visitor to the website (even just as params to a program), it's potentially devastating.

I've just had a look on the menalto website, and please please please DONT run that software. Not only does it require exec() but also it requires magic_quotes_gpc off!!

This is asking for someone to take your part of the server over! It's the equivalent of leaving your bike keys in the ignition, helmet, gloves, jacket & trousers on the bike!!!

Scooby Drew
29-05-07, 08:33 PM
So I am trying to install Menalto Gallery on my website so that I can display my photographs.

I had to change from a Windows server to a Linux server so that I could CHMOD certain files and directories to enable the database to work. Done that but now have just found out that I need the PHPs Exec() to be set to ON but the webhosts servers are all set to OFF so they can't help.

I am currently with Fasthosts and need to change to a new hosting service where they can help me out. Anyone in the know?

Drew

TSM
29-05-07, 08:44 PM
You did not need to change, windows has permissions but unforunatly they cant be set via FTP.

You need to check that the host provider has not turned on php.safe_mode too.

If you are having problems you could get a VPS, that way you have control over your server config.

SoulKiss
29-05-07, 09:27 PM
So I am trying to install Menalto Gallery on my website so that I can display my photographs.

I had to change from a Windows server to a Linux server so that I could CHMOD certain files and directories to enable the database to work. Done that but now have just found out that I need the PHPs Exec() to be set to ON but the webhosts servers are all set to OFF so they can't help.

I am currently with Fasthosts and need to change to a new hosting service where they can help me out. Anyone in the know?

Drew

Hmmm PHP Exec() being on is bad, mkay.

Get a new gallery program, there are many out there, and a lot of them don't require you to bend your server over and pull its trousers and underpants to its ankles............

David