Planetmt2 1 Posted August 5, 2018 Share Posted August 5, 2018 Good morning Could any of you help me with installing the metin2 home page? I'm trying to link the files of a homepage to my domain ... Configure everything in the right way "config" load it via ftp but it always gives me the same error any site I try to install! Error: Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /homepages/21/d747127343/htdocs/Homepage/index.php:11 Stack trace: #0 {main} thrown in /homepages/21/d747127343/htdocs/Homepage/index.php on line 11 Please help me... Link to comment Share on other sites More sharing options...
Esskimo 1 Posted August 5, 2018 Share Posted August 5, 2018 mysql_* functions have been removed in PHP 7+. You probably have PHP 7 in XAMPP. You now have two alternatives: MySQLi and PDO. Additionally, here is a nice wiki page about PDO. Best regards Esskimo Link to comment Share on other sites More sharing options...
Planetmt2 1 Posted August 5, 2018 Author Share Posted August 5, 2018 understood, so where do I know the version on the vps or on the site? Link to comment Share on other sites More sharing options...
Esskimo 1 Posted August 5, 2018 Share Posted August 5, 2018 You can use something really basic like this: <?php echo 'Current PHP version: ' . phpversion() ?> Just add it into the (for example) index file and you'll see the current version. 1 Link to comment Share on other sites More sharing options...
Planetmt2 1 Posted August 5, 2018 Author Share Posted August 5, 2018 I have Current PHP version: 7.2.8 You are fucking best my friend i love u i love you mother i love u father and i love good for!!!!!!!!! i resolved 1 Link to comment Share on other sites More sharing options...
iltizio 217 Posted August 5, 2018 Share Posted August 5, 2018 4 minutes ago, Planetmt2 said: I have Current PHP version: 7.2.8 You should update your code with mysqli library or mysql PDO. Or you can downgrade your php version with legacy one (php5.6). 1 Link to comment Share on other sites More sharing options...
Planetmt2 1 Posted August 5, 2018 Author Share Posted August 5, 2018 Yes thanks man , i have resolved ... change version php 5,6 thanks anyway to you too brother Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now