Skip to main content
Participant
February 13, 2023
Question

Your php server doesn't have the mysql module loaded

  • February 13, 2023
  • 1 reply
  • 943 views

I am using:

 

Dreamweaver CC 2015

PHP v 8.1.9

MySQL 

 

When I try to create database connection in dreamweaver, it gives me error message of "your php server doesn't have the mysql module loaded". Have tried multiple different ways, like shifting to older versions of php, downloading and placing php_mysql.dll, editing the php.ini file etc, but nothing worked. Please advise, as I am quite desperate to get this done as early as possible.

This topic has been closed for replies.

1 reply

Legend
February 13, 2023

PHP 8 won't have the old MySQL extension included, you' need to go back to PHP 5. Really you need to look at updating your site/web application to run on at least PHP 7x

Paul-M - Community Expert
Participant
February 13, 2023

Thanks @Paul-M  for quick reply.

 

Please guide me to setup dreamweaver cc 2015 so that I can connect to MySQL database on local environment (Windows 11 and IIS) without any issue.

Legend
February 13, 2023

If you are intending to program using php the current up to date free versions of local environment server applications available such as Wamp, Xampp and Mamp will not be compatible with Dreamweaver unless you purchase an extention. The default server behaviours in older versions of Dreamweaver were never updated to be compatible with versions of php beyond  5 and used mysql to connect so were removed in newer Dreamweaver versions. 

 

These days modern database connections use mysqli or PDO to connect and php v7 and v8, even v7 is considered old these days as its reached end of life.