25% off on first invoice for all services*

SPRING SALE

Use coupon

*Offer valid for new customers only

25% off on first invoice for all services*

SPRING SALE

Use coupon

*Offer valid for new customers only

Need help?

Our experts have had an average response time of 11.43 minutes in March 2024 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

WHMCS error 500 – How we nailed it

by | Jun 6, 2019

Have you ever thought why it’s important to install the WHMCS updates?

These security updates always protect WHMCS from cyber attacks.

However, customers may face errors like WHMCS error 500 when upgrading their WHMCS to the latest version.

This can happen due to permission problems or because of bad server configuration.

At Bobcares, we often get requests from our customers to fix WHMCS error 500 as part of our Server Management Services.

Today, we’ll see how our Support Engineers update WHMCS and fix the related error 500.

 

How we do WHMCS Updates

Usually, WHMCS will automatically notify about updates. And, we can see it from the WHMCS admin panel. It will show up as a sign requiring immediate action on the installation.

1. So, we navigate to Utilities > Update WHMCS 

2. Then, we click Update Now.

3. After that, we follow the on-screen wizard that guide us through the update process and select the proper version. Then we update it.

This process work seamlessly most of the time. But often results in 500 errors too.

 

How we fixed error 500

From our experience in managing servers, we’ve seen customers facing problems while doing an upgrade WHMCS. Any error in WHMCS need detailed troubleshooting. Let’s take a closer look at how our Support Engineers fix the problems with WHMCS.

 

1. Permission errors

Recently, one of our customers had a 500 error on his WHMCS panel. When he tried to post a ticket, he was getting Internal Server Error:500.

Then our Support Engineers took the following steps to solve the issue.

1. Firstly, we logged into the server as a root user.

2. For further troubleshooting, we checked the Apache error log to identify the root cause and found the following permission denied entries.

[sun May 17 19:16:31.786671 2019] [cgi:error] [pid 27734] [client IP:1024] AH01215: (13)Permission denied: exec of '/home/user/public_html/index.php' failed: /home/user/public_html/index.php
[sun May 17 19:17:49.369686 2019] [cgi:error] [pid 27636] [client IP:1024] AH01215: (13)Permission denied: exec of '/home/user/public_html/index.php' failed: /home/user/public_html/index.php
[sun May 17 19:19:44.399634 2019] [cgi:error] [pid 27639] [client IP:1024] AH01215: (13)Permission denied: exec of '/home/user/public_html/index.php' failed: /home/user/public_html/index.php

3. So, we had to set up the write permission for Apache user on the install folder.

4. At last, we restarted the Apache service.

That fixed the issue and the customers were able to post tickets successfully.

 

2. Lack of memory in PHP

Similarly, many customers get WHMCS Internal Server Error:500 because of lack of PHP memory too. In such cases, our Support Engineers solve this issue by increasing the memory_limit to the required value.

In order to increase the memory_limit, we take the following steps.

1. We first identify the current value from WHMCS > Utilities > System > PHP Info.

2. Then, we increase the memory_limit directive in the PHP configuration, followed by a web server restart.

That fixes the memory error and WHMCS works normally.

 

3. Automatic update failure

Sometimes, the Automatic WHMCS update may not work as we expect. It may cause problems like Internal Server Error:500 after the version upgrading. Therefore, our Support Engineers manually upgrade the WHMCS.

1. We download the latest full release of WHMCS from http://download.whmcs.com/

2. Next, we unzip the contents of the WHMCS zip file.

3. Then we upload the new files to your existing installation folder.

4. After that, we visit the installer page directly through > domain.com/whmcs/install.

5. We agree to the WHMCS End User License Agreement and follow the steps on screen to update the database.

6. After the successful installation, we delete the install folder from the server.

That’s it. We now have an updated WHMCS installation.

 

[Getting 500 error in WHMCS? We’ll fix it for you.]

 

Conclusion

In short, it is really critical to keep WHMCS in latest stable version. During the upgrade, to avoid WHMCS error 500 we need to set proper file permissions and memory_limit. Today, we saw how our Support Engineers fixed this error.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

2 Comments

  1. Alan

    Getting 500 error still with upgrading PHP to 256. Any other tips? Thanks!

    Reply
    • Arya MA

      Hi Alan,

      Do you still get errors while upgrading? We will need to check the server settings to figure out the actual reason. If you still find problems, we’ll be happy to talk to you on chat (click on the icon at right-bottom).

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Categories

Tags

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF