DreamWeaver generates mysql queries instead of mysqli queries -
i working dreamweaver cc , wampserver version 2.5 apache version : 2.4.9 , php version : 5.5.12. when creat connecttion , queries using dreamweaver in deprecated form mysql instead of mysqli. connection string generated dreamweaver is
<?php # filename="connection_php_mysql.htm" # type="mysql" # http="true" $hostname_explorecalifornia = "localhost"; $database_explorecalifornia = "explorecalifornia"; $username_explorecalifornia = "root"; $password_explorecalifornia = "pass"; $explorecalifornia = mysql_pconnect($hostname_explorecalifornia, $username_explorecalifornia, $password_explorecalifornia) or trigger_error (mysql_error(),e_user_error); ?>
if change mysql_pconnect mysqli_pconnect break string.
and message: deprecated: mysql_pconnect(): mysql extension deprecated , removed in future: use mysqli or pdo instead in c:\wamp\www\dwwithphp\connections\explorecalifornia.php on line 9
is there way configuer dreamweaver generate mysqli queries instead of mysql???
in php.ini @ [windows extentions] have
extension=php_mysql.dll extension=php_mysqli.dll
and in [mysqli]
mysqli.max_persistent = -1 mysqli.allow_persistent = on mysqli.max_links = -1 mysqli.cache_size = 2000 mysqli.default_port = 3306 mysqli.default_socket = mysqli.default_host = mysqli.default_user = mysqli.default_pw = mysqli.reconnect = off
thanks
dov
adobe dreamweaver not support mysqli extension can install dreamweaver extension using mysqli dreamweaver. example mysqli database connector (https://mysqli.dwthai.com/) extension dreamweaver or etc.
Comments
Post a Comment