Month: April 2020

Understanding fastcgi_cache_path, levels, keys_zone, max_size, inactive, use_temp_path

A note for myself to exaplain fastcgi_cache_path, levels, keys_zone, max_size, inactive, use_temp_path As documentation said, nginx will keep all active keys and information about data are stored in a shared memory zone, whose name and size are configured by the keys_zone parameter. As a matter of completeness, lets break down per part /var/cache/nginx is the place where the actual cache stored. Inside the …

Understanding fastcgi_cache_path, levels, keys_zone, max_size, inactive, use_temp_path Read More »

How to update php cli in DirectAdmin

Check the current version PHP CLI version in shell From the official DirectAdmin help page ,https://help.directadmin.com/item.php?id=2094 the way to install multiple version of PHP in the machine. Set the php1_release to the version The version to set as the php1_release will be the version in CLI You may modify the /usr/local/directadmin/custombuild/options.conf Re-compile all the PHP …

How to update php cli in DirectAdmin Read More »

ERROR: current transaction is aborted, commands ignored until end of transaction block (PG::InFailedSqlTransaction)

I’m trying to insert new row by using the import function from discourse, create_categories. It throw me this error. What cause this error appear ? I’m using this way to restore the docker data for keep testing on importing Full error message from console Solution In many cases, it should be corrupted in PostgreSQL database, …

ERROR: current transaction is aborted, commands ignored until end of transaction block (PG::InFailedSqlTransaction) Read More »