Jump to content

Updating the PHP of processwire


kuba2
 Share

Recommended Posts

Hello

I made a website with Processwire some years ago and now the Hosting service says, that I have to update the PHP of the site.

Can anybody please help me how to do that?

Do I have to update the whole Processwire CMS or can I just exchange a .php file somewhere?

Thanks for any help

Jakob

  • Like 1
Link to comment
Share on other sites

Hello, updating PHP means you need to install a newer version of PHP, it's not directly related to ProcessWire in first instance. It depends of your OS (Windows, Linux), it also depends if this is a shared host or a dedicated server. In a shared host you usually have an administration interface provided by your hosting service to manage your server. In a dedicated server you generally do everything yourself.

About ProcessWire you have to check that the currently installed version is compatible with the PHP version you plan to install. Probably it won't be OK because you talk about years. If you plan to install PHP 8+ you'll also need to upgrade PW.

  • Like 3
Link to comment
Share on other sites

  • 4 weeks later...

I have used ProcessWireUpgrade for years over a decade without any issues. I do have to admit that I can work at least annually on most of the sites I run.

Only once did I have any problems with it, when UIKit became part of the core and I had to update a website that I built in 2012. That's over a decade ago!

That was the only instance where I had to upgrade PW manually, for which I followed this process which wasn't all too difficult. Basically came down to renaming some files so I could revert back in case I'd screw up. Aside from that it basically came down to uploading a new wire folder and refreshing the backend. Quite simple.

  • Like 2
Link to comment
Share on other sites

  • 4 months later...

Hello

I have upgraded Processwire, but it is still not working with PHP 8.1 or higher. What could I do next to make it compatible?

Thanks for Your wisdom

 

Attached is a photo of the directory with the newest updated wire folder.

Jakob

 

Screenshot directory.png

Link to comment
Share on other sites

Hi

Thanks for the quick reply! The following is shown
 

I am not up to date in all the website programming, therefor thanks again for Your help

 

Jakob

Bildschirm­foto 2024-08-27 um 08.53.31.png

Link to comment
Share on other sites

Hey, @kuba2! The issue is not PW itself, but rather a 3rd party module - MarkupSEO. It has not been updated for awhile (8 years)))

You should:

  1. Solve the issues in this module yourself (the author is not around anymore AFAIK).
  2. Use a more modern SEO module like this one.
  3. Remove all the SEO modules and cope with SEO needs with regular fields and creativity.

Anyway, you need to be able to change PHP versions back and forth and see what other modules might need an update.

  • Like 5
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...