Changed PHP version to 7.2 now 500 get Internal Server Errors!
FIXED- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Re: Changed PHP version to 7.2 now 500 get Interna...
20-04-2020 11:00 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
After advice in my Wordpress Dashboard, I changed my PHP version from 7.1 to 7.2 via hosting.plus.net. Now when I load my website, I get 500 Internal Server errors. Changing it back to 7.1 does not fix the issue either
Please help!
Thanks
Matt
Fixed! Go to the fix.
20-04-2020 12:33 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Take a look at these lines in the .htaccess files in your respective site folders:-
# for PHP-CGI
# AddHandler php-cgi .php
# Action php-cgi /cgi-bin/php-cgi
# for php and securewebexchange
# <IfDefine SSL>
# AddHandler php-cgi .php
# Action php-cgi https://secure50.securewebsession.eu/ccgi.[REDACTED].plus.com/cgi-bin/php-cgi
#</IfDefine>
I've commented them out for one of your sites (American Eclipse) and it's sprung back to life, so my money is on these files being the problem. Changing the PHP version looks to have tried changing the PHP mode/handler.
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Re: Changed PHP version to 7.2 now 500 get Internal Server Errors!
20-04-2020 12:47 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Fantastic. Thanks Bob. Fast response and a great help as always 🙂
Changed over to PHP 7.2, indeed, it tried to change the mode/handler again. Commented them out again and all sites now working with 7.2
Matt
Re: Changed PHP version to 7.2 now 500 get Internal Server Errors!
20-04-2020 12:52 PM - edited 20-04-2020 12:54 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
hmmm.. @bobpullen The odd thing is that WP Dashboard still thinks I'm using Version 7.1 ? I've ctrl-f5'd the wordpress dashboard in case it was an old cached page (see attached)
Re: Changed PHP version to 7.2 now 500 get Internal Server Errors!
20-04-2020 1:47 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I've a feeling 7.1.33 is the latest Apache version for our hosting environment, meaning the only way to upgrade is to switch to FastCGI. As you've found, that's going to cause a load of problems and it's not something I'd easily be able to help you with.
I'll ping Hostopia and see what their plans are in terms of future upgrades etc.
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Re: Changed PHP version to 7.2 now 500 get Internal Server Errors!
20-04-2020 2:05 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thanks Bob 👍
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Re: Changed PHP version to 7.2 now 500 get Interna...