Softaculous


Topic : Update PHP !


1

Posted By: wolke on November 30, 2019, 1:03 pm
Since a long time PHP 5.6 is EOL and does not receive any further updates, not even security updates.
It´s time to update the emps stack to a modern version of php.This need to be done by virtualizor. (because of code checking, re-encrypt files with ioncube and so on)

Posted By: chirag on December 2, 2019, 2:49 pm | Post: 1
Hi,

Sir yes, we are makign chnages in the core so that it can work on latest PHP version.
It will be out soon.

-----------------------
Virtualizor - VPS Control Panel
Follow us on Facebook

Posted By: wolke on December 2, 2019, 6:36 pm | Post: 2
Thx, that´s really good news!

Posted By: wolke on June 27, 2020, 2:20 pm | Post: 3
Half year later, "soon" is over.  :angel:

Posted By: chirag on June 27, 2020, 2:56 pm | Post: 4
Hi,

Sir we have committed the mysql related chnages and it will be there in 3.0.4

Once it is out we can update the EMPS to latest verison of PHP.

So you can say that the wait is about to finish.
Sorry for the delay in process.


-----------------------
Virtualizor - VPS Control Panel
Follow us on Facebook

Posted By: JanDragon on August 14, 2020, 12:26 pm | Post: 5
Hey.

The update is now released but when do you plan now to update PHP and other 3rd Party Software like MySQL? I would really prefer it to use updated software and not already long time outdated one.

Thanks
JanDragon

Posted By: chirag on August 14, 2020, 12:35 pm | Post: 6
Hi,

Sir with last update we have released the compatibility with latest php.
We will be updating the php and mysql soon.

-----------------------
Virtualizor - VPS Control Panel
Follow us on Facebook

Posted By: dialhost on April 10, 2021, 5:59 pm | Post: 7
This is very worrying.
The version of php 5.6 already had its end of life in January 2019n and are you still planning the change ?

Virtualizor is a great tool, but it needs to update itself more frequently and optimize its performance.

Posted By: chirag on April 13, 2021, 5:07 am | Post: 8
Hi,

Sir sorry for the inconvenience caused.
But we were doing chnages in core to update to php 7.
3.0.6 has compatibility with php7 and we are testing on php7 environment for this new version.
It will be out by the end of this month.

-----------------------
Virtualizor - VPS Control Panel
Follow us on Facebook

Posted By: access2it on July 16, 2021, 8:13 am | Post: 9
We are a few months further and is still no update available on this?

Posted By: chirag on July 16, 2021, 12:30 pm | Post: 10
Hi,

Sir New version of EMPS you will get by the end of this month.

We have tested it and all is working fine.
Updates will come if your version is on 3.0.6+
For older versions new emps update will not be provided.

Let us know for further information.

-----------------------
Virtualizor - VPS Control Panel
Follow us on Facebook

Posted By: chirag on September 15, 2021, 3:12 am | Post: 11
Hi,

Sir PHP 7.4 is out now.

-----------------------
Virtualizor - VPS Control Panel
Follow us on Facebook

Posted By: access2it on September 15, 2021, 7:18 am | Post: 12
Quote From : chirag September 15, 2021, 3:12 am
Hi,

Sir PHP 7.4 is out now.


Where can I do the update?
Is there any procedure?

Posted By: jevingala on September 15, 2021, 8:19 am | Post: 13
Hi,

You can view the updated version of php on Configuration->Server info page.
If its not updated yet, then you can wait for the cron to execute.
You can view emps upgrade cron time in cron file :

cat /etc/cron.d/virtualizor

Or you can use the command manually to update to new EMPs on your servers :

(check version)
cat /usr/local/emps/version (must be 4.0)

/usr/local/emps/bin/php /usr/local/virtualizor/scripts/emps.php upgrade

(check updated version)
cat /usr/local/emps/version (should be 4.1)



-----------------------
Regards,
Virtualizor Team.
http://virtualizor.com/

Posted By: tcivhm on October 27, 2021, 9:39 am | Post: 14
Hello Guys,
we got the Problem, that your Admin Interface on Port 4085 is blank. a simple white-page. After checking the logs we find out, that we got problems with the ioncube loader. we tried to run an virtualisor upgrade via ssh, but it does't work for sure..
/temp/ioncube# /usr/local/emps/bin/php /usr/local/virtualizor/scripts/emps.php upgrade
PHP Fatal error:  The file /usr/local/virtualizor/scripts/emps.php was encoded by the ionCube Encoder for PHP 5.6 and cannot run under PHP 7.1 or later.
Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 7.1. in Unknown on line 0
root@h2873823:~/temp/ioncube# cat /usr/local/emps/version
4.1

we checket the php.ini. where the ioncube loader 5.3.so is loaded.

any ideas? (i already copied the ionloader 5.6 to the same location of the 5.3.so file and changed the version in php.ini file. but after a restart we got the following error:
root@h2873823:~/temp/ioncube# /usr/local/emps/bin/fpmctl restart
$Stopping php-fpm: Done...
$Starting php-fpm: Failed loading /usr/local/emps/lib/php/ioncube_loader_lin_5.6.so:  /usr/local/emps/lib/php/ioncube_loader_lin_5.6.so: undefined symbol: zend_block_interruptions


Posted By: tcivhm on October 27, 2021, 9:45 am | Post: 15
After we reconfigured the ioncube-loader 5.3.so file and restarted the fpmctl service we got back to the blank page (no login shows up on port 4085)
in the php-fpm.log file we got the following error:
[27-Oct-2021 11:40:42] WARNING: [pool index] child 3036 said into stderr: "NOTICE: PHP message: PHP Fatal error:  The file /usr/local/virtualizor/main/functions.php was encoded by the ionCube Encoder for PHP 5.6 and cannot run under PHP 7.1 or later."
[27-Oct-2021 11:09:42] WARNING: [pool index] child 3036 said into stderr: " Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 7.1. in Unknown on line 0"


Posted By: jevingala on October 27, 2021, 9:47 am | Post: 16
Hi,


You can open a support ticket so that we can access your server and manually update panel and EMPs.

https://softaculous.deskuss.com/open.php?topicId=2

-----------------------
Regards,
Virtualizor Team.
http://virtualizor.com/

Posted By: jevingala on October 27, 2021, 9:47 am | Post: 17
.

Edited by jevingala : October 27, 2021, 9:48 am

-----------------------
Regards,
Virtualizor Team.
http://virtualizor.com/

Posted By: chirag on October 27, 2021, 3:56 pm | Post: 18
Quote From : tcivhm October 27, 2021, 9:45 am
After we reconfigured the ioncube-loader 5.3.so file and restarted the fpmctl service we got back to the blank page (no login shows up on port 4085)
in the php-fpm.log file we got the following error:
[27-Oct-2021 11:40:42] WARNING: [pool index] child 3036 said into stderr: "NOTICE: PHP message: PHP Fatal error:  The file /usr/local/virtualizor/main/functions.php was encoded by the ionCube Encoder for PHP 5.6 and cannot run under PHP 7.1 or later."
[27-Oct-2021 11:09:42] WARNING: [pool index] child 3036 said into stderr: " Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 7.1. in Unknown on line 0"


You changed the file which is included in virtualizor setup?If so then you might face issues.We have named it as 5.3 but its the latest version ioncube which works fine with the updated php version.
Please open support ticket so that we can check on your server asap.

-----------------------
Virtualizor - VPS Control Panel
Follow us on Facebook

Posted By: tcivhm on October 28, 2021, 6:16 am | Post: 19
Quote From : chirag October 27, 2021, 3:56 pm
Quote From : tcivhm October 27, 2021, 9:45 am
After we reconfigured the ioncube-loader 5.3.so file and restarted the fpmctl service we got back to the blank page (no login shows up on port 4085)
in the php-fpm.log file we got the following error:
[27-Oct-2021 11:40:42] WARNING: [pool index] child 3036 said into stderr: "NOTICE: PHP message: PHP Fatal error:  The file /usr/local/virtualizor/main/functions.php was encoded by the ionCube Encoder for PHP 5.6 and cannot run under PHP 7.1 or later."
[27-Oct-2021 11:09:42] WARNING: [pool index] child 3036 said into stderr: " Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 7.1. in Unknown on line 0"


You changed the file which is included in virtualizor setup?If so then you might face issues.We have named it as 5.3 but its the latest version ioncube which works fine with the updated php version.
Please open support ticket so that we can check on your server asap.

No, no the system is a running System, which is running since over 500 days. I think the bug appears since the last virtualizor update.

I downloaded the latest pakage of ioncube loader files from their website und just copied the .so to the right directoy. (it was /usr/local/emps/lib/php or something like that i guess. There was already the ioncube loader 5.3.so file.

after that we just edited the active php.ini somewhere inside the emps folder. After the test failed, we changed everything back to "default"

Posted By: chirag on October 29, 2021, 9:39 am | Post: 20
Hi,

Please open the ticket and we will check this on your server.

Let us know for further information.

-----------------------
Virtualizor - VPS Control Panel
Follow us on Facebook

Posted By: tcivhm on November 8, 2021, 3:55 pm | Post: 21
Quote From : chirag October 29, 2021, 9:39 am
Hi,

Please open the ticket and we will check this on your server.

Let us know for further information.

Unfortunately we bought a lifetime license for this system and the support ran out a few months ago..
BUT, i was able to fix the problem. The PHP Scripts where not up to date (still encoded for ioncube loader 5.6) but php incl. ioncubeloader was updated to 7.1.

Luckily i got a running Server with the current version of everything, so i was able to replace all the php files and got the interface back up :)

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.