Copy link to clipboard
Copied
Boa tarde!
Instalei o Dreamweaver e o server database para poder usar o banco de dados do programa, e quando vou criar um novo banco, aparece a seguinte mensagem "your php server doesn't have the mysql module loaded or you can't use the mqsl_(p)connect funcions".
Gostaria de saber como resolvo este problema.
Obrigada!
Copy link to clipboard
Copied
Youre using php v7 and the DW server behaviours no longer support php v7. Infact you should NOT be using the old deprecated msql extension which the DW server behaviours use, because they are out-dated. You should be using the new mysqli or PDO extensions. Currently Dreamweaver has nothing in it which will automate the process for you - you will either have to purchase a third party extension from the likes of DMXZone https://www.dmxzone.com/go/22151/database-connectivity-collection-php or Webassist MySQLi Server Behaviors | Dreamweaver extension | WebAssist or you will have to write your own code.
Just make sure if you intend to make a purchase that the extensions work with the version of Dreamweaver and php you are using, I think they do.
If you want to use the old mysql extension then you will have to drop back to php v5.6 - I believe that was the last version which supported mysql.