Correct PHP error after PHP upgrade "The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead"

I upgraded my php version on [url removed, login to view] from 5.2 to 5.6 and now i'm getting the following error:

Error message: Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home4/boyessen/public_html/newphilly/php/[url removed, login to view] on line 22

I'm getting this same error on multiple/all my website pages.

I would like to have someone correct my code for one page and I'll implement the fix on my other pages, if possible.

I would also like the new compatibility to be added to be compatible with newer PHP versions up to the newest 7.1.

Skills: HTML, Javascript, MySQL, PHP

See more: deprecated mysql_connect the mysql extension is deprecated and will be removed in the future use mysqli or pdo instead in home1, fatal error upgrade php, fatal error redeclare class currencies adminincludesclassescurrenciesphp line, php, fatal error redeclare class ot_subtotal ot_subtotalphp line, fatal error redeclare class order_total order_totalphp line, error creating form object expected line, fatal error call undefined function tep_get_languages line, php image create line, php curl command line example, php script instead iframe, iis php load mysql extension, php mysql extension iis, php load mysql extension iis, php string break line line, linux php curl command line, error number 1267 mysql fiz, php curl command line, upgrade oscommerce mysql mysql5, php env calling line

About the Employer:
( 0 reviews ) Cumbola, United States

Project ID: #16603542

Awarded to:


Can i make it compatible with php 7.1 ? I will start right now. I will deliver it with in few minutes...........

$19 USD in 0 days
(207 Reviews)

13 freelancers are bidding on average $27 for this job


Hey, I can help you fixing PHP MySQL extension issue on your server right away... Contact me for more details. Regards, Haris Khan

$20 USD in 0 days
(499 Reviews)

Hi I am ready to fix your mysql issue and assure 100% satisfaction guarantee. Have a look on my profile to see my past work and reviews. Looking forward to your fruitfully reponse. Regards Muhammad Alyas

$34 USD in 1 day
(153 Reviews)

hello i am a php programmer and i can assist you in correcting your php error Please reach out to me in case u have any questions thanks coasif

$35 USD in 1 day
(253 Reviews)

I have more than 4 years experience as web developer and I have already converted many php projects to latest version of php, we can talk more over chat.

$35 USD in 1 day
(125 Reviews)

Hi there, I am web developer with good experience, I can fix the website and make it compatible with newer version of php. Send me a message if you have any question. Thanks!

$25 USD in 0 days
(100 Reviews)
$30 USD in 1 day
(36 Reviews)

hello I can solve your error available right now thanks jinank

$30 USD in 1 day
(16 Reviews)

A proposal has not yet been provided

$30 USD in 2 days
(10 Reviews)

Hey, I can fix it on one page of your PHP. I hope you will like my work.. thanks. Looking forward to hear your response.

$20 USD in 1 day
(1 Review)
$25 USD in 1 day
(2 Reviews)

i am new here , have much more experience in PHP. need good rating on my profile. and price are negotiable upto a limit

$20 USD in 1 day
(0 Reviews)

Hi Greeting! I am an expert PHP developer with extensive experience in building high quality sites. My experiences range from building responsive mobile sites that work well cross-browser to building scalable s More

$25 USD in 1 day
(0 Reviews)