Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




11 posts

Geek


# 259784 22-Oct-2019 13:21
One person supports this post
Send private message quote this post

I've recently been trying to help a friend in a bit of a difficult position with their web host provider.

 

The current host provider has given some notice to the fact that PHP4 support will be disabled at the end of the year and after much time and struggle, they nor I have been able to bring the site up from PHP4 to PHP5.2+ despite being the original developer.

 

They are a bit of an old timer (70+), and haven't kept up with their site maintenance as they should have - still operating on PHP4 - now long out of support.

 

The sites are all for non-profit organizations so there's no real cash flow to pay for an up front bill from a developer to bring things into compliance and managing their own private server is likely too steep of a learning curve for this to be a realistic option.

 

 

 

He's now faced with a couple of options.. Close the sites down and deliver the sad news to the non-profits that he provides services to, or to find a new host provider that does offer PHP4. (bearing in mind that this is might only be a temporary solution)

 

So far in my searches, I haven't managed to find a NZ based web hosting provider, but in reality the geo-location of the host is a preference not a need.

 

Wanting to know if anyone here has had a similar experience or if someone can recommend a PHP4 host provider?


Create new topic
15581 posts

Uber Geek

Trusted
Subscriber

  # 2341764 22-Oct-2019 13:31
Send private message quote this post

Create a virtual server in AWS (or any other place you like), create a t2.micro with Ubuntu, install Nginx, PHP4, and anything else required. It could be a bit more maintenance (run OS updates occasionally) and if things go wrong someone will need to fix it. AWS itself is reliable, it's the OS level that might need maintenance. You have to consider backups and such too.


350 posts

Ultimate Geek

Trusted

  # 2341766 22-Oct-2019 13:32
2 people support this post
Send private message quote this post

Legacy Apps ... such fun, I don't think any one is going to want to run php4 at this point as a service (no updates since 2008) at least its not windows based

 

I would go with a docker image of php4
https://hub.docker.com/r/nouphet/docker-php4/

 

Get a cheap linux VPN install the docker, and put it behind cloudflare of some thing similar and block all non NZ traffic

 

It wont be great security wise but worst case you just restart the docker image


 
 
 
 




11 posts

Geek


  # 2348397 5-Nov-2019 09:40
Send private message quote this post

Appreciate the suggestions. Looks like you've both come to the same conclusion and that I'll need to setup a small VPS environment for him with a few additional security layers. I just hope that after I walk away he's able to get up to speed and it doesn't crash and burn. You're definitely right about needing a good back up and recovery solution being setup from the get-go if its to survive with any reliability..


932 posts

Ultimate Geek

Trusted

  # 2348401 5-Nov-2019 09:51
Send private message quote this post

yosha:

 

Appreciate the suggestions. Looks like you've both come to the same conclusion and that I'll need to setup a small VPS environment for him with a few additional security layers. I just hope that after I walk away he's able to get up to speed and it doesn't crash and burn. You're definitely right about needing a good back up and recovery solution being setup from the get-go if its to survive with any reliability..

 

 

As @Killerkiwi2005 suggested above, I would also recommend going with Docker for the PHP4 functionality. The reason is that most mainstream distros will stop supporting PHP4 soon (or have stopped already), so you may be limited to what underlying distro you use. Keeping the PHP4 functionality inside a Docker container lets you run a modern, supported operating system on the host, and then choose an appropriate Docker image (or create your own) that is tailored specifically for running PHP4.


120 posts

Master Geek

Trusted

  # 2348405 5-Nov-2019 10:11
One person supports this post
Send private message quote this post

On the other hand - if you re-platform this onto a custom VPS box you're probably just creating more technical debt and future maintenance issues, especially considering that you can't already solve the PHP4->5 thing. What have you built in PHP, what's it doing? Could you just get them to shift over to a functionally similar SaaS app or CMS?





geek turned SEO charlatan ¯\_(~_~)_/¯


984 posts

Ultimate Geek

Trusted

  # 2348414 5-Nov-2019 10:41
One person supports this post
Send private message quote this post

Well over 10 years old. Probably even longer.

 

I would question the security of it.


BDFL - Memuneh
65355 posts

Uber Geek

Administrator
Trusted
Geekzone
Lifetime subscriber

  # 2348417 5-Nov-2019 10:50
One person supports this post
Send private message quote this post

All this... And what would be the feasibility of recreating the sites on a Wordpress, Umbraco or other more modern CMS?





Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Ring launches indoor-only security camera
Posted 23-Jan-2020 17:26


New report findings will help schools implement the digital technologies curriculum content
Posted 23-Jan-2020 17:25


N4L to upgrade & support wireless internet inside schools
Posted 23-Jan-2020 17:22


Netflix releases 21 Studio Ghibli works
Posted 22-Jan-2020 11:42


Vodafone integrates eSIM into device and wearable roadmap
Posted 17-Jan-2020 09:45


Do you need this camera app? Group investigates privacy implications
Posted 16-Jan-2020 03:30


JBL launches headphones range designed for gaming
Posted 13-Jan-2020 09:59


Withings introduces ScanWatch wearable combining ECG and sleep apnea detection
Posted 9-Jan-2020 18:34


NZ Police releases public app
Posted 8-Jan-2020 11:43


Suunto 7 combine sports and smart features on new smartwatch generation
Posted 7-Jan-2020 16:06


Intel brings innovation with technology spanning the cloud, network, edge and PC
Posted 7-Jan-2020 15:54


AMD announces high performance desktop and ultrathin laptop processors
Posted 7-Jan-2020 15:42


AMD unveils four new desktop and mobile GPUs including AMD Radeon RX 5600
Posted 7-Jan-2020 15:32


Consolidation in video streaming market with Spark selling Lightbox to Sky
Posted 19-Dec-2019 09:09


Intel introduces cryogenic control chip to enable quantum computers
Posted 10-Dec-2019 21:32



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.