Title: PHP Compatability Issues
Last modified: January 21, 2018

---

# PHP Compatability Issues

 *  [bature](https://wordpress.org/support/users/bature/)
 * (@bature)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-compatability-issues/)
 * Hello Guys
 * I have a compatibility problem with a custom made plugin on my site and the PHP
   Version.
    I used the Plugin “PHP Compatibility Checker” to scan the plugins in
   use on my website [http://www.amolep.com](http://www.amolep.com) and I got the
   following Error protocol for a custom Plug in I have called “T-Shirt Country 
   Combinations” Here is the Error protocol I got
 * FILE: /home/www/web11/html/wordpress_amolep/wp-content/plugins/amolep-tshirt-
   combination/Tshirt_combination_form_class.php
    ————————————————————————————————————————–
   FOUND 13 ERRORS AFFECTING 10 LINES ————————————————————————————————————————– 
   462 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since
   PHP 7.0; Use mysqli instead 466 | ERROR | Extension ‘mysql_’ is deprecated since
   PHP 5.5 and removed since PHP 7.0; Use mysqli instead 512 | ERROR | Extension‘
   mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
   527 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since
   PHP 7.0; Use mysqli instead 543 | ERROR | Extension ‘mysql_’ is deprecated since
   PHP 5.5 and removed since PHP 7.0; Use mysqli instead 543 | ERROR | Extension‘
   mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
   549 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since
   PHP 7.0; Use mysqli instead 549 | ERROR | Extension ‘mysql_’ is deprecated since
   PHP 5.5 and removed since PHP 7.0; Use mysqli instead 550 | ERROR | Extension‘
   mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
   558 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since
   PHP 7.0; Use mysqli instead 558 | ERROR | Extension ‘mysql_’ is deprecated since
   PHP 5.5 and removed since PHP 7.0; Use mysqli instead 559 | ERROR | Extension‘
   mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
   573 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since
   PHP 7.0; Use mysqli instead ————————————————————————————————————————–
 * FILE: /home/www/web11/html/wordpress_amolep/wp-content/plugins/amolep-tshirt-
   combination/plugin-update-checker/vendor/ParsedownLegacy.php
    —————————————————————————————————————————————————————————-
   FOUND 1 ERROR AFFECTING 1 LINE —————————————————————————————————————————————————————————-
   1412 | ERROR | Indirect access to variables, properties and methods will be evaluated
   strictly in left-to-right order since PHP 7.0. Use curly braces to remove ambiguity.—————————————————————————————————————————————————————————-
 * Here is the PHP Code referred to (for example, for line 462):
 *  if (!$gaSql[‘link’] = mysql_pconnect($gaSql[‘server’], $gaSql[‘user’], $gaSql[‘
   password’])) {
 * Line 466
 *  if (!mysql_select_db($gaSql[‘db’], $gaSql[‘link’])) {
 * How do i resolve these Errors?
    Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-compatability-issues%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-compatability-issues/#post-9886687)
 * You need to do some research on the change to using “mysqli_” functions in the
   place of “mysql_” functions. Unfortunately, it’s not a simple substitution. Contact
   the developer of your plugin.

Viewing 1 replies (of 1 total)

The topic ‘PHP Compatability Issues’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/php-compatability-issues/#post-9886687)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
