My PHP EXEC returns error 255 (linux), what's wrong ?

PHPMan123
PHPMan123 used Ask the Experts™
on
I have a code, that when I execute at Shell, I get success.
but running at PHP Exec, I get return error 255, what is this error 255 ? how can I fix that ?

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Fixed it myself, I updated the previlegies of user APACHE at the command I was using, at this case, UNOCONV.

You can do it

# chown apache unoconv
# chown apache:apache unoconv
# service httpd restart

this will work with any command you needs to run as apache USER.

Congrats to me =D

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial