Title: HTTP 500 error after php update
Last modified: June 15, 2020

---

# HTTP 500 error after php update

 *  [swarnabho](https://wordpress.org/support/users/swarnabho/)
 * (@swarnabho)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/http-500-error-after-php-update/)
 * I have upgraded my php version from 5.6 to 7.3 , after fixing the deprecated 
   functions and test running the website i am stuck with an issue . I have a plugin
   from where i am getting a parking fee calculated and returned on the home page,
   i am sending the data through ajax and updating the form . For some reason the
   php 5.6 version was not showing me any error but when i update it to 7.3 , the
   ajax call always shows a http 500 error and i cant access the page where the 
   script is written . This is the page that i am trying to send the data to using
   ajax :- [https://textifly.co/thecarportandspa.com.au/wp-content/themes/car-port-spa/show_calculation.php](https://textifly.co/thecarportandspa.com.au/wp-content/themes/car-port-spa/show_calculation.php)
   
   This only happens when i update the php version . Can anyone help me with this
   issue ?
    -  This topic was modified 5 years, 12 months ago by [swarnabho](https://wordpress.org/support/users/swarnabho/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhttp-500-error-after-php-update%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Ketan Vyawahare](https://wordpress.org/support/users/ketanvyawahare/)
 * (@ketanvyawahare)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/http-500-error-after-php-update/#post-12985348)
 * Hi [@swarnabho](https://wordpress.org/support/users/swarnabho/) ,
 * Have you turned on the DEBUG mode and tried?
 * I think it’s a version conflict with latest PhP.
 * If not please perform the steps below:
    1.  Open the wp-config.php file in your WP directory
    2.  Please check if you find a line as shown below:
    3.     ```
           define('WP_DEBUG', false);
           ```
       
    4.  If yes, then just change ‘false’ to ‘true’ and if you don’t see that line then
       add a line at the bottom of the file but set the value to ‘true’.
    5.  Now run the functionality that you are getting 500 with. Now you will see the
       exact error due to which you are getting 500.
 *  Thread Starter [swarnabho](https://wordpress.org/support/users/swarnabho/)
 * (@swarnabho)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/http-500-error-after-php-update/#post-12985617)
 * Hello [@ketanvyawahare](https://wordpress.org/support/users/ketanvyawahare/) 
   I have enabled the debug mode and tried the same functionality , it shows this
   error on the console [https://textifly.co/thecarportandspa.com.au/wp-content/themes/car-port-spa/show_calculation.php](https://textifly.co/thecarportandspa.com.au/wp-content/themes/car-port-spa/show_calculation.php)
   500….
 *  [Ketan Vyawahare](https://wordpress.org/support/users/ketanvyawahare/)
 * (@ketanvyawahare)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/http-500-error-after-php-update/#post-12986842)
 * Hi [@swarnabho](https://wordpress.org/support/users/swarnabho/) ,
 * I am sorry but I am just seeing the 500 page and nothing on the console.
 * I would request you to see the error_logs in your apache or nginx whichever you
   are using.
 * I would recommend to copy your site on local server so it will be easier for 
   you to access all the error logs files etc.
 * Let me know your thoughts.
 *  Thread Starter [swarnabho](https://wordpress.org/support/users/swarnabho/)
 * (@swarnabho)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/http-500-error-after-php-update/#post-12987462)
 * I think i will transfer it to my local apache server and check the error logs
   so that i can understand whats the exact error , i will let you know after i 
   get the error log .
 *  Thread Starter [swarnabho](https://wordpress.org/support/users/swarnabho/)
 * (@swarnabho)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/http-500-error-after-php-update/#post-12988814)
 * [@ketanvyawahare](https://wordpress.org/support/users/ketanvyawahare/) I have
   tried the same on my local apache server , the issue is my ajax cant find the
   page [https://textifly.co/thecarportandspa.com.au/wp-content/themes/car-port-spa/show_calculation.php](https://textifly.co/thecarportandspa.com.au/wp-content/themes/car-port-spa/show_calculation.php).
   I guess there is some issue with the htaccess file which doesnt allow the file
   to be accessed . But its working fine when the php version is 5.6 , the script
   page throws a http 500 error when i open it on the browser itself after the update.
   Can you suggest any fix for this ?
    -  This reply was modified 5 years, 12 months ago by [swarnabho](https://wordpress.org/support/users/swarnabho/).

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘HTTP 500 error after php update’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [swarnabho](https://wordpress.org/support/users/swarnabho/)
 * Last activity: [5 years, 12 months ago](https://wordpress.org/support/topic/http-500-error-after-php-update/#post-12988814)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
