Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

PHP function php_uname blocked for security reasons #1322

Open
WillBrubaker opened this issue Dec 9, 2019 · 4 comments
Open

PHP function php_uname blocked for security reasons #1322

WillBrubaker opened this issue Dec 9, 2019 · 4 comments
Labels

Comments

@WillBrubaker
Copy link

  • SDK/Library version: 1.14.0
  • Environment: Both production and sandbox

Issue description

The SDK uses php_uname here https://github.com/paypal/PayPal-PHP-SDK/blob/1.14.0/lib/PayPal/Common/PayPalUserAgent.php#L27-L28 which is blocked on some servers.

I would like to ask that you consider alternatives to php_uname to prevent failures. Thanks.

@sucithrashanu
Copy link

@WillBrubaker
May I know in which server it's blocking?

Thanks

@WillBrubaker
Copy link
Author

@sucithrashanu I don't know, I got this in a support ticket for a product that uses this library - the site experiencing the troubles is andyfronius.com

@sucithrashanu
Copy link

@WillBrubaker
If we know which server it will be helpful for proceed with the issue to give solution.

Thanks

@WillBrubaker
Copy link
Author

WillBrubaker commented Jan 8, 2020

@sucithrashanu this is everything I know:

Server Info: nginx/1.17.5
PHP Version: 7.3.12-1+ubuntu16.04.1+deb.sury.org+1
PHP Post Max Size: 2 GB
PHP Time Limit: 20
PHP Max Input Vars: 10000
cURL Version: 7.47.0
OpenSSL/1.0.2g

SUHOSIN Installed: –
MySQL Version: 5.5.5-10.2.29-MariaDB-10.2.29+maria~xenial-log
Max Upload Size: 2 GB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

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

No branches or pull requests

2 participants