Operating System & Version
CENTOS 7.8 KVM
cPanel & WHM Version
v86.0.18

Jeff P.

Well-Known Member
Feb 2, 2016
61
10
8
Daytona Beach, Florida, USA
cPanel Access Level
DataCenter Provider
I have my php max mem set to 128M globally. However APIs like PDFCrowd are saying there's a 2MB limit. I have verified everything else is showing 128M and I have no idea why these APIs are limited to 2MB. I even put a php.ini in the api folder to assign a high memory limit and high timeout.

This started after a cpanel update to v86.0.18. No other changes have occurred. It just stopped working and our payroll dept cannot get invoice PDFS now.

The error is thrown in one of their CURL objects for PDFCrowd:

function setTimeout($timeout) {
if (is_int($timeout) && $timeout > 0) {
$this->curlopt_timeout = $timeout;
}
}

1588605924518.png
 
Last edited:

vacancy

Well-Known Member
Sep 20, 2012
437
143
93
Turkey
cPanel Access Level
Root Administrator
Make sure there is php.ini, user.ini file in the top directory or public_html. You can also check if there is a memory_limit script in .htaccess.
 

Jeff P.

Well-Known Member
Feb 2, 2016
61
10
8
Daytona Beach, Florida, USA
cPanel Access Level
DataCenter Provider
As the screenshot in the OP shows, the memory limit is 128M in that folder.
 

Jeff P.

Well-Known Member
Feb 2, 2016
61
10
8
Daytona Beach, Florida, USA
cPanel Access Level
DataCenter Provider
In this case, we can say that the problem is not related to the server and that your software applies this limit within itself.
Thanks, tried to tell them that. But they also said to check my php.info, the equivalent of asking "Did you plug it in?" lol

Guess I will have to find another service to put the money towards.
 

Jeff P.

Well-Known Member
Feb 2, 2016
61
10
8
Daytona Beach, Florida, USA
cPanel Access Level
DataCenter Provider
A rollback from PHP 7.2 to PHP 7.1 fixed the issue. Odd since I ran 7.2 for the last few months and never an issue.
 

Jeff P.

Well-Known Member
Feb 2, 2016
61
10
8
Daytona Beach, Florida, USA
cPanel Access Level
DataCenter Provider
Last edited: