Updating PHP FAQs

PHP 5.6 form errors

PHP 5.6 handles certificates different than previous versions. This may cause your mail form to throw the following warning:

Warning: stream_socket_enable_crypto

View the following article for details on how to fix this warning:

I’m not sure what kind of site I have. What can I do?

Most software packages will show the name of the software in the admin section:

  • To find this info, log into your site as you normally do and search for the software name and version number.
  • If you're unable to find the software name/version, then you may want to contact your web developer and confirm that the site they created is compatible with PHP 5.6.
  • If all else fails, you can always try switching the site to PHP 5.6 and look for any error messages on the site.

What if I have a One-Click Install?

The One-Click Installs have all been tested with PHP 5.6. If you’re running an older version of a one-click install app, DreamHost recommends that you upgrade to the current version.

View the following article for details on how to upgrade your One-Click Install app:

I have a custom site that was built by a developer/designer – what do I need to do?

The only issue would be if you’re using some deprecated functions the newer version of PHP no longer supports. You can search for the function at php.net. Its page will confirm which versions of PHP still support it.

Please bear in mind that DreamHost support cannot actually rewrite your code for you but they are available for questions.

See also

Did this article answer your questions?

Article last updated PST.