Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem runing in web server #13

Open
ric128 opened this issue Apr 4, 2018 · 3 comments
Open

problem runing in web server #13

ric128 opened this issue Apr 4, 2018 · 3 comments

Comments

@ric128
Copy link

ric128 commented Apr 4, 2018

Hello Vasile
Excellent extension.
I have a small problem ...
it works perfectly in my localhost development environment (PHP 7.0.28-0 ubuntu 0.16.04.1) but when I upload it to the web server (linux PHP 5.6.35) it does not work.

Any suggestions?
Maybe some PHP option or extension.
Thank you very much.

@vova07
Copy link
Owner

vova07 commented Apr 4, 2018

Hello @ric128 ,

I'm not sure I have an answer for you but if you'll take a look at the extension code you'll find that only used functions are pclose && popen.

Regarding this I'll suggest to check firstly your php.ini file on section disable_functions to ensure non of them are disabled.

This is first and single idea I have right now about your issue.

Hope this will be at least somehow helpful for you.

Good luck!

@ric128
Copy link
Author

ric128 commented Apr 5, 2018

I will contact the web administrator to verify if those functions are enabled.
Is there any way to get a log of the process sent?
thx vm.

@vova07
Copy link
Owner

vova07 commented Apr 6, 2018

Hello @ric128 ,
You can check it by yourself actually:

if (function_exists('popen')) { 
    echo 'popen is enabled'; 
} else { 
    echo 'popen is disabled'; 
}

if (function_exists('pclose')) { 
    echo 'pclose is enabled'; 
} else { 
    echo 'pclose is disabled'; 
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants