my environment
ubuntu 14.04 , php 5.5 , nginx 1.76
i am using both opcache and xcache concurrently
PHP 5.5.19-1+deb.sury.org~trusty+1 (cli) (built: Nov 19 2014 19:33:43)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with XCache v4.0.0-dev, Copyright (c) 2005-2013, by mOo
with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies
with XCache Optimizer v4.0.0-dev, Copyright (c) 2005-2013, by mOo
with XCache Cacher v4.0.0-dev, Copyright (c) 2005-2013, by mOo
with XCache Coverager v4.0.0-dev, Copyright (c) 2005-2013, by mOo
i am just wondering can i use both opcache and xcache at the same time .. i dont know whether this allowed or not ? I know that both do almost the same job, but not sure if that would make any difference on the performance and speed.
suggestions invited ? so can i use both ?
I have similar environment (Ubuntu 14.04, PHP 5.6, XCache 3.2, Apache). In my tests when Zend and XCache enabled, the response time is the same of the XCache only. When I disable XCache, and use only Zend OPcache the time resquest reduced in 10ms. Maybe you be try OPCache + Redis (for variables), or use only XCache if the time response not make diference for you.
Related
I have a strange problem with Mac OS. Problem mixing two versions.
When I look at the PHP version through the VSCode:
When I look at the PHP version through the terminal:
~ ยป php -v
PHP 8.1.0 (cli) (built: Nov 28 2021 02:36:02) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.0, Copyright (c) Zend Technologies
with Zend OPcache v8.1.0, Copyright (c), by Zend Technologies
When I run a page of code in XAMPP containing phpinfo();
PHP Version 8.0.6
This program makes use of the Zend Scripting Language Engine:
Zend Engine v4.0.6, Copyright (c) Zend Technologies
with Xdebug v3.1.1, Copyright (c) 2002-2021, by Derick Rethans
I just want to have PHP installed on my system. What is the solution to my problem?
I have installed plesk onyx in my ubuntu server plus php v7.0 and v7.1. When I tried to install WHCMS v 7.3.0 he told me that I have old ioncube loeader version and I need to make an upgrade to continue the installation so I followed that tutorial : https://support.plesk.com/hc/en-us/articles/214527125-The-IonCube-loader-is-not-available-for-Plesk-PHP-7-1
and this is the version of php v7.0 and v7.1 :
root#sd-86418:/opt/plesk/php/7.1/lib/php/modules# /opt/plesk/php/7.1/bin/php -v
PHP 7.1.10 (cli) (built: Sep 29 2017 15:42:12) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.0.3, Copyright (c) 2002-2017, by ionCube Ltd.
with Zend OPcache v7.1.10, Copyright (c) 1999-2017, by Zend Technologies
root#sd-86418:/opt/plesk/php/7.1/lib/php/modules# /opt/plesk/php/7.0/bin/php -v
Cannot load the ionCube PHP Loader - it was already loaded
PHP 7.0.24 (cli) (built: Sep 29 2017 12:33:10) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.0.3, Copyright (c) 2002-2017, by ionCube Ltd.
with Zend OPcache v7.0.24, Copyright (c) 1999-2017, by Zend Technologies
The issue is all time I got HTTP ERROR 500. Please any one help me.
Cannot load the ionCube PHP Loader - it was already loaded
In Plesk ioncube module is already installed and loaded out of the box with the corresponding plesk-php70-ioncube-loader package. You shouldn't install it as described in the mentioned KB article.
Actually, it is a bad idea to install WHMCS on the server where Plesk is already installed. Consequences may be unpredictable. Anyway, why do you think that WHMCS installer uses Plesk PHP /opt/plesk/php/7.0/bin/php instead of OS vendor's PHP from /usr/bin/php with own outdated ioncubeloader?
Hello guys i have a php code that is running on the version 5.4 so i cannot use the version 5.5 i read alot of threads but nobody seems to solved me the problem can anyone help? thanks in adanvance
when i do php -v this is what i get
PHP 5.5.34-1+deb.sury.org~trusty+1 (cli)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
i am really getting crazy i dunno how to get it since i read that php is not supporting the 5.4 version any more
my environment
ubuntu 14.04 , php 5.5 , nginx 1.76
i am using both opcache and xcache concurrently
PHP 5.5.19-1+deb.sury.org~trusty+1 (cli) (built: Nov 19 2014 19:33:43)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
can i use both opcache and memchached together .. i dont know whether this allowed or not ?
suggestions invited ? ?
I got problem. My PHP 5.5.8 need a few seconds to start.
If in terminal run this command php -v, it will print version only a few seconds later (about 13). But second run prints it immediately. If i wait a little bit all the same.
What to do?
$ time php -v
PHP 5.5.8 (cli) (built: Jan 12 2014 18:50:29)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
with Zend OPcache v7.0.3-dev, Copyright (c) 1999-2013, by Zend Technologies
with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans
real 0m13.375s
user 0m0.029s
sys 0m0.024s