php_newbie05 Posted July 29, 2013 Share Posted July 29, 2013 (edited) Hi all. I am in the process of creating a basic website with php. I am working on a login and password page and someone in another forum told me I should stop using mySQL. My web host company is GoDaddy.com and the web hosting plan uses PHP 5.3. What should I do? Should I edit my login and password page to mySQLi now? Thank you in advance. Edited July 29, 2013 by php_newbie05 Quote Link to comment https://forums.phpfreaks.com/topic/280623-question-on-php-mysql-deprecated-as-of-php-550/ Share on other sites More sharing options...
AbraCadaver Posted July 29, 2013 Share Posted July 29, 2013 (edited) http://us3.php.net/manual/en/mysqlinfo.api.choosing.php You can check godaddy support or run this: if(class_exists('mysqli')) { echo 'mysqli installed!'; } else { echo 'mysqli NOT installed!'; } if(class_exists('pdo')) { echo 'pdo installed!'; } else { echo 'pdo NOT installed!'; } Edited July 29, 2013 by AbraCadaver Quote Link to comment https://forums.phpfreaks.com/topic/280623-question-on-php-mysql-deprecated-as-of-php-550/#findComment-1442591 Share on other sites More sharing options...
Adam Posted July 29, 2013 Share Posted July 29, 2013 They're referring to the original MySql extension - the functions starting with "mysql_" - and they're right, you shouldn't be using it now. As of PHP5.5 it will be deprecated, and completely removed in a future version. Given you're creating a new website though, you can just use MySQLi or PDO from the start. Quote Link to comment https://forums.phpfreaks.com/topic/280623-question-on-php-mysql-deprecated-as-of-php-550/#findComment-1442607 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.