NOX 21 Report post Posted February 7, 2019 There is any website that works with PHP7?? Or there is an way to make the pkoSite work with PHP7?? Quote Share this post Link to post Share on other sites
V3ct0r 2,116 Report post Posted February 8, 2019 Hello, @NOX! 8 hours ago, NOX said: There is any website that works with PHP7?? There are topCMS by @Perseus and Item Mall by @EZEQUIEL written using PHP7. Quote Or there is an way to make the pkoSite work with PHP7?? Yes, you can. You need change all removed from PHP7 mssql_*******() functions to PDO. Quote Some useful links / Полезные ссылки Tips for making a topic in 'Questions & Help' / Рекомендации по созданию тем в разделе "Помощь" Server Advertising Section Rules / Правила раздела "Реклама серверов" Available e-mail domains for registration / Допустимые e-mail домены для регистрации User groups / Группы пользователей User ranks / Звания пользователей "Broken" pictures on the forum / "Битые" изображения на форуме Beware of scammers! / Осторожно, мошенники! My developments / Мои разработки Mods for client and server / Моды для клиента и сервера PKOdev.NET website for Tales of Pirates Server / PKOdev.NET веб-обвязка для сервера Пиратии I do not provide any help in private messages and outside the forum. Use 'Questions & Help' section please. Thank you for understanding! Я не оказываю какую-либо помощь в личных сообщениях и вне форума. Пожалуйста, используйте раздел "Пиратия: Помощь". Благодарю за понимание! Share this post Link to post Share on other sites
NOX 21 Report post Posted February 8, 2019 Hi, @V3ct0r 6 hours ago, V3ct0r said: Hello, @NOX! There are topCMS by @Perseus and Item Mall by @EZEQUIEL written using PHP7. Im gonna have a look on those 2 websites later to study then :) 6 hours ago, V3ct0r said: Yes, you can. You need change all removed from PHP7 mssql_*******() functions to PDO. This seems a lot of work to do.. xD One little question, i was trying to create a new one from the 0, using PDO, but fail miserably to connect to the database, the version of SQL Server interfers??(I'm not very familiar with SQLServer, I was using SQL Server 2000 btw) Quote Share this post Link to post Share on other sites
Danny 31 Report post Posted February 8, 2019 10 hours ago, NOX said: Hi, @V3ct0r Im gonna have a look on those 2 websites later to study then :) This seems a lot of work to do.. xD One little question, i was trying to create a new one from the 0, using PDO, but fail miserably to connect to the database, the version of SQL Server interfers??(I'm not very familiar with SQLServer, I was using SQL Server 2000 btw) Hey, you need theese extensions, then add them to your php.ini and restart xampp. (theese dlls go to ext folder in php & use the 32 bit ones normally for xampp)https://github.com/Microsoft/msphpsql/releases download here, it should be windows 7.x , x beeing the version of php so lets say you use 7.2 it will be windows 72 zip. gl. Quote Share this post Link to post Share on other sites
NOX 21 Report post Posted February 8, 2019 36 minutes ago, Danny said: Hey, you need theese extensions, then add them to your php.ini and restart xampp. (theese dlls go to ext folder in php & use the 32 bit ones normally for xampp)https://github.com/Microsoft/msphpsql/releases download here, it should be windows 7.x , x beeing the version of php so lets say you use 7.2 it will be windows 72 zip. gl. Already have those extensions, but when try to connect to database give me the error: "Access denied for user 'tserver'@'localhost' (using password: YES)" Im searching for the fix rn Btw this error occurs only when I try to connect to the database inside SQL Server, when I try to connect to a database created in phpMyAdmin the connection is successful. Quote Share this post Link to post Share on other sites
V3ct0r 2,116 Report post Posted February 9, 2019 @NOX Have you installed 'sqlsrv' driver for PDO? Also its version should be the same as PHP version you using. Quote Some useful links / Полезные ссылки Tips for making a topic in 'Questions & Help' / Рекомендации по созданию тем в разделе "Помощь" Server Advertising Section Rules / Правила раздела "Реклама серверов" Available e-mail domains for registration / Допустимые e-mail домены для регистрации User groups / Группы пользователей User ranks / Звания пользователей "Broken" pictures on the forum / "Битые" изображения на форуме Beware of scammers! / Осторожно, мошенники! My developments / Мои разработки Mods for client and server / Моды для клиента и сервера PKOdev.NET website for Tales of Pirates Server / PKOdev.NET веб-обвязка для сервера Пиратии I do not provide any help in private messages and outside the forum. Use 'Questions & Help' section please. Thank you for understanding! Я не оказываю какую-либо помощь в личных сообщениях и вне форума. Пожалуйста, используйте раздел "Пиратия: Помощь". Благодарю за понимание! Share this post Link to post Share on other sites
NOX 21 Report post Posted February 9, 2019 9 hours ago, V3ct0r said: @NOX Have you installed 'sqlsrv' driver for PDO? Also its version should be the same as PHP version you using. @V3ct0r Im using PHP7.3 with 'sqlsrv' driver 7.3, gonna try with a different version of PHP and drivers to see how its going Quote Share this post Link to post Share on other sites