Little tool here for you WordPress lovers.
This plugin (VestaCP Dashboard Widget) for WordPress will always be updated at the WordPress Repo: https://wordpress.org/plugins/vestacp-dashboard-widget/
Little tool here for you WordPress lovers.
This plugin (VestaCP Dashboard Widget) for WordPress will always be updated at the WordPress Repo: https://wordpress.org/plugins/vestacp-dashboard-widget/
If you’re using PHP 5.1 or newer, this little function is for you! It’ll search multidimensional array’s and return the top level key so you can pull the data.
I have created a little plugin for VestaCP called the VestaCP Tools Plugin (obviously unofficial as they don’t have any official way to create plugins yet). It’s a super simple way to get an overview of what’s going on inside your VestaCP server. It basically lists all the domain names, mail domains, cron jobs, etc globally so you don’t have to login to each individual user to get the data.
Please upgrade to VestaCP release 20. A security flaw currently affecting servers is present in release < 20. If upgrade is not yet available, please patch.
I decided to create the perfect VestaCP server installer script (in my opinion) for CentOS 7 (I have only tried it on CentOS 7). Basically, you run it, it asks a few questions and then it sets up a perfect server including CSF, Monit and PHP 7 (if you want it). Amazing, right?
I was looking for a way to do this for an installation where WordPress had many different header and footer templates depending on the default template used in WordPress, and it’s rather simple to Add Yoast SEO to WordPress Theme Header. If you haven’t already got Yoast, click here to get it. It will import settings from other major WordPress SEO plugins.
VestaCP comes prepacked with PHP-FPM (if you select the option when installing) which manages PHP processes. By default it spawns processes that stay alive constantly eating memory. We can further optimise the PHP-FPM settings by tweaking the configuration that’s made when adding a new domain name in an attempt to reduce PHP-FPM memory usage. (more…)
This really simple script to adhere to the EU Cookie Law is literally a copy/paste job which informs the user about cookies and asks them what they would like to do. If they accept cookies then it removes the notification for 365 days. If they decline the use of cookies it then continuously deletes any cookies set. (more…)
Fast-cgi .user.ini files work like .htaccess files.
From PHP version 5.3.0 you can use .user.ini instead of .htaccess files. Fast-CGI reads this file by default every 300 seconds (5 minutes). (more…)