Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [wordpress]

The tag has no usage guidance.

0
votes
0answers
16 views

Add a Key Value Pair in JSON Object Using JQ and Bash

I have a script that crawls through a directory and pulls info from WP sites and builds a JSON array of objects that will eventually be fed into a visual dashboard. The script works perfectly but I ...
0
votes
1answer
21 views

Slicing JSON with JQ to Create Arrays for New Relic Ingestion

sorry for the long title. 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 ...
0
votes
1answer
20 views

Ubuntu 14.04 install “old lamp” stack for penetration testing

I am preparing WAF video for my team and I want to test a sample ubuntu server which will be my victim. I'd like to install "old version" of packages and deploy Wordpress on top of it and use some ...
0
votes
1answer
20 views

How do I sync shared folders to my WordPress directory?

How can I get my scripts in data folder synced to the wordpress themes folder? Currently I've got it set from this: config.vm.synced_folder "./data", "/vagrant_data" to this: config.vm....
1
vote
0answers
7 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>" --...
0
votes
1answer
43 views

Moving all directories into a folder, shut down my linux server

SO recently I tried moving all files in a directory into a directory within the file path I was requesting everything to move from. From the directory /srv/www/wptestsite I ran the command sudo mv ./*...
0
votes
2answers
65 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 ...
1
vote
1answer
41 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 ...
0
votes
0answers
6 views

wp tab completion is not working in lshell

I have a user with lshell and would like to provide "wp tab completion" to him. I followed all steps for wp-cli installation and downloaded wp_completion.bash file in his home directory. I have added ...
1
vote
2answers
50 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 ...
0
votes
0answers
13 views

git on cpanel pitfalls

A remote server running cpanel and wordpress has some out of date plugins. Can I grab the content and just download it? Something like: https://wordpress.org/plugins/wp-git-deploy/ will that ...
0
votes
0answers
16 views

How to mount/fuse a folder owned by www-data to a restricted user's home folder?

I have a user who has sftp capabilities that is locked inside of his home directory (by design): user: benny:sftpusers home/benny/wordpress root is the owner of home/benny, benny is the owner of ...
0
votes
0answers
52 views

nginx php 110:connection timed out running nextcloud and wordpress

I'm running a private server using nginx trying to host wordpress at the root of the directory and nextcloud in /nextcloud. Here is my nginx config file. There's probably lots of extra's I don't need ...
0
votes
0answers
63 views

Inotifywait not detecting Wordpress upload but does if sftp upload instead

I have inotifywait successfully running as -m started from my user directory using a bash script. My user is a member of www-data. Here is the script: #!/bin/bash inotifywait -m -r --exclude '.*\.tmp'...
1
vote
1answer
37 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). ...
4
votes
0answers
7k 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....
0
votes
1answer
27 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
52 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 ...
-1
votes
1answer
140 views

Shortening of DB and WordPress instance creation script

How could I further shorten the following script who's purpose is to create a database && WordPress instance and then change permissions per the domain given and restart the server? ${domain} ...
0
votes
1answer
140 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 ...
-1
votes
1answer
42 views

URL - Unix timestamp doubt [closed]

/?doing_wp_cron=1515663000.7121028900146484375000 this is appended automatically in my url. I know about the first part. i.e 1515663000. which denotes the unix timestamp of 11/01/2018 9:30AM. what ...
0
votes
1answer
21 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
0answers
82 views

Abusive requests

I have a server (centos with cpanel) in AWS and I received an abuse report saying that my server is doing some attack on others servers. Probably It is happening because my server has many WordPress ...
0
votes
1answer
327 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
101 views

Apache is not creating directories with sgid enabled

I added sgid recursively to the document root of my wordpress website. I can create files and directories inside with group inherited. Even directories created by FTP also working fine with sgid. But ...
1
vote
0answers
78 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 ...
0
votes
1answer
333 views

High CPU load for WordPress

Some plugins in WordPress are causing high CPU usage. Running atop command i can see that can php-cgi and mysql services are causing the load. Is there a way i can see via CLI what plugins are causing ...
1
vote
3answers
328 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 ...
0
votes
1answer
267 views

Permissions error with wordpress

So recently I had migrated my site to amazon Vps and getting too many permissions errors. I have already changed all folder permissions to > 755 and all file to > 644. Also, given chown of wp-upload ...
3
votes
2answers
696 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 ...
0
votes
0answers
185 views

How to break down process of top command in linux?

I got problem with my site. I have a sharing hosting with high load cpu usage with wordpress site. When i loggin through my ssh terminal and running top command I got the following snapshot. I'm ...
1
vote
2answers
179 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
117 views

symlinks creates duplicate folder name

I have purchased an ebs volume to keep all my wordpress uploads. My wordpress files are in /var/www/html and in order to link between the upload folder here and in ebs volume, i created a symlink as ...
0
votes
0answers
773 views

mysqld_safe restarting, but mysqld remains dead

I'm relatively new to Sys Admin, looking for assistance w/ a problem on my Amazon Linux EC2 server running Wordpress. Occasionally, the database goes down. To start debugging, I check mysqld status. ...
0
votes
1answer
59 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 ...
3
votes
0answers
106 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, ...
0
votes
2answers
11k 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.
1
vote
0answers
380 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
10 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 ...
5
votes
1answer
174 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 ...
1
vote
1answer
155 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 "...
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
0answers
97 views

What is the purpose of .been_here file?

I was browsing the files under .quickinstall when I located this file. It looks bit suspicious! The file, located at ~/.cpanel/quickinstall only says "I've been here".
1
vote
1answer
523 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. ...
3
votes
1answer
740 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 ...
1
vote
0answers
29 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). ...
0
votes
1answer
302 views

Why can't close my eth0 by command `ifconfig eth0 down`?

Let us start from closing my eth0.192.168.1.4 is binded with eth0. root@hwy:/home/debian8# ifconfig eth0 down root@hwy:/home/debian8# route -nv Kernel IP routing table Destination Gateway ...
0
votes
1answer
163 views

WordPress subdirectory installation with Tomcat using nginx webserver

I'm running tomcat on main website using nginx proxy pass, now I want to install wordpress on the same domain as a sub-directory like this: example.com/blog I used below config in nginx. location /...
1
vote
1answer
103 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 ...