Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql_connect is deprecated #82

Open
dwlsalmeida opened this issue Jun 23, 2016 · 3 comments
Open

mysql_connect is deprecated #82

dwlsalmeida opened this issue Jun 23, 2016 · 3 comments

Comments

@dwlsalmeida
Copy link

mysql_connect has been deprecated since PHP 5.5. Please switch to PDO or mysqli

@Mateusresende
Copy link

Good Morning!
I put resepresent.la on the server with PHP 7. It didn't work. Do you have any indication for me to know what to do? Or some other alternative?

We are looking to set up an agrotechnology startup network.
Which is very important for Brazil.

@Mateusresende
Copy link

How to switch to PDO or mysqli ?

@dwlsalmeida
Copy link
Author

Hello fellow countryman.

Replace the mysql_connect calls with their mysqli equivalents.

Shouldn't be too hard if you read up a bit on the documentation first.

Using PDO requires a bit of a rewrite but also nothing major.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants