• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Your php server doesn't have the mysql module loaded

New Here ,
Feb 13, 2023 Feb 13, 2023

Copy link to clipboard

Copied

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.

TOPICS
Code , Extensions , How to , Product issue , Server side applications

Views

313

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 13, 2023 Feb 13, 2023

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 13, 2023 Feb 13, 2023

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 13, 2023 Feb 13, 2023

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 13, 2023 Feb 13, 2023

Copy link to clipboard

Copied

Thanks @osgood_ 

This means using php 5.x with mysql 5 will be compatible for what I am looking forward. Please advise.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 13, 2023 Feb 13, 2023

Copy link to clipboard

Copied

LATEST

Well you would need to find older download versions of either Wamp(Win only) , Xampp(Mac & Win) or Mamp(Mac only) servers which have php 5+ and sql to be compatible with the Dreamweaver server behaviours.

 

Seriously though, you should only be using php 5 and sql for any existing website which was built using those. You should not be starting any new project using that workflow.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 13, 2023 Feb 13, 2023

Copy link to clipboard

Copied

quote

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.


By @JK28382403rygf

 

Have you installed an Apache server on your local system? As @osgood_ has hinted, you will need to install WAMP.

 

See https://miloserdov.org/?p=7703 for more.

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines