kuba2 Posted March 14 Share Posted March 14 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 1 Link to comment Share on other sites More sharing options...
da² Posted March 14 Share Posted March 14 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. 3 Link to comment Share on other sites More sharing options...
kuba2 Posted March 15 Author Share Posted March 15 Many thanks for Your good answer! Is that a difficult thing, upgrading Processwire? Thanks again 1 Link to comment Share on other sites More sharing options...
da² Posted March 15 Share Posted March 15 You can do it with a module or manually. https://processwire.com/modules/process-wire-upgrade/ https://processwire.com/docs/start/install/upgrade/ 1 Link to comment Share on other sites More sharing options...
Inxentas Posted April 9 Share Posted April 9 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. 2 Link to comment Share on other sites More sharing options...
Ivan Gretsky Posted April 9 Share Posted April 9 On 3/15/2024 at 1:54 PM, kuba2 said: Is that a difficult thing, upgrading Processwire? Look here for a detailed instruction. 1 Link to comment Share on other sites More sharing options...
kuba2 Posted August 27 Author Share Posted August 27 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 Link to comment Share on other sites More sharing options...
Ivan Gretsky Posted August 27 Share Posted August 27 Hey @kuba2! I've got PW installations running PHP 8.1. So it should be possible. What exactly doesn't work? Show us the errors you got. 1 Link to comment Share on other sites More sharing options...
Gideon So Posted August 27 Share Posted August 27 Hi @kuba2 I am running a lot of processwire sites with PHP 8.3 and have no problem at all. Do you see any error message? It helps if you provide us the error message if any. Gideon Link to comment Share on other sites More sharing options...
kuba2 Posted August 27 Author Share Posted August 27 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 Link to comment Share on other sites More sharing options...
Ivan Gretsky Posted August 27 Share Posted August 27 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: Solve the issues in this module yourself (the author is not around anymore AFAIK). Use a more modern SEO module like this one. 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. 5 Link to comment Share on other sites More sharing options...
kuba2 Posted September 1 Author Share Posted September 1 Thank You very much 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now