Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Apache - PHP Problame


ghost's Avatar
0 0

Hey,

icreated an Executeable in vb.net which connects to the apache service

i am able to control it through this. BUT there is one major problem

when Apache is run as a service, PHP Wont let me run execute or system commands?

can you help me?!

Mantis_


I-O-W-A's Avatar
[Forever Blind To See]
0 0

i think somewhere along the line you've got apache set up wrong maybe its running in restricted mode?, check the documentation an check ur settings


Mr_Cheese's Avatar
0 1

you probably dont have permissions setup on files correctly.

ensure your php files are set to execute for the user. if you arent sure what chmodd that is, set it to 755 or 644 if you dont want the file being edited.


ghost's Avatar
0 0

Mr_Cheese wrote: you probably dont have permissions setup on files correctly.

ensure your php files are set to execute for the user. if you arent sure what chmodd that is, set it to 755 or 644 if you dont want the file being edited.

Its using a windows Server, and is restricted mode Default? on an apache installation ?


Mr_Cheese's Avatar
0 1

check your httpd.conf file


ghost's Avatar
0 0

I have done, over and over again,

im sure my apache installation is correct,

as it works fine when not ran as a service,

but as soon as its switched, its starts to not execute commands,