How to change default PHP interpreter?
How to change default PHP interpreter?
Hello, i have one question. Im using XenForo, and i want to use PHP 7.4, but i can install it only for domain. Is there way, how to install it like a default version?
- Jolinar
- Community Moderator
- Posts: 3560
- Joined: Sat 30. Jan 2016, 07:11
- Location: Weimar (Thüringen)
- Contact:
Re: How to change default PHP interpreter?
No, because the functionality of the panel is optimized for the default PHP version.
This is the right way.
Wenn jemand inkompetent ist, dann kann er nicht wissen, daß er inkompetent ist. (David Dunning)
Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
- In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
In this color, I write as a moderator and provide moderative guidance or justify moderative interventions - In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
In this color, I write as a community member and share my personal opinions and views
Re: How to change default PHP interpreter?
Hello, i changed PHP to 7.4.3, but in my XenForo ACP i still see 7.2. Have i to restart apache2 or a whole server for changes?
- OlliTheDarkness
- Posts: 1854
- Joined: Tue 14. Aug 2018, 16:41
- Location: Essen (NRW)
Re: How to change default PHP interpreter?
Changed for the Server or for the Domain ?
Right Way: Login as admin >> Domains >> Edit Domain >> PHP-Interpreter >> change PHP Version >> Save ...
Now wait ~60 Seconds and it run ... normaly
Mit freundlichen Grüßen
OlliTheDarkness
**************************************************************
Helden leben lange, Legenden sterben nie
World Hack Organization
**************************************************************
OlliTheDarkness
**************************************************************
Helden leben lange, Legenden sterben nie
World Hack Organization
**************************************************************
Re: How to change default PHP interpreter?
What is the best recommendation for PHP interpreter ?
Should I install the latest - currently 7.4.3 or something) and attempt to use the latest version for each site ?
Or is it recommended to stick to the v7.2 default version ?
Should I install the latest - currently 7.4.3 or something) and attempt to use the latest version for each site ?
Or is it recommended to stick to the v7.2 default version ?
- OlliTheDarkness
- Posts: 1854
- Joined: Tue 14. Aug 2018, 16:41
- Location: Essen (NRW)
Re: How to change default PHP interpreter?
It's a matter of taste, I think.
Everyone as he needs it.
Personally, I use the default of the OS in productive operation.
To develop and tinker, mostly the latest available.
Everyone has to decide for themselves.
Everyone as he needs it.
Personally, I use the default of the OS in productive operation.
To develop and tinker, mostly the latest available.
Everyone has to decide for themselves.
Mit freundlichen Grüßen
OlliTheDarkness
**************************************************************
Helden leben lange, Legenden sterben nie
World Hack Organization
**************************************************************
OlliTheDarkness
**************************************************************
Helden leben lange, Legenden sterben nie
World Hack Organization
**************************************************************
Re: How to change default PHP interpreter?
I installed 7.4, but im having some issues with SSL handshake, so i will probably move back to 7.2, because on 7.2 it was fine.
- OlliTheDarkness
- Posts: 1854
- Joined: Tue 14. Aug 2018, 16:41
- Location: Essen (NRW)
Re: How to change default PHP interpreter?
So I haven't had any problems in that direction.
At least not that I consciously noticed them.
The only negative is that some old-established functions have been blown out, but you already know that.
At least not that I consciously noticed them.
The only negative is that some old-established functions have been blown out, but you already know that.
Mit freundlichen Grüßen
OlliTheDarkness
**************************************************************
Helden leben lange, Legenden sterben nie
World Hack Organization
**************************************************************
OlliTheDarkness
**************************************************************
Helden leben lange, Legenden sterben nie
World Hack Organization
**************************************************************
Re: How to change default PHP interpreter?
Ok thanks! And i have another question. Where i can see a php.ini, if im using KeyHelp?
- OlliTheDarkness
- Posts: 1854
- Joined: Tue 14. Aug 2018, 16:41
- Location: Essen (NRW)
Re: How to change default PHP interpreter?
As usual, PHP Info.
Shows you all current configuration settings.
info.php
https://www.php.net/manual/en/function.phpinfo.php
Shows you all current configuration settings.
info.php
Code: Select all
<?php
phpinfo();
?>
Mit freundlichen Grüßen
OlliTheDarkness
**************************************************************
Helden leben lange, Legenden sterben nie
World Hack Organization
**************************************************************
OlliTheDarkness
**************************************************************
Helden leben lange, Legenden sterben nie
World Hack Organization
**************************************************************
Re: How to change default PHP interpreter?
Ok thanks! And if i can ask, where is php.ini or info.php file location on VPS server?
- OlliTheDarkness
- Posts: 1854
- Joined: Tue 14. Aug 2018, 16:41
- Location: Essen (NRW)
Re: How to change default PHP interpreter?
info.php you create yourself on your web space with the posted content.
Then you call them up as normal via the browser.
You will be shown all PHP values e.g. loaded modules etc., including the path to the php.ini used.
Then you call them up as normal via the browser.
You will be shown all PHP values e.g. loaded modules etc., including the path to the php.ini used.
Mit freundlichen Grüßen
OlliTheDarkness
**************************************************************
Helden leben lange, Legenden sterben nie
World Hack Organization
**************************************************************
OlliTheDarkness
**************************************************************
Helden leben lange, Legenden sterben nie
World Hack Organization
**************************************************************