Can’t upload images after “php7.4 upgrade”

[ad_1]

rebuilt Apache in cPanel (WHM).

all of a sudden new and old WordPress sites on my server won’t allow WordPress to upload images.

**“logo.jpg” has failed to upload.**
Unable to create directory wp-content/uploads/2022/09. Is its parent directory writable by the server?

I can’t work aroung this with settings wp-content to 0777 but that’s not a good fix for anyone else installing new WordPress sites in the future easily.

Any help is hugely appreciated!

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer