Comments (5)
you can remove the opcache rpm using yum and install xcache rpm (assuming you did the php install with remi rpm) if available
yum --disableexcludes=all --enablerepo=remi search xcache
would show that
If no xcache rpm available .you will be able to compile xcache using pecl or from the tgz source using phpize ; configure;make;make install
from autom8n.
SUCCESS!
I did
yum --disableexcludes=all --enablerepo=remi remove php56-php-opcache
yum --disableexcludes=all --enablerepo=remi install php56-php-xcache php56-xcache-admin
and then modify the settings
nano /opt/remi/php56/root/etc/php.d/40-xcache.ini
and then
systemctl restart nginx
systemctl restart php56-php-fpm.service
ET VOILA!
Thank you very much sir!
from autom8n.
You can just do
systemctl restart ndeploy_backends
instead of
systemctl restart php56-php-fpm.service
Thats better and the way to manage php-fpm in nDeploy
from autom8n.
noted
thx
from autom8n.
tried xcache admin page with this 3 method but still get blank page or error
Method.1
cd /home/cpanel_user/public_html
ln -s /opt/remi/php56/root/usr/share/xcache xcache
Error.1
Page Not Found
Method.2
cd /home/cpanel_user/public_html
cp -a /home/cpeasyapache/src/xcache/xcache-3/htdocs xcache-admin
Error.2
Page Not Found
Method.3
nano /etc/nginx/sites-enabled/cpanel_user.com.include
## Xcache status pages for Remi repository
location ~ ^/xcacheadmin/(.+.php)$ {
alias /opt/remi/php56/root/usr/share/xcache/$1;
fastcgi_pass unix:/opt/remi/php56/root/var/run/netto.sock;
include /etc/nginx/fastcgi_params;
}
location ~ /xcacheadmin {
alias /opt/remi/php56/root/usr/share/xcache/;
try_files $uri $uri/ /index.php;
}
Error.3
This webpage is not available
ERR_CONNECTION_CLOSED
Xcache Setting
nano /opt/remi/php56/root/etc/php.d/40-xcache.ini
[xcache.admin]
xcache.admin.enable_auth = On
xcache.admin.user = "adminuser"
xcache.admin.pass = "7d5b7a58ed93e32d8b4u1e73880e750d"
xcache.mmap_path = "/tmp/xcache"
xcache.cacher = On
xcache.stat = On
xcache.optimizer = On
xcache.size = 256M
xcache.shm_scheme = "mmap"
xcache.coverager = Off
No Error in /var/log/nginx/error.log or /var/log/messages
Any suggestions
from autom8n.
Related Issues (20)
- custom nginx error_log for nemesida HOT 1
- Add autofix maxscale mysql on master cron
- Add default my.cnf.local on initial playbook run
- show maxscale/mariadb cluster status in WHM UI
- Extend proxy_to_master feature with a failover upstream setup
- nwaf whitelisting is accepting only one domain as parameter
- Basic spam filtering in postfix on slave nodes
- Cleanup WHM UI
- fix update_nginx_status_allow.py script on NAT-ed environment
- update maxscale to new version on playbook
- fix nwaf disable
- remove upgrade in server.j2
- Feature Request - Development Mode via App Integration HOT 1
- nginx stopped in slave for ssl error
- ansible dont support /etc/crontab for cron entry
- mariabackup gtid position script error
- Centos8 change rpm dependency to ansible-core instead of ansible HOT 1
- Remove nginx modules that no longer compile HOT 1
- move named stop step in playbook to end
- fix compatibility issue with centos7/centos8 in playbook run
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autom8n.