cyberpanel
cyberpanel copied to clipboard
403 Forbidden After Instal Wordpress on Fresh New Installation
Hi all..
I just install fresh new installation cp on digitalocean. Tried enterprise version. After create new website, it is ok. After install wordpress, then 403 forbidden appears.
Thank you
Please try to Open the File Manager for the site, and click on Fix Permissions at the top right side.
What methodology did you use to install Wordpress?
Please try to Open the File Manager for the site, and click on Fix Permissions at the top right side.
What methodology did you use to install Wordpress?
Thank you. I just tried, and still not fixed. I use click "WP + LSCache" method.
I tried twice. i delete that website. then create new website again. this step, web works well no problem. but, after instal wordpress, then 403 forbidden.
There are so many error logs messages.
Go to Websites > List Websites, then find your site, and click to Manage it. Inside this area, please click on Change PHP, and select the highest version possible. I'm not sure if php7.4 isn't installed on your server, or if it's something else. Very odd on a fresh install it wouldn't work out of the box.
What server OS and version are you running it on?
Thank you. Yes. a little bit odd. i hope after i install wordpress, i can work. but this is happened.
It is Ubuntu 23.04 comes directly from digitalocean marketplace.
I will try to recreate website but using openlitespeed, not enterprise. want to see if the problem comes in enterprise only or both version.
I just try destroy the droplet. and try again until install wordpress. the website running good no problem. so for the meantime i will stick with OpenLiteSpeed.
thank you.
the website running good no problem.
Great! Yes, I installed on my VPS by installing Ubuntu Server, and using CyberPanel script to configure.. so a difference there. I've never tried to use teh VPS pre-built scripts/images. Glad to hear this is resolved. @usmannasir if you don't think this warrants any further investigation you can close this, I don't seem to have access to.
Just installed new server. And problem still existed.
Steps, not working:
- Install CyberPanel on new DigitalOcean Droplet.
- Create new website.
- Upgrade to LiteSpeed Web Server Enterprise.
- Install Wordpress. then 403 Forbidden happened.
Works well if:
- Install CyberPanel on new DigitalOcean Droplet.
- Create new website.
- Do not Upgrade to LiteSpeed Web Server. Use only default: OpenLiteSpeed.
- Install Wordpress. Wordpress will run well, no problem.
**** Wait. Just got solution ****
I change from PHP 8.1 to 8.0 and now work well.
So, when you want instal new website, for now, choose PHP 8.0.
This kind of issue occurs when you have selected the php version not installed on server but listed in cyberpanel phpversion. Same happened with me and switching to installed version resolve the issue