Title: PHP 7.3 errors
Last modified: June 1, 2021

---

# PHP 7.3 errors

 *  [albie5047](https://wordpress.org/support/users/albie5047/)
 * (@albie5047)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/php-7-3-errors/)
 * Hello
 * I tried to update to PHP 7.3 but when I want to login I get this error.
 * Warning: Use of undefined constant WP_CONTENT_DIR – assumed ‘WP_CONTENT_DIR’ (
   this will throw an Error in a future version of PHP) in /home/f3157076/public_html/
   wp/wp-includes/load.php on line 141
    Your PHP installation appears to be missing
   the MySQL extension which is required by WordPress.
 * Can someone help
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-7-3-errors%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [anant101289](https://wordpress.org/support/users/anant101289/)
 * (@anant101289)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/php-7-3-errors/#post-12188715)
 * Hello [@albie5047](https://wordpress.org/support/users/albie5047/),
 * There is missing mysql in your server,so please tell the server team about install
   mysql or enable the mysql. otherwise please tell me which server you have used,
   so i will help you more.
 * Thanks & Regards
 *  Thread Starter [albie5047](https://wordpress.org/support/users/albie5047/)
 * (@albie5047)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/php-7-3-errors/#post-12189003)
 * Hi [@anant101289](https://wordpress.org/support/users/anant101289/)
 * Thank you for the respond. Here is the server information. I hope this help.
 * Server Information
 * Hosting Package UHUX2
    Server Name cpt-cpanel-02 cPanel Version 76.0 (build 14)
   Apache Version 2.4.41 PHP Version 5.6.40 MySQL Version 10.2.29-MariaDB-cll-lve
   Architecture x86_64 Operating System linux Shared IP Address 196.41.130.152 Path
   to Sendmail /usr/sbin/sendmail Path to Perl /usr/bin/perl Perl Version 5.10.1
   Kernel Version 2.6.32-954.3.5.lve1.4.72.el6.x86_64
 *  [anant101289](https://wordpress.org/support/users/anant101289/)
 * (@anant101289)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/php-7-3-errors/#post-12190670)
 * Hello [@albie5047](https://wordpress.org/support/users/albie5047/),
 * you can edit below file
 * `wp-admin/setup-config.php`
    `define('WP_CONTENT_DIR', ABSPATH . 'wp-content');`
 * Patch defines WP_CONTENT_DIR at the start of setup-config.php along with the 
   others. That should fix it.
 * Only problem with that, Is that to install, it means *must* use mysql/default
   database.
 * if above solution not working then please contact server team or install mysql.
 * Thanks
 *  Thread Starter [albie5047](https://wordpress.org/support/users/albie5047/)
 * (@albie5047)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/php-7-3-errors/#post-12190978)
 * Hi [@anant101289](https://wordpress.org/support/users/anant101289/)
 * The the code did not work. I will contact the server team and ask them to install
   it.
 * Thanks for your help.

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

The topic ‘PHP 7.3 errors’ is closed to new replies.

## Tags

 * [hostgator](https://wordpress.org/support/topic-tag/hostgator/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [PHP 7.2](https://wordpress.org/support/topic-tag/php-7-2/)
 * [PHP 7.3](https://wordpress.org/support/topic-tag/php-7-3/)
 * [update](https://wordpress.org/support/topic-tag/update/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 43 participants
 * Last reply from: [albie5047](https://wordpress.org/support/users/albie5047/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/php-7-3-errors/#post-12190978)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
