Outdated PhP Support
Copy link to clipboard
Copied
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 ?
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
try VSCode or RapidPHP, the latter is only available for windows.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
It supports up to 8.1
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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 :

