Documentation

Difference between revisions of "Temporary PHP 5.5 server"

(Where is the hosts file?)
Line 1: Line 1:
We have sadly noticed that some users have not yet updated all their websites and applications to support PHP 7. As we have moved to PHP 7 during the weekend of the 25th and 26th of June, some websites have thus stopped working.
+
We have sadly noticed that some users have not yet updated their websites and applications to support PHP 7. As we've moved to PHP 7 during the weekend of the 25th and 26th of June 2016, some websites have stopped working.
  
To help users that are still using unupdated applications or CMSes, or make transition to new applications, we have therefore decided to temporarily offer a PHP 5.5 server.
+
To help users that are still using versions of web applications or CMSes that don't support PHP 7, or are making a transition to a new application, we have decided to temporarily offer a PHP 5.5 server.
Users are free to temporarily point their websites to the address of this server to update their applications and CMSes (like Wordpress, Drupal or Joomla, including plugins, modules, extensions and themes) or move content from an old website to a new one.
+
Users are free to temporarily point their websites to the address of this server to update their applications and CMSes (like Wordpress, Drupal or Joomla, including plugins, modules, extensions and themes) or to move content from an old website to a new one.
  
== Instructions how to use the PHP 5.5 web server ==
+
== How to use the PHP 5.5 web server ==
  
The PHP 5.5 web server is available on <code>193.190.253.243</code>. You can tell your machine to use that IP address for your website on your local computer by changing the host file.  
+
The PHP 5.5 web server is available on <code>193.190.253.243</code>. You can tell your machine to use that IP address for your website on your local computer by changing the hosts file.  
  
 
=== Where is the hosts file? ===
 
=== Where is the hosts file? ===
Line 24: Line 24:
 
Of course, if you use your own domain (.be, .org, .com) you can use that.
 
Of course, if you use your own domain (.be, .org, .com) you can use that.
  
Make sure that you '''remove these changes when you're done'''.
+
Make sure to '''remove these changes when you're done'''.
  
 
== I can visit my website, what next? ==
 
== I can visit my website, what next? ==
  
You can easily switch between the PHP 5.5 server and the regular PHP 7 servers by changing your host file.  
+
You can easily switch between the PHP 5.5 server and the regular PHP 7 servers by changing your hosts file.  
  
 
Make sure to update all aspects of your application. In case of Wordpress or another CMS, make sure that you not only update the system but also the different plugins, modules or extension and any kind of themes or templates.  
 
Make sure to update all aspects of your application. In case of Wordpress or another CMS, make sure that you not only update the system but also the different plugins, modules or extension and any kind of themes or templates.  
  
If after updating your application still does not work on the regular servers, first make sure that they actually offer PHP 7 support. For example CiviCRM sadly is still working on PHP 7 support. If that is not a problem, it is best to refer to your log files. Instructions on how to this can be found on [[Getting Apache logs]] and [[Managing PHP errors]].
+
If your application still does not work on the regular servers after updating it, confirm that they actually offer PHP 7 support. Some web applications, such as CiviCRM, are still working on PHP 7 support. If that's not the problem, please refer to your log files. Instructions on how to do this can be found on [[Getting Apache logs]] and [[Managing PHP errors]].
  
If problems persist you may contact us on ulyssis@ulyssis.org, but be sure to try by yourself first. While we do wish to help people with large issues, it is not our task to update your CMS for you.
+
If problems persist, you may contact us at ulyssis@ulyssis.org, but be sure to try by yourself first. While we do wish to help people with persisting issues, we're not responsible for keeping your CMS updated.

Revision as of 23:30, 2 July 2016

We have sadly noticed that some users have not yet updated their websites and applications to support PHP 7. As we've moved to PHP 7 during the weekend of the 25th and 26th of June 2016, some websites have stopped working.

To help users that are still using versions of web applications or CMSes that don't support PHP 7, or are making a transition to a new application, we have decided to temporarily offer a PHP 5.5 server. Users are free to temporarily point their websites to the address of this server to update their applications and CMSes (like Wordpress, Drupal or Joomla, including plugins, modules, extensions and themes) or to move content from an old website to a new one.

How to use the PHP 5.5 web server

The PHP 5.5 web server is available on 193.190.253.243. You can tell your machine to use that IP address for your website on your local computer by changing the hosts file.

Where is the hosts file?

On Windows: if Windows is installed in C:\Windows (the default), this will be C:\Windows\System32\drivers\etc\hosts.

On Mac OS X: /private/etc/hosts.

On Linux: /etc/hosts.

How should I change the hosts file?

If your website is at username.ulyssis.be and username.studentenweb.org, then you can point your website to the PHP 5.5 server by adding the following line to your hosts file:

193.190.253.243 username.ulyssis.be username.studentenweb.org

Of course, if you use your own domain (.be, .org, .com) you can use that.

Make sure to remove these changes when you're done.

I can visit my website, what next?

You can easily switch between the PHP 5.5 server and the regular PHP 7 servers by changing your hosts file.

Make sure to update all aspects of your application. In case of Wordpress or another CMS, make sure that you not only update the system but also the different plugins, modules or extension and any kind of themes or templates.

If your application still does not work on the regular servers after updating it, confirm that they actually offer PHP 7 support. Some web applications, such as CiviCRM, are still working on PHP 7 support. If that's not the problem, please refer to your log files. Instructions on how to do this can be found on Getting Apache logs and Managing PHP errors.

If problems persist, you may contact us at ulyssis@ulyssis.org, but be sure to try by yourself first. While we do wish to help people with persisting issues, we're not responsible for keeping your CMS updated.