Forum


WordPress database error: deprecated: mysql_connect()  

  RSS

rafab
Active Member
Joined:3 months  ago
Posts: 10
08/05/2017 4:45 pm  

My wordpress started to show this error :

WordPress database error: deprecated: mysql_connect()

Any ideas on the matter ? 

 


ReplyQuote
leo
 leo
Active Member Admin
Joined:2 years  ago
Posts: 8
08/05/2017 4:48 pm  

It looks like you upgraded your PHP version. The problem is caused by the fact that mysql_connect() is no longer supported in PHP7. The options are two :

Downgrade to PHP5.6  or contact your website developer and ask to review your website and update its code in accordance with the specifics of the PHP version you use 


ReplyQuote
rafab
Active Member
Joined:3 months  ago
Posts: 10
08/05/2017 4:49 pm  

Good point. I am checking the details. Thanks 


ReplyQuote
  
Working

Please Login or Register


We are not industry specific. We are WordPress specific. We work with everyone to help them find solutions with their troubles.
If you show us the problem you are experiencing, we will show you how to fix it. It is that simple.
wppotion - powered by persistence and passion