Page 1 of 1

Is it possible to run Shell exec on Xamp?

PostPosted: 05. May 2009 21:50
by petipogled
Iv been trying to solve this for 4 days , not even friendly demigod Google helped, i m banging my head already out of frustration.

I have this script and it always reports this
Failed to use 'shell_exec' in PHP. Please contact your hosting.

I checked
-disable function its off
-safe mode is off too

I put php.ini in script directory too!!

Is it possible to run Shell exec on Xamp?

hat can i do?
pls help!

Re: Is it possible to run Shell exec on Xamp?

PostPosted: 05. May 2009 21:55
by Wiedmann
Is it possible to run Shell exec on Xamp?

Yes.

Re: Is it possible to run Shell exec on Xamp?

PostPosted: 06. May 2009 00:38
by petipogled
Please tell me how.

Re: Is it possible to run Shell exec on Xamp?

PostPosted: 06. May 2009 07:20
by Wiedmann
Please tell me how.

Like you can read in the PHP manual.

Re: Is it possible to run Shell exec on Xamp?

PostPosted: 06. May 2009 09:52
by petipogled
Wow, very helpful, only if i didnt read it a few times id say thanx but....

Re: Is it possible to run Shell exec on Xamp?

PostPosted: 06. May 2009 12:13
by Nobbie
May we see your test script which does not work?

Re: Is it possible to run Shell exec on Xamp?

PostPosted: 07. May 2009 15:07
by petipogled
Hi Nobbis, nice to see some good spirited people here,
here are the screenshot of the error on my local instalation of xampp
http://answersmine.com/screen1.JPG
http://answersmine.com/screen2.JPG

By searching and googling i found these solution proposals so far
safe mode off
disable functions off
placed php.ini everywhere where its needed

I m out of ideas and on verge of breakdown.... i desperately need this script to work.

Pleeease help!!

Re: Is it possible to run Shell exec on Xamp?

PostPosted: 07. May 2009 15:27
by Wiedmann
By searching and googling i found these solution proposals so far

Maybe this was not clear:
You must do nothing in XAMPP/Win (standard installation) so shell_exec() works. It's working out of the box and exactly like you can read in the PHP Manual.
--> Just try it with your own script.

i desperately need this script to work.

There is nothing we can do, if this script have a bug or does not support Windows at all.
--> You should/must ask the author of this script what happens (what you can do), because you are trying to install (and have problems) with this script.