Using an example, I will downgrade PHP in Ubuntu 18.04, in which version 7.2 is installed by default. I do not recommend downgrading PHP, since newer versions are more productive and close vulnerabilities, but there are times when you need to run an old script or engine that does not work on newer versions of PHP, and it is very difficult to fix the code due to the fact that there are a lot of files.
Continue reading “How to downgrade PHP”Category Archives: Web server
How to change user login in WordPress
To change the WordPress user login, you need to execute an SQL query to the database, since this cannot be done through the admin panel menu.
Continue reading “How to change user login in WordPress”How to Prevent WordPress Theme Updates
Once upon a time a free theme was activated on one site and a lot of changes were made in it, so that someone would not accidentally update it and not overwrite the changes, I did the following:
Continue reading “How to Prevent WordPress Theme Updates”Nginx. Parameter default_server
The default_server parameter defines the default server to which a client request will be sent in which the host field is empty or an unknown domain is specified in it. For example, when a client opens the server IP address in a browser, or when the server has several domains, for example, ixnfo.com, test1.ixnfo.com, test2.ixnfo.com, but not all domains are specified in the ngixn configuration.
Continue reading “Nginx. Parameter default_server”Installing Memcached
Let me give you an example of installing Memcached, which allows you to cache data in RAM.
Continue reading “Installing Memcached”How to get client IP address in logs instead of IP HAProxy
Once on the same server as HAProxy, I noticed that the server’s IP address is written in the logs, not the clients, or there’s simply no IP address at all and hyphens are displayed.
Continue reading “How to get client IP address in logs instead of IP HAProxy”Installing OpenCart on Ubuntu Server
OpenCart is an open source online store engine.
Continue reading “Installing OpenCart on Ubuntu Server”Transfer OpenCart to another hosting
I will describe the steps that need to be performed to transfer OpenCart to another hosting:
Continue reading “Transfer OpenCart to another hosting”Redirect HTTP to HTTPS in Nginx
In this article I will give an example of setting up constant forwarding http requests to https.
Continue reading “Redirect HTTP to HTTPS in Nginx”Installing WordPress and Nginx
For an example of a completed installation of WordPress with Nginx in the operating system Ubuntu Server 18.04.
Continue reading “Installing WordPress and Nginx”