Support

Admin Tools

#33665 Strange Warning about PHP

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Thursday, 08 October 2020 01:17 CDT

uzbaby

Dear developers,

I got this massege:

Severely outdated PHP version 7.1

Your site is currently using PHP 7.1.33. This version of PHP has becomeEnd-of-Life since Sunday, 01 December 2019. It has not received security updates for avery long time. You MUST NOT use it for a live site!

Admin Tools will stop supporting your version of PHP very soon. You mustvery urgentlyupgrade to a newer version of PHP. We recommend PHP 7.3 or later. You can ask your host or your system administrator for instructions. It's easy and it will make your site faster and more secure

 

But in my hosting I see that my php version is 7.3.21

 

I attached the scree where you can see my host information about php.

 

why admin tools shows me this warning?

nicholas
Akeeba Staff
Manager

Your screenshot shows which version of PHP phpMyAdmin is running under. It is not necessarily the same version your site runs under.

Most servers have many different PHP versions. The default version used for site hosting is typically older so the host can avoid support requests about outdated software breaking under newer PHP versions. cPanel and the various third party scripts it gives you access to, including phpMyAdmin, typically run under newer versions of PHP because they are faster, use less memory and are generally more efficient.

As for the warning, it asks PHP itself to tell it which version it is. In fact, it's reading the PHP_VERSION constant defined by PHP. This cannot change. It is set at compile time. If it tells you it's PHP 7.1.33 the your site does run under PHP 7.1.33 which is end of life for way too long.

Your cPanel should have a facility to change the PHP version you are using on your site. If you cannot find it or you are not sure what this means please ask your host.

PS: Speaking of upgrades and based on what I see in your screenshot you need to upgrade your computer's Operating System.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

uzbaby

Dear Nicholas,

Thank you very much.

Now it seems like fixed.

But now I see this:

Admin tools detected that your server configuration file has been modified. We strognly suggest you to put any manual edit inside the custom Rules field.....

 

Can you please say should I press Generate or Ignore button?

 

Thank you

 

p.s. This is the only computer that I have and it is quite old. Do you think it will impact on my site work or other things that I do with site in this computer?

nicholas
Akeeba Staff
Manager

When you are changing the PHP version what really happens is that cPanel is adding an AddHandler line to the bottom of your .htaccess file.

Open the .htaccess file with cPanel's File Manager and copy the AddHandler line.

Go to Admin Tools' .htaccess Maker. Find the "Custom .htaccess rules at the bottom of the file" area and paste that AddHandler line there. Now click on Save & Create .htaccess. This will fix the warning.

Regarding the Operating System on your computer, it has stopped receiving security updates. This means it's easier to compromise (hack it) via malware that targets known security issues in obsolete versions of this OS. Since you're using it to manage your sites you might end up with hacked sites if said malware hoovers up your login credentials. I strongly recommend updating.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

uzbaby

Thank you very much.

But now it shows this  kind of Warning:

WARNING!

Due to varying compatibility of the following settings among servers, applying the .htaccess file may cause inability to access your site with a white page or an Internal Server Error 500 message. In this case, remove the .htaccess and try disabling some options before reapplying.

If some of the aspects of your site suddenly stop working it's up to you to find the proper exceptions required for their correct operation. Instructions are given in the component's documentation.

Thank you so much

P.S. 

What version do you reccomend me to update? Computer is too old I don't know can he work with last operations systems. 

nicholas
Akeeba Staff
Manager

This is a standard warning. It is shown at all times to remind you that generating a .htaccess can never be a 100% risk free operation. It tells you how to save your site if things go sideways.

Regarding an operating system, I'd say to try a lightweight Linux distributions such as Xubuntu or Lubuntu (the latter is super light but the desktop looks like a throwback to late 90s / early 00s). I had a desktop that was barely mid-range back in 2008 when I bought it: AMD Phenom X3, 4GB RAM, 80GB spinning hard drive, ancient low resolution Samsung 19" LCD monitor. That's the desktop I started the company with. It was perfectly usable with Xubuntu as of October 2019 when I last used it. Best thing is, you can try it from a USB stick to see how well it works for you.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

uzbaby

Dear Nicholas,

Thank you very much for your brilliant support.

Can you please help with understanding Operating system that you mentioned. 

I though you talk about OS like Windows 7 or Windows 10, so after your last post I understand that I am wrong.

I attached my screen about my computer. 

Do you think I need to do something with it? It is quite old but the only what I have

 

Thank you

 

nicholas
Akeeba Staff
Manager

OK, I misunderstood what you need. If you absolutely need to use Windows you can use Windows 10 on your computer. It won't be exactly flying but it will not be unusable either. It's mostly the memory that's a bit on the low side but I reckon you're used to that.

But does it make financial sense? It comes down to your budget. A Windows 10 Home license would be around €130. A cheap HP Pavilion laptop with Windows 10 preinstalled and a much faster Core i3 processor is about 430€ and you can probably get another decade or so out of it. If you can afford it, get something with an SSD and 8GB RAM. These two changes make for a massive difference in performance. Trust me. That's how I got to buy an already outdated Core 2 Duo MacBook Pro 13" for cheap in mid-2010 and had it last me until 2013, all the while running the entire business on it.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

uzbaby

Of course I trust you! and always will :) You extension is the best in Joomla world.

Thank you very much. I will obey to your words and act. 

Thank you very much!

 

Have a nice day!

nicholas
Akeeba Staff
Manager

You're welcome! I am glad I could help :)

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!