12 votes

What are PHP extensions and libraries WP needs and/or uses?

If you want an easy way to verify if your server meets these requirements, there's now a handy WP-CLI ext command to do so. wp ext required shows all PHP extensions necessary to run WordPress, while ...
swissspidy's user avatar
  • 3,814
7 votes

What are PHP extensions and libraries WP needs and/or uses?

I've developed my WordPress environment checker. It is a simple class, runs on web SAPI or on CLI. This is the maintained version https://github.com/szepeviktor/debian-server-tools/blob/master/...
Szépe Viktor's user avatar
5 votes

security+best practices: root or www-data on a wordpress content folder?

I fixed this by running this command: cd /var/www/html/ sudo chown -Rv www-data:www-data * Changed ownership back to www-data instead of root. This article helped me: http://johnqunknown.me/...
dr202's user avatar
  • 51
5 votes

Moved WordPress to New Server, Now Tries to Download a File

Simple steps 1 - Go to filemanager through cpanel or FTP 2 - Delete the .htaccess (make sure you have created a backup) 3 - Open your website and set the permalinks it will create a new .htaccess ...
Qaiser Ur Rehman's user avatar
4 votes

What are PHP extensions and libraries WP needs and/or uses?

The WordPress handbook now lists the recommended PHP modules: WordPress core makes use of PHP extensions. If the preferred extension is missing WordPress will either have to do more work to do the ...
TEKFused's user avatar
3 votes
Accepted

How to monitor server for error establishing a database connection

You can actually use Pingdom to check for this kind of error, rather than a straight forward check for a response from the server you can configure the check to look for a particular string on the ...
Rick Curran's user avatar
  • 1,076
3 votes

In which directory do I find the HTML file of my wordpress pages?

You can find your root HTML file in here: /public_html/wp-content/themes/"YOUR THEME NAME"/framework/templates A file named header.php has to be in there.
S.A.F.'s user avatar
  • 41
3 votes
Accepted

Connect to server with SFTP instead of FTP/FTPS within WordPress Backup

Looks like a permissions issue: sudo chown -R www-data:www-data /var/www
Twobard's user avatar
  • 166
3 votes
Accepted

Preventing BFA in WordPress without using a plugin

One plugin-free layer of protection you could implement is to route your traffic through a site like CloudFlare that has built in brute force protection. The free version is a great layer of ...
MagRat's user avatar
  • 290
3 votes

In which directory do I find a specific HTML code of my wordpress page? Some of it seems to be missing after checking all pages

The code you are referring to is a menu, and in your screenshot, is likely to be the line starting wp_nav_menu... Look in your WP admin under Appearance > Menus, and you should have a Social Media ...
Lee's user avatar
  • 337
2 votes

What are PHP extensions and libraries WP needs and/or uses?

It's worth mentioning that since WordPress 5.2, there is a built in feature that reports on missing modules. Find it at Tools > Site Health.
Highly Irregular's user avatar
2 votes

No Thumbnails Generated

I don't have enough reputation to comment @guilherme-vaz answer. His solution worked but I had to check which version I am using. Use php -v cmd to find php version you are using, and then install gd....
vamsi's user avatar
  • 121
2 votes

No Thumbnails Generated

I was having the same problem on my new server install with Ubuntu 16.04 and PHP 5.6. The problem is that Wordpress relies on the PHP GD module in order to generate the thumbnails. The insight from ...
Guilherme Vaz's user avatar
2 votes

How to monitor server for error establishing a database connection

You can override the message with a file wp-content/db-error.php. Then, in this file you can log the error or send a e-mail to alert there is a problem. I recommand you to not send a e-mail on every ...
mmm's user avatar
  • 3,694
2 votes

How to clear Wordpress Cache from Server/FTP/Remote location

WordPress has no native page source output caching. In vanilla installation changes to templates should show up immediately. If that doesn't happen there are several possible reasons: there is ...
Rarst's user avatar
  • 99.7k
2 votes
Accepted

WordPress Permalinks on Mac OSX Server 5 (El Capitan)

I'd check a few things Apache2 logs open a terminal Check error logs at tail -f /var/log/apache2/error_log Check access logs at tail -f /var/log/apache2/access_log WordPress Check .htaccess has ...
bynicolas's user avatar
  • 2,279
2 votes

Is it safe to give wordpress directories ownership to www-data?

No, it is not safe as it means that any security breach might end up in your code being changed. Alternatives: There is nothing wrong in using SFTP to upload changed plugins. If it is something that ...
Mark Kaplun's user avatar
  • 23.4k
2 votes
Accepted

How to convert and use JSON data from a remote Wordpress server?

On server B: $result = wp_remote_post('http://serverA.com/?api=json', array( 'method' => 'POST', 'redirection' => 1, 'httpversion' => '1.0', 'blocking' => true, ...
KAGG Design's user avatar
  • 1,842
2 votes
Accepted

Can I view my own wordpress php source code on my hosted web server?

Yep, of course that's possible. There are several ways of viewing the php source code of your theme, of your plugins and of WordPress itself. I assume that you are interested in the php code of your ...
Manu's user avatar
  • 817
2 votes
Accepted

Multiple Multisite networks on the same domain?

You can not run different networks or different Multisite installations under one domain in the default possibilities of WP. But you can use one Multiste with multiple networks with the help of a ...
bueltge's user avatar
  • 17.1k
2 votes
Accepted

Changing the server path

WordPress doesn't rely on server path, it relies on the URI. When the WordPress code is loaded, it will define the proper paths itself dynamically by using PHP constants like __FILE__, such as ABSPATH ...
Johansson's user avatar
  • 15.3k
2 votes

How to fix wordpress slow first time load (Local Server)?

Well website (Wordpress) page speed and load depends on many things. MySql Queries Image optimisation Css files (more cs files more page load and page speed time). Javascript files ( more js ...
Agon Xheladini's user avatar
2 votes
Accepted

Can (slow) Internet speed get you a 500 server error?

No. 500 error will return when you have server error. PHP error, etc. See response code reference. The HyperText Transfer Protocol (HTTP) 500 Internal Server Error server error response code ...
Maxim Sarandi's user avatar
2 votes
Accepted

3 different times on my Wordpress website

In short, the server shows 13h (correct in current time in São Paulo DST), but PHP shows15h and WordPress shows 12h. This is intentional, and needs additional clarification, but to expand you have: ...
Tom J Nowell's user avatar
  • 59.2k
2 votes

Admin-ajax.php 500 error when Add to menu is clicked in admin

If you have problem with: POST wp-admin/admin-ajax.php 500 in WP define( 'WP_MAX_MEMORY_LIMIT', '512M' ); in wp-config.php max_input_vars = 6000 ; in php.ini and deactivate all plugins and active one ...
Leffa's user avatar
  • 121
2 votes
Accepted

Corrupt .htaccess file

You appear to be denying access to PHP files, which would explain why you are denied access to PHP files: <FilesMatch ".(py|exe|php)$"> Order allow,deny Deny from all </FilesMatch&...
Jacob Peattie's user avatar
1 vote

Connect to server with SFTP instead of FTP/FTPS within WordPress Backup

I use SSH SFTP Updater Support and it works fine. From the project description: "SSH SFTP Updater Support" is the easiest way to keep your WordPress installation up-to-date with SFTP.
geraldo's user avatar
  • 145
1 vote

Two identical wp-includes directories on server

This is not an "executable directory". The x means something different for directories: The execute bit allows the affected user to enter the directory, and access files and directories inside ...
kraftner's user avatar
  • 5,598
1 vote

Problems clearing cache

After more than a half of a day of battle, I found out that style.css has to be in direct subdirectory of a child theme. I had placed it under the /css/ folder together with other styles. That's why ...
Tomasz Mularczyk's user avatar
1 vote
Accepted

Do I need a backup plugin if I'm already backing up via cPanel?

If you are already backing up your website in cpanel (both database and files) then no, you will not need any plugins. However, you will need to access the website through cpanel/ftp to restore the ...
Johansson's user avatar
  • 15.3k

Only top scored, non community-wiki answers of a minimum length are eligible