Documentation

Difference between revisions of "Temporary PHP 5.5 server"

(Created page with "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 2...")
 
Line 4: Line 4:
 
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 move content from an old website to a new one.
  
= Instructions how to use the PHP 5.5 web server =
+
== Instructions 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 host file.  
  
== Where is the hosts file? ==
+
=== Where is the hosts file? ===
  
 
On Windows: if Windows is installed in <code>C:\Windows</code> (the default), this will be <code>C:\Windows\System32\drivers\etc\hosts</code>.
 
On Windows: if Windows is installed in <code>C:\Windows</code> (the default), this will be <code>C:\Windows\System32\drivers\etc\hosts</code>.
Line 16: Line 16:
 
On Linux: <code>/etc/hosts</code>.
 
On Linux: <code>/etc/hosts</code>.
  
== How should I change the hosts file? ==
+
=== How should I change the hosts file? ===
  
 
If your website is at <code>username.ulyssis.be</code> and <code>username.studentenweb.org</code>, then you can test if it works by adding the following line to your hosts file:
 
If your website is at <code>username.ulyssis.be</code> and <code>username.studentenweb.org</code>, then you can test if it works by adding the following line to your hosts file:
Line 26: Line 26:
 
Make sure that you '''remove these changes when you're done testing'''.
 
Make sure that you '''remove these changes when you're done testing'''.
  
= 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 host file.  

Revision as of 04:48, 2 July 2016

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 stopped working since then.

To help users that are still using unupdated applications or CMSes, or make transition to new applications more smoothly, we have therefore 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.

Instructions 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 host 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 test if it works 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 that you remove these changes when you're done testing.

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.

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 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.