![]() ![]() I also run another website from the same hosts which has no issues at all. Would an out of date plugin be causing this issue cause all my host details are showing it is running the latest PHP version and way above what that error message is suggesting. I have updated to the latest wordpress using firezilla and also updated my theme as well. This information is also taking from my control panel for my hosts. Server version: 5.6.51-log – MySQL Community Server (GPL)ĭatabase client version: libmysql – 5.5.65-MariaDB When i check my hosts the server is actually running PHP 7.4 Your server is running PHP version 5.4.45 but WordPress 5.7 requires at least 5.6.20. SSLCertificateFile /etc/letsencrypt/live/ DOMAIN.COM/fullchain.pemĬheck the configuration and restart Apache.I appear to be encountering an issue which is not allowing me to get into the admin side of my website. SSLCertificateKeyFile /etc/letsencrypt/live/ DOMAIN.COM/privkey.pem Header set Cache-Control "max-age=31536000, public" Header always set X-Content-Type-Options "nosniff" Header always set Referrer-Policy "strict-origin-when-cross-origin" Header always set Permissions-Policy "geolocation=self" Header always set X-Frame-Options: "SAMEORIGIN" ![]() Header always set Strict-Transport-Security: "includeSubDomains preload max-age=63072000" Header always set Content-Security-Policy "upgrade-insecure-requests" SSLProtocol All -SSLv2 -SSLv3 -TLSv1 -TLSv1.1 You can change that with your own certificates by changing the paths. Once you have SSL certificate ready you can update your Apache virtual host with 443 block and redirect from port 80 to 443.įinal virtual host configuration /etc/apache2/sites-available/nf Install Certbot on Ubuntu snap install certbot -classicĬertbot certonly -webroot -w /var/command openssl req -new -newkey rsa:4096 -nodes -keyout server.key –out server.csr Apache Configuration Check the link below for renewals and details. Install Certbot and get a certificate for web root. One is to use Certbot from Let’s Encrypt and get a free SSL, another is to get it from an authorized vendor of your choice. There are two ways you can have SSL in front of your site. Good job, you have successfully installed WordPress. Open the domain/url in a web browser and start the installation. chown -R www-data:www-data /var/www/html Apache virtual host cd /etc/apache2/sites-available/Įnable this configuration and restart Apache. rm html/index.htmlĬhange owner of the web root. Move the files to the web server root directory. Unzip the package and remove it afterwards. Grant all on wordpress.* to identified by ' PASSWORD' mysqlĬreate database wordpress CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci Login to the database server and create a wordpress database, assign user to it. Run the following script to secure the database server with some initial configurations suggested by the script. Systemctl status php8.1-fpm Database setup Opcache.max_accelerated_files=10000 (line 1780)įor timezone check out PHP timezone manual. Opcache.interned_strings_buffer=96 (line 1776) *Line numbers are for guidance only max_execution_time = 180 (line 409) Update the following in php.ini for best configuration. apt install apache2 mariadb-server libapache2-mod-php php php-gmp php-bcmath php-gd php-json php-mysql php-curl php-mbstring php-intl php-imagick php-xml php-zip php-fpm php-redis php-apcu php-opcache php-ldap bzip2 zip unzip imagemagick vim ffmpegĪpache Modules a2enmod ssl rewrite headers proxy proxy_http deflate cache proxy_wstunnel http2 proxy_fcgi env expires Install PHP, Apache, MariaDB and other required packages. Ufw status Installation and configuration ![]() Configure UFW on Ubuntu ufw default allow outgoing ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |