close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

PHP 7

Thread began 6/14/2017 11:00 am by vernon webb | Last modified 10/02/2017 2:34 pm by Ray Borduin | 216 views | 5 replies |

vernon webb

PHP 7

I know this may not be the best place to ask this question and I may have been living under a rock for some time now, but I see the notice here of not updating the latest Dreamweaver and figure someone here has to have an answer.

I have upgraded to php7 on my server and my website stopped working. Also when I try to connect to the site using Dreamweaver I get a message stating that it "can't use the mysql_(p) connect functions" I started doing some Googling and I saw that these functions have been depreciated. What the heck does that mean? The function for databases altogether seem to have been taken out of Dreamweaver. Can someone please tell me what the heck is going on? How do we develop web sites now without these functions?

Sign in to reply to this post

Ray BorduinWebAssist

You should go back to a version of PHP before 7 for any existing sites. Hosting companies will continue to support earlier versions for the next decade or so, you just can't upgrade above PHP 6 for those sites.

You can use our MySQLi Server Behaviors for new sites using PHP 7. MySQL has been replaced by MySQLi (the "i" stands for improved). If you build sites with those they will continue to work for the foreseeable future on future versions of php.

Sign in to reply to this post

vernon webb

So setting up a new connection will not simply fix it?

Sign in to reply to this post

Ray BorduinWebAssist

No, all of the code referencing the database would change as well, not just the connection.

Sign in to reply to this post

jo271221

Existing Sites using dataassist

Originally Said By: Ray Borduin
  You should go back to a version of PHP before 7 for any existing sites. Hosting companies will continue to support earlier versions for the next decade or so, you just can't upgrade above PHP 6 for those sites.

You can use our MySQLi Server Behaviors for new sites using PHP 7. MySQL has been replaced by MySQLi (the "i" stands for improved). If you build sites with those they will continue to work for the foreseeable future on future versions of php.  


Can you please clarify - What is the plan for sites built using dataassist? I plan to have my websites up and running long beyond the next decade. What are my options?

Sign in to reply to this post

Ray BorduinWebAssist

SQL statements won't change, but the surrounding code will. Any code that refers to the database will have to be updated. That includes connections, recordsets, loops, inserts, updates, and display code.

We will have upgrade options in the new version of databridge, so when you open an existing server behavior and switch from a mysql to a mysqli recordset the associated code will be updated. But it won't work for custom code and will have to be done for all server behaviors individually.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...