httpd down after installed ZIP extension

halalaA

Registered
Sep 30, 2021
3
0
1
Ottawa
cPanel Access Level
Website Owner
Hello everyone,

After enabling the php zip extension, the httpd was down. The server ran so fast due to high CPU load and busy to deal with heavy connections.

Does anyone know that is there security patches needed to apply when enabling zip extension, or any common zip extension issue on cpanel? If there are some malware stored in zip on the server, would there be a way to only enabling zip for one cpanel account rather than all the sites running on the same server?

By the way there is no specific error logs when the httpd was down.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
14,425
2,259
363
cPanel Access Level
Root Administrator
Hey there! I've enabled the PHP Zip extension hundreds of times and have never run into an issue with it causing performance or load issues.

If the http service was fully down, I wouldn't expect there to be logs, so additional troubleshooting would likely be needed to isolate the problem more fully. Did you see anything in /var/log/messages around that time that could indicate a larger issue with the machine?
 

halalaA

Registered
Sep 30, 2021
3
0
1
Ottawa
cPanel Access Level
Website Owner
Thanks for your reply. I am not able to get more information in /var/log/messages folder, since I am not the server admin. However, I am wondering is there a way that cPanel would be able to enable the zip per-account basis?

By the way, would any of these extension any cURL, MySQLi, or GD Library will cause any issue, and lead to httpd server down?
 
Last edited:

halalaA

Registered
Sep 30, 2021
3
0
1
Ottawa
cPanel Access Level
Website Owner
Thanks for your reply. I am not able to get more information in /var/log/messages folder, since I am not the server admin. However, I am wondering is there a way that cPanel would be able to enable the zip per-account basis?

By the way, would any of these extension any cURL, MySQLi, or GD Library will cause any issue, and lead to httpd server down?
Since no one is replying, I suspect the answer for the above two questions would be no, right?
 

quietFinn

Well-Known Member
Feb 4, 2006
1,850
433
438
Finland
cPanel Access Level
Root Administrator
Thanks for your reply. I am not able to get more information in /var/log/messages folder, since I am not the server admin. However, I am wondering is there a way that cPanel would be able to enable the zip per-account basis?
Zip extension can be enabled in EasyApache separately for every PHP version, and it's availabel for any account that is using PHP version where Zip is enabled.

By the way, would any of these extension any cURL, MySQLi, or GD Library will cause any issue, and lead to httpd server down?
If those are succesfully enabled in EasyApache they will not lead to httpd server down.
 
  • Like
Reactions: cPRex