Questions tagged [wordpress]
The wordpress tag has no summary.
119 questions
0
votes
2
answers
117
views
Troj/PHPShel-CE and PHP/Agent-BJNA trojan
I'm currently dealing with a real threat: the trojans Troj/PHPShel-CE and PHP/Agent-BJNA showed up on my system. I've decided to move to another provider – the first server IP was already blacklisted, ...
2
votes
2
answers
231
views
Wordpress tries to connect as 'username_here'@'localhost' to MYSQL because of wp-config-sample.php
I run WordPress on my server, and everything is working well.
However, 1-2 times a day, I get the following warning in my Syslog:
Dec 26 04:48:35 my_hostname mariadbd[895]: 2024-12-26 4:48:35 12606 [...
0
votes
1
answer
39
views
How to log which application process removes a file from the server?
I have a situation and have described it here .
In short: Images from WP are randomly missing from the server while being kept in the database. I am confident that this is done through application and ...
0
votes
1
answer
292
views
How to certbot renew without stopping webserver?
Good day,
I'm having a problem renewing a domain with certbot. This is the error I'm getting:
root@mywebserver:~# certbot renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - -...
0
votes
1
answer
102
views
.htaccess configuration with static page and wordpress
Apparently I'm drawing a blank - must be a simple, stupid issue....
Scenario:
Website hosted by a provider w/ Apache WS - no root access. Existing static website is located in folder public_html (...
0
votes
0
answers
87
views
Mysql server under pressure?
I'm having issue with a server than hosting 5 Wordpress and 1 staging
Including on Woocommerce and one Bbpress with huge db.
The server got 120Go Ram with 500Mo swap set.
I have a TTFB around 3s...
...
0
votes
1
answer
58
views
I encountered an error in the YAML script when using Docker
I am using version: '3.8'
services:
mydb:
image: mysql:5
environment:
MYSQL_ROOT_PASSWORD: shiva
mywordpress:
image: wordpress
ports:
- 8080:80
links:
- mydb: ...
1
vote
0
answers
44
views
enhance performance in XEN VMs when copying lots of files inside the host
When I copy large amounts of data back and forth on my Debian XEN server in the host-VM, the server response in the webserver-VM with nginx becomes very slow.
This is how I cause the problem
in the ...
0
votes
0
answers
70
views
Apache - Move /wordpress installation to main website address
I just re-installed wordpress in Debian server and it sits in /var/www/html/wordpress directory. I used wordpress in the past, so I have partially configured things, just need to polish it a bit.
I ...
0
votes
0
answers
182
views
Cannot change or remove a file as root
This is driving me nuts... There's a lot of info over the place and I've spent quite some hours already without any success. A customer of mine haves a website compromised with some japanese SEO spam (...
0
votes
0
answers
1k
views
configure SELinux for Wordpress on Apache, Almalinux
I have an issue with SELinux that when enforcing (enabled) causes Wordpress on Apache to throw errors in the header like:
Warning: An unexpected error occurred. Something may be wrong with WordPress....
1
vote
4
answers
2k
views
Install memcache for Wordpress on debian with php-fpm
The install instructions for memcache are not really up-to date. How do I install on Debian using php-fpm and nginx?
I tried this:
apt install memcache zlib1g-dev php-dev
pecl install memcache
This ...
1
vote
2
answers
348
views
Running Nginx as different user; updating WordPress returns "The update cannot be installed ..." error
This is my first foray into customizing Nginx, which I have running on a Digital Ocean droplet. My site files are located in /sites/rob_app.
everything is owned by rob
all files are 0644
all ...
0
votes
0
answers
50
views
wordpress can not find database, while mysql_client can
I am trying to prepare a WordPress site, on my public web server, running apache2. The database host, I am trying to use, for the WordPress installation, is another server.
While I can successfully ...
0
votes
1
answer
84
views
How can I get MariaDB to resume action?
I was working on my Wordpress site, and to get a non-database, HTML version suitable for my datamine, such as is running correctly at https://orthodoxchurchfathers.com and https://searchgkchesterton....
0
votes
1
answer
1k
views
symlink doen't works with nginx and php-fpm and docker
I run a wordpress site in local wiht docker, and in a plugin I send a GET request for a style.css file, which is a symlink, and it doesn't work, it answer a 404 not found
I don't think the probleme is ...
1
vote
0
answers
375
views
File Permissions for XAMPP (WordPress)
I tried this:
cd /opt/lampp/htdocs/
sudo usermod -a -G daemon john
sudo find . -exec chown john:daemon {} +
sudo find . -type f -exec chmod 664 {} +
sudo find . -type d -exec chmod 775 {} +cd <-...
0
votes
1
answer
558
views
WordPress site broke when updating to php 8.0
I am hosting a WordPress website on Debian 10. I just installed php8.0.
When I a2enmod php8.0, the WordPress site breaks entirely.
On Firefox I get the following message:
Secure Connection Failed
An ...
-2
votes
1
answer
2k
views
How to tell rsync to fetch files (fails with "No such file or directory")
sudo rsync -avP ~/wordpress/ /var/www/html/
Error receiving is:
sending incremental file list
rsync: change_dir "/root/wordpress" failed: No such file or directory (2)
sent 20 bytes ...
0
votes
0
answers
534
views
SymLink to WordPress themes folder doesn't seem to work
I am trying to build myself a custom WordPress theme using underscoretw.
Theme location is: /home/j/code/mechanic360/wordpress_theme/mechanic360/theme
And the nginx powered, local WordPress site sits ...
0
votes
0
answers
164
views
Nginx blocking Wordpress plugin update
Nginx seems to be blocking the update of some plugins like revisionary (used to do so with translatepress too but didn't the last time) by locking some strange files inside the plugins directory. The ...
0
votes
0
answers
312
views
Wordpress site has been hit with gutenblock-64/stealth process
The process has been taking up a lot of resources and has been sending DDos(?) to other sites.
It ran under as www-data.
What it does :
it downloaded under wordpress's wp-content folder and run ...
1
vote
0
answers
72
views
Gzip compression not enabled
Our wordpress website we need to enable gzip compression
we followed below instruction to enabled.
we have wp rocket plugin this plugin automatically added compression mode_deflate lines in .htaccess
...
0
votes
1
answer
36
views
Remove exact specific code across multiple php files
I have malware links at bottoms of all my WordPress footers.
I need a better method to mass remove the following across multiple footer.php
<?php
/* Always have wp_footer() just before the ...
0
votes
2
answers
112
views
Apache+Wordpress: How to add http://localhost:3002 page as https://mydomain.com/anotherpage
I have single Wordpress webpage on LAMP server. It's running perfectly. I am very newbie to networking and www, I don't want to break my page which serves as eCommerce and brings me income. My webpage ...
-1
votes
1
answer
535
views
Remove all hidden files except specific files
I have a vps server that had been attacked with a virus which keeps injecting many hidden files. How can I delete all hidden files in directories and sub directories of the public_html folder, except ...
0
votes
1
answer
181
views
wp.cli and sendmail not working via cron but do work when manually run
Not sure if this belongs on Wordpress Stackexchange or here. I think here as the last line in my code is not Wordpress specific.
I have the following code in a .sh file which I run weekly using Cron.
...
1
vote
0
answers
172
views
WordPress error: Download failed. Destination directory for file streaming does not exist or is not writable
So I have just taken over managing a client's website and I am running into the error in the title whenever I try to update WordPress or install/update plugins.
So far I have tried creating a new temp ...
0
votes
1
answer
186
views
Linux host wordpress file upload size limit still 2MB despite all solutions online
I'm struggling to increase file upload size on my linux machine where I host my wordpress website...
Things I tried and that are still active:
.htaccess
php_value upload_max_filesize 64M
php_value ...
0
votes
0
answers
775
views
How to fix this Error: HTTP ERROR 500 and chcon: can't apply partial context to unlabeled file for WordPress
I am trying to correct this piece of code but I have an error and the code doesn't executed. I would like to use a Public IP to run WordPress as well.
The problem is that I can't run sudo chcon -t ...
0
votes
1
answer
3k
views
500 error on index.php with nginx + php-fpm
Before starting, I'd like to ssay this is my first experience with VPS, I have an Ubuntu 18.04 64bit minimal server.
For everything I tried so far I didn't tried using complex application. Just plain ...
0
votes
2
answers
1k
views
Cron Error: No such file or directory
Looking for some guidance around setting up a cron job to run every 15 minutes that sets off a script within the WordPress Plugin Amelia. According to their docs, I need to add the following line to ...
0
votes
1
answer
386
views
What is the cause of the bad performance of NGINX / PHP which host only 1 Wordpress website
I spawned a LXC container on our (Proxmox) hypervisor (we run multiple containers on it without any performance issue). I installed NGINX and PHP7.4 on it and host (currently) only 1 Wordpress website....
0
votes
0
answers
638
views
Ubuntu 14.04 - How to update to the latest version of PHP in order to run WordPress 5.4.1
I'm currently running Ubuntu 14.04 and trying to use the latest version of WordPress v5.4.1.
When trying to run my WordPress site, I'm receiving the error:
Your server is running PHP version 5.5.9-...
0
votes
0
answers
68
views
Can't get cookie free domain working for my WordPress page
I'm trying hard to get my cookie free domain working for my WordPress installation. I've followed a lot of tutorials but I still get no content over the new cookie free subdomain. These are my steps:
...
0
votes
1
answer
362
views
detect cms from list
my marketing department wanted from me detect our domains for that if they use Wordpress. I have our huge list of domains, but I can't find proper cms detector which will just save which domain has ...
2
votes
2
answers
187
views
How much safe is to allow a stranger Wordpress admin access to a CentOS node?
I am creating a website with Wordpress 5.2 on a CentOS Linux 7.7.1908 node. PHP version is 7.x.
I have asked assistance to the creator of the theme that I am using. The creator asks me admin access ...
1
vote
1
answer
2k
views
Docker nginx-proxy hangs on startup
Docker version 19.03.5, build 633a0ea838
Linux xxx 5.0.0-37-generic #40~18.04.1-Ubuntu SMP Thu Nov 14 12:06:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
I'm trying to setup an Nginx Proxy with Docker ...
0
votes
2
answers
928
views
WordPress not found when using wget
When I run wget https://wordpress.org/latest.tar.gz in my Ubuntu 16.04 server, I get this result:
I have tried other sources but they do not have the specific error that I do.
It seems to not find ...
1
vote
0
answers
156
views
NGINX location directive - Not serving gzip pre-compressed files
I have a Wordpress website where I am trying to serve through nginx, gzip pre-compressed html files generated by WP Super Cache plugin and for that I created a location directive with special headers ...
0
votes
2
answers
230
views
ed(1) adds ^M to every line of my file
I am working on automating a WordPress install. While editing wp-config.php file, I need to replace 8 lines containing put your unique phrase here with Salt generated by WordPress.org servers.
So, I ...
0
votes
1
answer
3k
views
InstantWP Alpine Linux - repository tag for world dependency 'apk-tools@edge' does not exist
I am using InstantWP which installs a virtual server running Alpine Linux. InstantWP is for running a local version of Wordpress. It has MariaDB 10.1 installed, which isn't the latest version of ...
1
vote
1
answer
58
views
Find name of directories that don't contain an specific subdirectory
I have more than 200 wordpress sites under /home2/blogname/public_html/ and I need to find what of these blogs don't have one subdir inside called "better-wp-security" under de plugins dir like: /...
0
votes
1
answer
54
views
how can I reset/modify Wordpress password
I ashed a question How to make Wordpress independent of hostname recently, and followed the advice by editing the mysql details.
This seemed quite successful and the Wordpress installation seemed to ...
0
votes
1
answer
122
views
How to make Wordpress independent of hostname
I set up a basic Wordpress installation (on a Raspberry Pi running Raspbian Stretch - Debian 9) using NGINX.
Recently I changed the hostname of my system (as part of a plan to ensure consistent ...
0
votes
2
answers
6k
views
nginx reverse proxy + static files
I'm serving wordpress behind a reverse proxy in nginx. I want to be able to serve also static pages that I have in a different root directory.
I tried this:
server {
listen 80;
...
0
votes
0
answers
2k
views
Wordpress site hosted on Digital Ocean - 100% CPU usage
TL;DR - when there's traffic (around 900) our sites' CPU reaches 100%, slow down and crush.
INTRODUCTION
Our company holds more than 40 content websites, hosted on Digital Ocean, using Wordpress CMS....
0
votes
1
answer
269
views
Cleaning infected site files from malicious code
I got 750 files that have injected by malicious code, and here is the code :
var _0x6eea=["\x56\x79\x7A\x43\x6B\x63\x4B\x65\x77\x37\x67\x39\x64\x43\x6C\x36\x77\x70\x6E\x43\x6F\x63\x4F\x57\x51\x38\...
0
votes
1
answer
365
views
Adding .htaccess to Wordpress results in 500 Internal Server Error
I am moving a Wordpress site to a new dedicated host.
I have managed to move the assets and import the wordpress database.
I update the wp_options to the tempory domain name (until I'm ready to make ...
2
votes
2
answers
246
views
Problem restoring Wordpress database
Some months ago I created a Wordpress implementation using NGINX and mariadb (on a Raspberry Pi running Raspbian Stretch).
This developed some problems (as a result of a failed attempt to install ...