N |
boundless |
A simple lightweight Ploi plugin that would appear only on the WordPress backend would be very convenient.
At the moment, I think there's just one feature I think it would need: The ability to enable, disable, or reset the OPcache. Resetting would basically reset the PHP FPM workers. This is an important feature because the OPcache often interferes with the way WordPress reflects out-of-date plugins and themes, and can also cause strange behavior when building or changing a website. It would help quickly resolve these issues without having to jump in the Ploi panel for every site. Disabling is kind of like putting the website in a pseudo dev mode.
Over time, other features could be added, as they become relevant or necessary. For example, basic info such as the IP address, SSL certificate status (without expiration date), the dates of the last file and database backups, etc. could be useful. Some competitors create plugins like this to manage SMTP credentials for connected send-only domains, toggle the use of CDNs, and expose other server functionality that is commonly required.
Activity Newest / Oldest
Dennis
Status changed to: Live
Dennis
Ploi plugin is now available, with more features to come!
github.com/ploi-deploy/ploi-wordpress-plugin
Cristian O. Balan
I think is not good for any WordPress install admin to be able to see all the servers and websites and change between these. This needs somehow to be isolated to the specific install. It is a great start though.
Dennis
We we're thinking of matching the hostname which selects it automatically.
Dennis
Someone from our Discord is currently developing this on basis of the bounty we've put out 🥳
Dennis
Status changed to: In progress
Sean Hynes
Would integration with WP CLI come in handy here ?
Cristian O. Balan
I'm currently using three different plugins for Redis, OPcache and FastCGI.
WP Redis wordpress.org/plugins/wp-redis/
OPcache Manager wordpress.org/plugins/opcache-manager/
Nginx Cache wordpress.org/plugins/nginx-cache/
It would be nice to kind have a three in one.
Peter Kuipers
Will try these, it would be awesome to have these combined in one plugin !
finalwebsites
Which path do you use for "Nginx’s cache path"
Dennis
This is the path where cache items are stored:
/etc/nginx/cache/domain.com
Cristian O. Balan
That path is currently owned by the root user so that needs to change to make clearing its cache possible.
Peter Kuipers
this would be very handy. Specially for resetting the opcache. I would love this this way users don't have to go int he ploi panel and can reset from the WP back-end.