Questions tagged [linux]

The tag has no usage guidance.

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

kali php problem [closed]

hello everyone I download a php script and when I try to run it kali show me this message: PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/...
murtadha ghanim's user avatar
0 votes
0 answers
12 views

Wordpress files owner changed silently

I keep getting file permission error when I try to upgrade wordpress to 6.0.2. Upon checking the files, I found that many files' owner have been changed, as the screenshot above shows. s3 is the ...
shenkwen's user avatar
  • 131
0 votes
0 answers
62 views

Infinite Loop in Wordpress Installation

I've installed NginX with PHP 8.1, MadriaDB and Wordpress on Debian 10. I can reach the wordpress installation page. When i insert the details for the database and username it goes forward, but when i ...
Edu Leon's user avatar
0 votes
1 answer
51 views

Wordpress: redirecting to my old public ip

I started to develop my own wordpress site, that I hosted locally. I am using Apache for hosting and mariaDB for DB. I accessed the site through my public ip, that in my case was was xxx.xxx.1.163. I ...
Mathias Ranna's user avatar
0 votes
1 answer
68 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 ...
justAnotherNoob's user avatar
0 votes
2 answers
19 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 ...
Francesco Colucci's user avatar
0 votes
0 answers
233 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 ...
Andriy's 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. ...
user212604's user avatar
0 votes
2 answers
49 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 ...
Jick's user avatar
  • 101
0 votes
3 answers
2k 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 ...
DarkSideOfC's user avatar
0 votes
1 answer
13k 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'...
Saeed's user avatar
  • 109
0 votes
1 answer
1k 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 ...
HeavenlyHarmony's user avatar
1 vote
3 answers
14k 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-...
user2924482's user avatar
0 votes
2 answers
585 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 $'\...
Dave White's user avatar
0 votes
1 answer
42 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 ...
GreatWhiteSlark's user avatar
0 votes
0 answers
148 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 ...
BHUVA NESH's user avatar
0 votes
1 answer
390 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?
Subtopic's user avatar
0 votes
0 answers
1k 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 ...
Zyncho's user avatar
  • 101
0 votes
0 answers
39 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 ...
user3260225's user avatar
0 votes
1 answer
23 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 ...
zero's 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: ...
simo's user avatar
  • 131
1 vote
2 answers
5k 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 ...
Sean D's user avatar
  • 357
0 votes
2 answers
5k 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....
square_eyes's user avatar
1 vote
3 answers
243 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
860 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 ...
Alexis Dumas's user avatar
0 votes
2 answers
2k 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 ...
Tom's user avatar
  • 1
1 vote
1 answer
2k 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....
Lucas Kaczmarski's user avatar
0 votes
1 answer
566 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 ...
730wavy's user avatar
  • 193
0 votes
1 answer
2k 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....
blu's user avatar
  • 103
0 votes
2 answers
403 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('...
blu's 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 ...
Bartosz Was's 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 ...
Jonathan Stegall's user avatar
0 votes
0 answers
27 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 ...
I won't say's user avatar
0 votes
0 answers
65 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 ...
I won't say's user avatar
0 votes
0 answers
2k 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/...
Manyang's user avatar
  • 97
0 votes
1 answer
593 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/...
qxu21's user avatar
  • 101
0 votes
1 answer
30 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, ...
user9303970's user avatar
1 vote
1 answer
1k 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 +...
user9303970's user avatar
2 votes
1 answer
379 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-...
Sean's 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'...
Arcticooling's user avatar
0 votes
2 answers
447 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 ...
Arcticooling's user avatar
2 votes
2 answers
112 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:...
dilbert's user avatar
  • 21
1 vote
1 answer
110 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 ...
cenk's user avatar
  • 331
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 ...
Mohsen Jalalian's user avatar
-2 votes
1 answer
122 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, ...
Saud Khan's user avatar
  • 101
-1 votes
1 answer
1k 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, ...
Sinai's user avatar
  • 161
-3 votes
1 answer
57 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 ...
JAGGADAKU's 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 ...
Emilio Galarraga's user avatar
2 votes
2 answers
13k 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 ...
Tupopo's user avatar
  • 33
0 votes
1 answer
432 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 ...
vanurag's user avatar
  • 111