Old site, old php version, please...

User 122279 Photo


Senior Advisor
14,447 posts
Online Now

It turns out that the site owner hadn't changed any settings at all. The server (Siteground.com, anyone who knows that one?) had been checking the site, from Bulgaria (!) and then done 'something'. They are unwilling to say what, or what had gone wrong in the first place. But they had been quick at trying to cast the blame on me, saying I had been using some 'custom php app'. Which I had not! All I used was the html Editor and the Menu builder. They also say that they have installed php 7.2, while this: https://jillneimark.com/info.php is showing something else. I'm not impressed with that company.

Well, thanks for taking time to check for me!
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 187934 Photo


Senior Advisor
20,181 posts

They could have 7.2 installed but the htaccess maybe selecting the older version.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2287960 Photo


Ambassador
580 posts

I am in UK.

Some hosts adding 7.2 by adding line in htaccess.

Second time this week Sitegroud has cropped up. Problem with WP not seeing new css. Siteground had turned on caching on server but not told anyone. When they turned it off problems solved.

Keith
User 122279 Photo


Senior Advisor
14,447 posts
Online Now

Keith, Eric:
The .htaccess has this line:
AddHandler application/x-httpd-php55 .php .php5 .php4 .php3


Is that the reason why I get the old php version when I call up the php info file?
What if I edit it by changing the '55' to '72'? Will the info file then report the newest php version if it is installed?
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 187934 Photo


Senior Advisor
20,181 posts

Yes,
AddHandler application/x-httpd-php72 .php
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 122279 Photo


Senior Advisor
14,447 posts
Online Now

Thanks, I'll try that when I get home. :)
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2287960 Photo


Ambassador
580 posts

SetEnv DEFAULT_PHP_VERSION 70


Above in .htaccess.

Another site has nothing in .htaccess.

All using php 7 and WP sites.

Keith

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.