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

Outdated PhP Support

Community Beginner ,
Mar 24, 2022 Mar 24, 2022

Why is Dreamweaver use old, out of cycle php versions ? See version life cycles 

The versions I can choose, 5.6 or 7.1 are already are past their End-Of_life support:

5.6 is long dead and gone for many years

7.1 has been dead since Jan 1, 2020 with no updates or security fixes since...

Can we get more updated to 8.1 ?

 

 

626
Translate
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 ,
Mar 24, 2022 Mar 24, 2022

There won't be any more updates as far as we know. Adobe has said Dreamweaver will now only be minimally maintained. No new features are expected. You need to consider migrating to an alternative  editor if youre a serious developer, for php development  l would try php storm, a paid for option with php support as default  or VS Code a free editor,  which has many php plugins available.

Translate
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 ,
Mar 24, 2022 Mar 24, 2022

try VSCode or RapidPHP, the latter is only available for windows.

Translate
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 ,
Mar 24, 2022 Mar 24, 2022

Which version of PHP does your remote server have?

 

If unsure, copy this code into a PHP file and upload it to your remote server.

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>PHP Info Test</title>
</head>
<body>
<?php phpinfo() ?>
</body>
</html>

 

What to know when migrating to newer PHP versions.

https://www.php.net/manual/en/migration80.php

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
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 Beginner ,
Mar 25, 2022 Mar 25, 2022

It supports up to 8.1

 

Translate
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 ,
Mar 25, 2022 Mar 25, 2022

That's not the question. 

Which version is installed on your server right now?

I ask because that's the version you should maintain locally.

Upgrading to new PHP version could make existing scripts stop working.

 

 

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
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 Beginner ,
Mar 25, 2022 Mar 25, 2022

I feel that I should stay as current as possible locally and remotely...

I can choose the version on my remote server, and it goes to 8 - that's what I would like to use.

I can choose locally, and I'd like to go with 8 as well - what I would like to use.

 

I make needed changes when an updated PhP is released, or as things deprecate, and would affect my code.

My scripts won't stop working as I good with keeping up with them.

 

If Dreamweaver does not have plans to keep up with the technologies I use, and is minimally maintained as someone suggested above, thats fine. I just needed to know so that I can find a more current tool for my use.

 

Translate
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 ,
Mar 25, 2022 Mar 25, 2022

DW doesn't write PHP code for you.  But if you require code hinting and linting for PHP 8, find another tool.  Several were mentioned already.

 

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
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 ,
Mar 26, 2022 Mar 26, 2022
LATEST

If you want to have a look at doing this yourself you could probably make a new code hints file something like this:

 

1) Make a copy of this file: located at: C:\Program Files\Adobe\Adobe Dreamweaver 2021\configuration\CodeHints\php_7_codehints.xml

 

2) rename the copied file  php_8_codehints.xml

 

3) Edit as required and copy to path which should be something like: C:\Users\<username>\AppData\Roaming\Adobe\Dreamweaver 2021\en_US\Configuration\CodeHints

 

For Mac users, path to configuration folder is something like: Users : <username> : Library : Application Support : Adobe : Dreamweaver <version> : <language> : Configuration : 

Paul-M - Community Expert
Translate
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