1) php7 unpacked into the c:\apps\php7 . I can not run the following script:
<?php $link = mysql_connect("localhost", "qwe", "qwe"); ?> I get the error:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() As I understood the problem is that the extension for mysql is not loaded. But in order to download it you need to uncomment the corresponding line in the php.ini . But I could not find such a file.
2) I tried to do the following.
<?php dl('php_mysqli.dll'); $link = mysql_connect("localhost", "root", "root"); ?> But again I got an error:
Warning: PHP Startup: Unable to load dynamic library 'C:\php\php_mysqli.dll' Apparently php looking for the extension is not where necessary.
Help me to understand.
mysqli_=) - Dmitriy SimushevPHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\php_mysqli.dll'- pank