Questions tagged [linux]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
12 views

Getting no Error Log File saved to my local directory, and no debug info displayed in the web browser

I have installed WordPress on my Ubuntu Server 20.04 VM (host machine runs Linux Mint 19). I've able to view wp-admin and the sample website without issue. I'm using Firefox to access wp-admin, the ...
user avatar
0 votes
0 answers
17 views

installing wordpress with docker on centos7

I am installing wordpress with docker on centos7 linux OS.I have installed mysql container successfully and got an error when i wanted to install wordpress container showing "docker:Error ...
user avatar
0 votes
2 answers
13 views

In a local wordpress installation, when I install a plugin it only offers me installation via FTP

In a local wordpress installation, when I install a plugin it only offers me installation via FTP, even if I load the plugin .zip file from my pc. Why does this happen? I use Ubuntu linux and apache 2 ...
user avatar
0 votes
0 answers
55 views

Import from Windows to Linux

The previous IIS server used to host this WP site. Now I have a Linux environment. The Db import went smoothly. Copying over the site files generates issues however. There are plugins that refuse to ...
user avatar
  • 1
1 vote
0 answers
26 views

XAMPP/wordpress heartburn

I'm having a bit of trouble getting my WordPress install to act correctly. I followed the video provided by Rajendra Patel on youtube. Here's the link:https://www.youtube.com/watch?v=zMycmTPl8nc. ...
user avatar
0 votes
2 answers
35 views

Updating wordpress from my Linux distro's repository

I installed wordpress with apt, which ties in a lot of directories, so I suspect that using the built-in core update tool will break the installation; but wordfence constantly demands that I update ...
user avatar
  • 101
0 votes
3 answers
567 views

WordPress sites being filled with random PHP files

Two weeks ago when I tried to access one of my WordPress sites through the browser, I was redirected to an ad page. I went inside of the public_html directory and found tons of PHP files with random ...
user avatar
0 votes
1 answer
5k views

WordPress Update - This is usually due to inconsistent file permissions.: wp-admin/includes/update-core.php

I have some WordPress websites server with root access, and at the time of creating the server, everything was fine and WordPress itself and plugins and themes were updating without any issues, but I'...
user avatar
  • 109
0 votes
1 answer
647 views

Problems fixing a REST API 404 after Moving my WordPress Directory and updating Permalink Structure

I am running a self-hosted version of WordPress on a Linode VPS running Debian 9. I was previously using WordPress on a /blog directory because I had a basic HTML site that I decided not to keep any ...
user avatar
1 vote
1 answer
9k views

PHP Warning: chmod(): Operation not permitted in class-wp-filesystem-direct.php on line 173

I running an instance of Wordpress on my web server but I'm getting this error in the logs PHP Warning: chmod(): Operation not permitted in /home/webserver/html/wp-admin/includes/class-wp-filesystem-...
user avatar
0 votes
2 answers
404 views

Carriage Return control character (^M) found in wp-config-sample.php

On a fresh WordPress install in Linux distributions, wp-config-sample.php contains Carriage Return control characters that are not found in any other .php file in the distribution. Running egrep -l $'\...
user avatar
0 votes
1 answer
38 views

Error establishing a database connection - Wordpress setup, everything else is working

Setting up a LAMP stack with Wordpress on a home machine and port forwarding so I can host it on the Internet. Everything seems to have gone ok so far, except when I browse to the IP I see the error ...
user avatar
0 votes
0 answers
144 views

How to configure both webserver and appserver for WordPress CMS?

I would like to use both web server and appserver for WordPress so that Appserver and db server should comes under private network. Since WordPress has only apache please let me know the communication ...
user avatar
0 votes
1 answer
241 views

How to remove all plugins, posts, pages, and inactive themes in one line with wp-cli? WordPress bloatware removal

Softaculous seems to always adds junk to the installs I don't want. Such as example posts, pages, plugins, and starter themes. How do I remove them all for a fresh start?
user avatar
0 votes
0 answers
712 views

WP_Fatal_Error_Handler OR WP_Error OR try/catch

A process into my plugin provoke a fatal error in Linux Server which I have not access, for example to define a WP_DEBUG_LOG. I could identified the conflict in the event related to generate an jpeg ...
user avatar
  • 1
0 votes
0 answers
37 views

Wordpress cloning issue

I have cloned my wordpress website abc.com using duplicator plugin. The clone is successfully installed and working on my other domain abccopy.com. But abc.com/wp-login.php page has a background image ...
user avatar
0 votes
1 answer
18 views

How to edit content in WordPress and the Polylang – plugin? – with demosite

hello dear user, hello dear developer, the question; How to edit content in WordPress and the Polylang - plugin? first of all: i love PolyLang for its powerful features and the versatile options ...
user avatar
  • 145
1 vote
0 answers
11 views

What happen after new plugin get installed in term of permissions?

Using Ubuntu to host WordPress, I am wondering about permissions of files for newly installed plugin, how would they be executable? permissions for the folder that has the wordpress installation: ...
user avatar
  • 131
1 vote
2 answers
3k views

.htaccess file missing from Wordpress install directory

This is occuring on my local machine, Lubuntu 18.04 with apache2 and Php 7.2.15. Steps tried: Enable hidden files No .htaccess file seen: https://nimb.ws/4YJfDT Switch permalink structure to ...
user avatar
  • 347
0 votes
2 answers
4k views

Call to undefined function mysql_connect() After upgrading PHP 7.1 to 7.3

I host my own WP site on a Debian/Raspbian buster server. I upgraded PHP 7.1 to 7.3 and the site broke. I can't understand why it broke because mysql_connect() is deprecated for 7.x (though wp-db....
user avatar
1 vote
3 answers
205 views

Transferring contact form input to an email account without using an email-proxy

On a virtual private server machine (Ubuntu 16.04) which I self-host on DigitalOcean I use an all-default and latest Debian stable with all-default and latest Apache, MySQL and PHP to host my ...
user avatar
3 votes
1 answer
778 views

Wordpress can't find temporary folder, but folder it's looking at has correct permissions

So, I've spent a couple of hours looking around the internet to try to figure out this problem, since it seems like a dumb one that would probably be a duplicate, but apparently it isn't. I'm hosting ...
user avatar
0 votes
2 answers
1k views

Most efficient way to trigger wp-cron through system cron.

I have recently decided it would be best if i disable the built in wordpress cron function and move to the system cron which will activate the wordpress cron every 15 minutes. I am wondering which ...
user avatar
  • 1
1 vote
1 answer
1k views

Image rotation and editing stopped working in Wordpress after upgrading Ubuntu from 16.04 to 18.04

I'm seeing this error in Wordpress Media editor: "Image rotation is not supported by your web host." I checked on my server and I have php7-gd: php -i | grep -i gd /etc/php/7.2/cli/conf.d/20-gd....
user avatar
0 votes
1 answer
455 views

how to properly mount external server directory for wordpress uploads

I have multiple servers I am using for my wordpress site, each server has its own purpose. Currently I have a server that I want to use for all of wordpress file uploads, this way nothing is saved on ...
user avatar
  • 176
0 votes
1 answer
1k views

How to fix wp-login.php gives error 500 after migration?

I have migrated a word press site to a self hosted linux server. My front page and all other pages load however images are still pointing to my old server. My wp-login.php page also gives an error 500....
user avatar
  • 103
0 votes
2 answers
325 views

How to configure Wordpress Database for CentOS 7

I'm trying move an existing Wordpress site to run across two different servers, one with Apache and the main source code and the other that just has the database running on MYSQL. wp-config: define('...
user avatar
  • 103
0 votes
2 answers
1k views

Wordpress failing to update plugins

After cloning my wordpress site and fresh install of it i encountered problem. Plugins won't update. I'm working in Linux environment (Ubuntu). I've tried multiple solutions but still without positive ...
user avatar
1 vote
3 answers
1k views

WP Admin missing icons, numerous JavaScript errors, but only when SCRIPT_DEBUG is false

I have access to a single Linux/Apache server where I'm trying to deploy WordPress. For purposes of this error, I've tested it with the default twentyseventeen theme and all plugins disabled. When I ...
user avatar
0 votes
0 answers
22 views

How come there is no error if I upgrade WordPress core after locking .htaccess permissions to 644?

How come there is no error if I upgrade WordPress core after locking .htaccess' permissions to 644? I upgrade WordPress this way basically: wp plugin update --all wp core update wp language core ...
user avatar
0 votes
0 answers
64 views

A plugin changes my .htaccess file and I can't access httpd.conf as that's a shared server

In a CentOS with Bash A WordPress plugin (most likely WordFence) changes my .htaccess file by deleting extraneous (Apache PCRE) directives I've added there, and I can't access httpd.conf to add them ...
user avatar
0 votes
0 answers
1k views

403 Forbidden home on localhost with nginx server

I install wordpress in nginx server on my localhost using debian OS, install is normally. But I only can login to my dashboard using localhost/statistik/wp-admin/index.php not in localhost/statistik/...
user avatar
  • 97
0 votes
1 answer
569 views

Move site root directory on debian

I installed WordPress on Debian using this article from the Debian Wiki. My wp.conf looks like Alias /wp/wp-content /var/lib/wordpress/wp-content Alias /wp /usr/share/wordpress <Directory /usr/...
user avatar
  • 101
0 votes
1 answer
27 views

Fastest way to install a multisite?

I setted up a Ubuntu-Nginx VPS machine with phpmyadmin and WP-CLI. I'm ready to start working with WordPress. What's the fastest way to install a multisite? Maybe with WP-CLI, maybe there's a ready, ...
user avatar
1 vote
1 answer
945 views

Shortest way to install WP-CLI

That's the shortest way I know to install the WordPress shell extension WP-CLI: curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar > /usr/local/bin/wp && chmod +...
user avatar
2 votes
1 answer
356 views

Can't upload media to my Raspberry Pi Wordpress server

Thanks in advance for any useful tips. I'll cut to the chase. I followed these guides to set up my wordpress server: 1 - https://www.techcoil.com/blog/setting-up-wordpress-on-raspberry-pi-3-with-...
user avatar
  • 123
0 votes
1 answer
1k views

Is Postfix required for WordPress contact forms in general?

If I remember correctly, I could get data from ContactForm7, for example, into my personal Gmail account, without doing apt-get install postfix -y, though I might be wrong and I did install it. I don'...
user avatar
0 votes
2 answers
393 views

A shorter way to automatically update WordPress?

This is how I started to update WordPress daily: cat <<-"CRON_DAILY" > /etc/cron.daily/nses_cron_daily for dir in /var/www/html/*/; do cd "$dir" && /usr/local/bin/wp plugin ...
user avatar
2 votes
2 answers
103 views

login wp impossible

well i can access the sites: www.foo.com and www.bar.com but i cannot access the login - the sites are blank. foo.com/wp-login.php bar.com/wp-login.php i have the following logs. [Mon Jan 01 16:...
user avatar
  • 21
1 vote
1 answer
101 views

Flatten media files in uploads directory via linux terminal eliminating thumbnails?

I need to get the source files (the initial files I have uploaded) of my media library flattening the directory structure and getting rid of the smaller images created by wordpress using linux/mac ...
user avatar
  • 311
0 votes
1 answer
1k views

wordpress ajax upload media not working

I move my wordpress website to another server that is centos7 and apache web server and everything is ok but ajax upload in media not work. it is ok when i did not use ajax but it has problem with ...
user avatar
-2 votes
1 answer
113 views

Check WordPress size on disk

Is there is any plugin or method to check how much wordpress size is on disk. Let's say I have two different directories (abc.com, abc.com/differentPath) on abc.com domain, and in both directories, ...
user avatar
  • 101
0 votes
1 answer
950 views

Timthumb isn't displaying any images. "A TimThumb error has occured

I have a Wordpress web site which is hosted on a distributed infrastructure. I have a web server(apache) and a cache server (varnish). When I load the site directly from web server everything is OK, ...
user avatar
  • 153
-3 votes
1 answer
53 views

Communcation with wordrpess and linux server [closed]

Is there any way to send & receive data between Wordpress & linux server ? What i wants to do is Take data from user from wordpress page Send data to linux server for processing Once ...
user avatar
1 vote
2 answers
337 views

Right permissions to WordPress directory

Knowing that not all files and folders have the same permissions, What are the right permissions in order to avoid hacker attacks and to allow the sites updates and upgrades? My site is installed on ...
user avatar
2 votes
2 answers
12k views

WordPress incorrectly redirects to local IP address?

I have my wordpress server set up using php, mysql, and apache on my raspberry pi. I also have a dynamic dns hostname and configured my router's port forwardiing settings. When trying to access my ...
user avatar
  • 33
0 votes
1 answer
411 views

Strange special character/Latin characters

We have developed many blogs on wordpress which is hosted on Rackspace server(Red Hat). Last Sunday we worked on user and set 'myuser' to run as PHP. So if we execute echo shell_exec('whoami'); then ...
user avatar
  • 111
1 vote
1 answer
454 views

Accessing an image folder inside public web directory

I have put a folder in the public web directory of my WordPress installation where I have some images used by a legacy system. Say its located under http://example.com/legacy-images/image1.png. I ...
user avatar
1 vote
1 answer
1k views

Apache /Ubuntu server not running WordPress installation, outputting PHP code like HTML

I'm trying to get WordPress running off of a plain Digital Ocean Ubuntu droplet. I'm running Apache, and it serves basic index.html files fine, from my /var/www/html directory. When I unzip the latest ...
user avatar
-1 votes
2 answers
1k views

504/502 errors plauging our site

One of our sites keeps going offline and I'm running out of ideas. It's a wordpress site built with the Avada theme and it's goal is to server as a calendar of events using The Events Calendar plugin. ...
user avatar
  • 141