Questions tagged [wordpress]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6
votes
4answers
39k views

Linux Wordpress can't write wp-config file

I installed the latest version of Apache2 / PHP / MYSQL on my PC. In the directory /src/www/htdocs I created a directory wordpress with all wordpress files. Then, when I tried to create the wp-...
5
votes
0answers
13k views

How to solve the issue “AH00169: caught SIGTERM” shutting down in Apache when running WordPress

Environment: debian9+LAMP+wordpress4.9.3, build on my local PC, and used myself. cat /var/log/apache2/error.log [Mon Feb 05 09:42:09.965635 2018] [mpm_prefork:notice] [pid 1083] AH00163: Apache/2.4....
4
votes
2answers
5k views

Apache ownership and permissions for wordpress

My question concerns Apache and the different ways it can operate. For this particular machine I am the only user, and I will be using the box mainly to run WordPress on a LAMP Stack with Ubuntu 12.04....
4
votes
2answers
12k views

CentOS - Issue with write permissions

I am running CentOS 6.4 and I have installed Wordpress on it. (along with LAMP) Now the problem is, that I cannot make any write changes to any files in the wordpress editor: eg. header.php, style....
4
votes
1answer
184 views

Search file name within file

Someone put a lot of malicious code onto every single wordpress instance on my server. For the second time. (At least) Every js file has been modified. There is a pattern though, the code always looks ...
3
votes
1answer
798 views

FreeBSD jails - Nginx, PHP-FPM, Wordpress - Share folder between jails (read-only)

Question I want to separate PHP (PHP-FPM) and Nginx into different jails. One jail with Nginx, and one with PHP-FPM / PHP / Wordpress. Nginx is good at serving static assets, so I would like to ...
3
votes
2answers
1k views

How do I install WP-CLI for all users on centOS 7

I've followed the instructions provided on the wp-cli.org site but I can't seem to get the wp command to run for all users. I copied the file to /usr/local/bin and renamed it to wp per the ...
2
votes
1answer
282 views

Apache authentication mutiple domain but same subdirectory

I've got several sites: example.com, example1.com, and example2.com in my wordpress. All of them point to my server's /public_html folder, which is my Apache root folder. What do I need to add to my ....
2
votes
3answers
7k views

Apache2 permissions issue

I have changed my DocumentRoot to /home/user/www. To achieve that I have just changed the 2 occurrences of the path at /etc/apache2/sites-available/default. The permissions of /home/user/www are ...
2
votes
1answer
293 views

What does this code really do?

I am testing iThemes security plugin for Wordpress. It adds the following code: # Rules to help reduce spam location /wp-comments-post.php { valid_referers jetpack....
2
votes
0answers
50 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 ...
2
votes
0answers
107 views

Need newly created files to inherit ownership

I have set up a Wordpress Server for my developers and it is working. However now when we copy over files to the /usr/share/nginx/html folder I am having permissions issues. I will try explain this ...
2
votes
0answers
120 views

WordPress high Steal time on Linux Ubuntu 16.04.1

I have a dynamic Wordpress website with multiple plugins, installed over an AWS EC2 t2.micro Instance with a Linux Ubuntu 16.04. At some point of working on the admin panel on different occasions, ...
1
vote
2answers
52 views

Redirect all lines of code to the same file in a single line

I have the following command set used to update all my WordPress sites in my CentOs shared-hosting partition on my hosting provider's platform (via daily cron). The wp commands inside the pushd-popd ...
1
vote
1answer
69 views

Install wordpress package always require apache?

Debian's WordPress package depends on apache|httpd, lighttpd also provides httpd, but when I try to install WordPress, apt requires me to install apache2! What I should do? I want to use only ...
1
vote
1answer
52 views

Change permissions of users and groups? [closed]

How can I list all users and groups and change their permissions? I try to update Wordpress but my FTP user intranet_admin has not enough permissions and is unable to create a directory. Update ...
1
vote
1answer
638 views

Blank page after installing ISPConfig3

I have followed the instructions on HowToForge (only step #20) and setup ISPConfig3 without problems. The server is Debian Jessie 8.1; and it serves multiple domains. The main domain is example.com. ...
1
vote
2answers
3k views

Which is the user used by Wordpress?

I've setup Wordpress, however Wordpress is unable to make changes within folders, and after some research it was determined that this is a permissions issue; the user used by Wordpress, is unable to ...
1
vote
1answer
1k views

How to Link File URLs?

I am currently running WordPress/Woocommerce on an Apache server. I have files for sale on the server, located outside of the public path for security. I am attempting to link the downloadable files ...
1
vote
1answer
99 views

Find and Replace in wordpress postings

I have a wordpress blog with 93 posts on it, in which I want to replace [bash] with <pre> but how do I do it please? I need to go through all the posts changing [bash] to <pre> in each one,...
1
vote
1answer
40 views

Shortest way to automatically upgrade all WordPress instaces under document root (>=4.7.x)

I have a Ubuntu 16.04 Nginx environment with a few minimal WordPress sites (virtually all with up to 5 conventional plugins, 10 pages, 10 images, and a simple contact form to send only textual data). ...
1
vote
1answer
951 views

Extracting Wordpress.zip file on Linux server

I'm new to Linux and I'm currently trying to do the following: unzip the contents of wordpress-4.1.1.zip to the directory in which it is contained which is /my-test-site/wordpress-4.1.1.zip I ...
1
vote
1answer
260 views

How to find site on shared server that is generating httpd requests

I have a shared server that had a Wordpress site that was compromised. I cleaned out all the wordpress sites on the server and everything seemed to be fine. When I checked today I noticed a large ...
1
vote
1answer
231 views

htaccess Rewrite Issue

I have been attempting to correct an issue that I'm experiencing with WordPress. Following the advice on the WordPress.SE site I've tried to resolve it with an .htaccess rewrite rule, but for some ...
1
vote
0answers
8 views

Transferring wordpress site from server A to B ends with some corrupted js files in the target server

I had copied an entire wordpress site from one server (A) to another (B), and in the target server (B) a couple of js files seems to be corrupted like I show in the two screen captures.. In my local ...
1
vote
0answers
9 views

wp widget add custom_html removes tag

I want to execute wp-cli command but it removes <script> tag sudo runuser -l userName -c 'wp widget add custom_html footer-1 1 --title="" --content="<script>alert(123);</script>" --...
1
vote
0answers
426 views

Centos 6.6 box with single wordpress site - out of memory: kill process httpd repeatedly

So I have a Centos 6.6 box running as a LAMP stack. PHP 5.3.3 | Apache 2.2.15 | MySQL Server 5.1.73 This box is a VM running on XenServer 6.5, It has 4Gb memory available. total ...
1
vote
0answers
14 views

WordPress local install on Mint -need to set global NameServer

Local install of WordPress. I think I have everything set up to run WP admin install. I cannot get that page to come up. I do not know what I am doing. I am following instructions. I need more ...
1
vote
1answer
158 views

How do I upgrade PHP on CentOS 6.7 for CiviCRM 4.7 / WordPress?

Is there any kind of "official" repo for upgrading PHP beyond the stock PHP 5.3.3 found in CentOS 6.7? I'm trying to utilize the SCL repo's, but finding all sorts of peculiarities that seem to point ...
1
vote
1answer
2k views

How To Install and Configure ImageMagick for PHP and Wordpres on Amazon Linux AMI

I've installed a fresh Wordpress site on my Amazon Linux AMI following the setup instructions listed on the EC2 Tutorials section i.e. "Hosting a WordPress Blog with Amazon Linux". I'm also using the "...
1
vote
0answers
30 views

Reducing Apache-Spam

I got a hack-attack and all my Wordpress instances got modified. Now it seems that I have fixed everything and all my "backdoor-shells" and Wordpress-instances are back running secure (hopefully). ...
1
vote
1answer
105 views

Verify how command was executed

I run few PHP webpages with NGINX and PHP-FPM. Recently I hosted site for friend who had security issues with WordPress, did all upgrades, WP and Plugins. But somehow I found out today that user ...
1
vote
0answers
40 views

Postfix sending spam [duplicate]

I am running Ubuntu 14.04.3 with apache2, postfix and dovecot. Today (about 24 hours ago) my server started sending spam (like 10-20 mails to random addresses every 2-3 minutes) and I got blacklisted. ...
1
vote
0answers
262 views

Nginx wordpress and its wrong path

I've a Raspberry and I installed nginx and over this I put Wordpress. Wordpress installation come from an old backup of a websites that I hosted somewhere else. The URL was mydomain.com/home, now in ...
1
vote
2answers
162 views

Increasing the time for requests to complete

I have a one off web request that I need to send via a Wordpress page hosted on my server. The request takes a long time because it's processing a lot of data; unfortunately, the page returns with an ...
1
vote
3answers
417 views

chmod - What does this command do?

I found this command lines on the net: find . -type f -exec chmod 644 {} + find . -type d -exec chmod 755 {} + I'm not sure of what they do when executed... In theory I guess they go search of all ...
1
vote
2answers
240 views

Getting 403 in any php located in wp folders

Using VestaCP with nginx + httpd on CentOS 6.7 The website works perfectly, but to load php files from javascript failes since it gives 403 error. I have tried the following: (Every folder got the ...
0
votes
1answer
374 views

How to change the owner and group of a directory by the name of that directory?

I have a Ubuntu 16.04 Nginx server environment with several CMS (WordPress) websites under document root. All the site directories have www-data as owner and group, recursively. According to some ...
0
votes
2answers
54 views

Insert Line in Multiples Files

I have a CentOS Server with 200 Wordpress sites and now I want to insert this line in every wp-config.php file: define('DISABLE_WP_CRON', true) I know there exists a "for ... do ... done" ...
0
votes
1answer
516 views

Wordpress won't recognize the MySQL database

I want to install Wordpress on Archlinux but I have this error: Your PHP installation appears to be missing the MySQL extension which is required by WordPress. I un-commented this line in /etc/php/...
0
votes
1answer
28 views

A good way to delete all cache dirs of all CMSs under document root with Bash

Say that under document root I have 3 apps; One is WordPress, second is Drupal, and third is Magento. I wonder what's a good way to delete all cache directories of all CMSs under document root. I ...
0
votes
2answers
58 views

Shortening the WP-CLI install operation [closed]

WP-CLI is a Bash expansion that allows you to automate different operations in the popular CMS WordPress. Given my environment setup script is already quite long (by means of lines), I've setted the ...
0
votes
1answer
407 views

Out of memory error in apache running Wordpress with mod_php

I have Wordpress running in Production behind Load Balancer. The number of request is around 4 req/sec on each server as captured through apachetop. The system runs and intermittently throws "Out of ...
0
votes
1answer
60 views

web server redirecting?

I installed turnkey wordpress (turnkey-wordpress-14.0-jessie-amd64-disk1) on one computer and then I moved the vmdk to another computer. Now when I boot up the VM I get the turnkey windows with all ...
0
votes
1answer
26 views

How can I get Wordpress functioning from its new address?

I have a Wordpress installation which I wish to redirect from http://dev.example.com to https://example.com I can get an unstyled page like the below; the browser balks at loading HTTP content for an ...
0
votes
1answer
74 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
1answer
103 views

Slicing JSON with JQ to Create Arrays for New Relic Ingestion

I need to take some JSON, slice it using JQ so New Relic can parse it properly as it only takes a specific format when pushing JSON to their dashboards. I am using a bash script and WPCLI and then ...
0
votes
2answers
103 views

My Ubuntu 16.04 Install with WordPress keeps opening apache2 processes, eating memory [closed]

After a clean server reboot, the server will be okay. Upon visiting the website and clicking around on some links, apache2 processes are created but never terminated and it constantly takes up more ...
0
votes
1answer
25 views

Do I need port 993 to get email in a WordPress site?

Do I need port 993 unfiltered to get emails from a WordPress site? For example, in WordPress I've installed a plugin called "Contact form 7" (CF7) that gives you a basic contact form. In the plugin ...
0
votes
2answers
15k views

Uninstall Wordpress

I am still at the beginning and just wondering how to uninstall totally WordPress and then reinstall it. I installed first time from this tutorial.