We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 for Debian & Ubuntu (and optionally directly nginx-PHP-FPM)
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 for Debian & Ubuntu (and optionally directly nginx-PHP-F
short_open_tag was disabled on PHP 5.6 and PHP 7.4. This code works:
Code: Select all
<?php
phpinfo();
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 for Debian & Ubuntu (and optionally directly nginx-PHP-F
Good catch, from your screenshot I didn't notice that :)
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 for Debian & Ubuntu (and optionally directly nginx-PHP-F
Hi, how can I enable all mod for every php-fpm package version? Now I've a site running under 7.3-fpm and W3TC request to me all
mod_deflate: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_env: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_expires: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_filter: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_ext_filter: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_headers: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_mime: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_rewrite: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_setenvif: Not detected (required for disk enhanced Page Cache and Browser Cache)
I already tried to do
but it enables only for php-7.4 that is installed on the OS.
Thanks in advance
mod_deflate: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_env: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_expires: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_filter: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_ext_filter: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_headers: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_mime: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_rewrite: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_setenvif: Not detected (required for disk enhanced Page Cache and Browser Cache)
I already tried to do
Code: Select all
sudo a2enmod expires
sudo a2enmod headers
sudo service apache2 restart
Thanks in advance
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 for Debian & Ubuntu (and optionally directly nginx-PHP-F
All those apache2 mods are actually enabled, just PHP (W3TC) can't see it because it (PHP) is outside of Apache (it 's in PHP-FPM), and therefore can't see mods INSIDE Apache2.
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 for Debian & Ubuntu (and optionally directly nginx-PHP-F
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 for Debian & Ubuntu (and optionally directly nginx-PHP-F
It works well for me. But I faced an issue after setup ionCube loader for each PHP versions.
To use ioncube loader, I have to add a line like this to php.ini of each php version. Until this step, everything works great and ionCube loader work fine as well.
BUT when I change some value of php.ini (it calls the template I think) through VestaCP -> Server -> Apache configuration, all the other modified php.ini in different versions of PHP will be reset and the added line related to ionCube loader get erase!
I sured the web too much and found nothing. kindly please help :(
To use ioncube loader, I have to add a line like this
Code: Select all
zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
BUT when I change some value of php.ini (it calls the template I think) through VestaCP -> Server -> Apache configuration, all the other modified php.ini in different versions of PHP will be reset and the added line related to ionCube loader get erase!
I sured the web too much and found nothing. kindly please help :(
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 for Debian & Ubuntu (and optionally directly nginx-PHP-F
See https://forum.myvestacp.com/viewtopic.php?f=18&t=54devasign wrote: ↑Thu Aug 27, 2020 6:01 pmIt works well for me. But I faced an issue after setup ionCube loader for each PHP versions.
To use ioncube loader, I have to add a line like thisto php.ini of each php version. Until this step, everything works great and ionCube loader work fine as well.Code: Select all
zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so
BUT when I change some value of php.ini (it calls the template I think) through VestaCP -> Server -> Apache configuration, all the other modified php.ini in different versions of PHP will be reset and the added line related to ionCube loader get erase!
I sured the web too much and found nothing. kindly please help :(
You can NOT use VestaCP -> Server -> Apache configuration
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 for Debian & Ubuntu (and optionally directly nginx-PHP-F
dpeca wrote: ↑Thu Aug 27, 2020 7:35 pmSee https://forum.myvestacp.com/viewtopic.php?f=18&t=54
You can NOT use VestaCP -> Server -> Apache configuration
Thanks. But if someday I would like to change some PHP attribute (eg. enable imap or any thing else), and wanted it affect all version, what's would be the solution?
In other word, why they put this feature while we cannot use it!?