404 error after wordpress install

retechpro

Well-Known Member
Dec 23, 2022
141
16
18
Pakistan
cPanel Access Level
Root Administrator
I’ve setup a new server and install litespeed as i do normally. But this time server is creating issue.
I’m installing Wordpress and it is showing 404 error when i move on apache it work normally.

what could the issue inside it. Anyone know about it. How can i check the error?
 

SimpleSonic

Well-Known Member
Mar 24, 2023
186
82
103
USA
cPanel Access Level
Root Administrator
Twitter
If you can access the WP-Admin, have you tried rebuilding the Permalinks in WordPress?
 

SimpleSonic

Well-Known Member
Mar 24, 2023
186
82
103
USA
cPanel Access Level
Root Administrator
Twitter
It is showing error 404 even I can’t login dashboard when i move to ea version it fixed. It is showing error on alt versions
This sounds more like a LiteSpeed setup issue rather than a cPanel issue.

Since you are using alt versions, I assume you are using CloudLinux.

When installing LiteSpeed on cPanel with CloudLinux, it typically sets up the necessary script handlers in your LiteSpeed configuration automatically, but yours may be missing for one or more PHP versions you are using.

In your LiteSpeed configuration, make sure the Script Handler definitions exist for any/all PHP version you have enabled and they use the Handler Name:

Code:
[Server Level]: cl_phpselector
If you do not see the above as a choice, then you may be missing the External Application, so you would need to create it in External App in LiteSpeed:

Type: LSAPI App
Name: cl_phpselector
Address: uds://tmp/lshttpd/cl_phpselector.sock
 

retechpro

Well-Known Member
Dec 23, 2022
141
16
18
Pakistan
cPanel Access Level
Root Administrator
This sounds more like a LiteSpeed setup issue rather than a cPanel issue.

Since you are using alt versions, I assume you are using CloudLinux.

When installing LiteSpeed on cPanel with CloudLinux, it typically sets up the necessary script handlers in your LiteSpeed configuration automatically, but yours may be missing for one or more PHP versions you are using.

In your LiteSpeed configuration, make sure the Script Handler definitions exist for any/all PHP version you have enabled and they use the Handler Name:

Code:
[Server Level]: cl_phpselector
If you do not see the above as a choice, then you may be missing the External Application, so you would need to create it in External App in LiteSpeed:

Type: LSAPI App
Name: cl_phpselector
Address: uds://tmp/lshttpd/cl_phpselector.sock
Look like you have mentioned a exact issue. But unfortunately, I don’t know how to do it. What’s the easy way to do it as I did not do this never before. I just install litespeed and it automatically work. Now this time it is creating issue. There is no entries in web panel of litespeed. Should i reinstall this to fix the issue??
 

SimpleSonic

Well-Known Member
Mar 24, 2023
186
82
103
USA
cPanel Access Level
Root Administrator
Twitter
Look like you have mentioned a exact issue. But unfortunately, I don’t know how to do it. What’s the easy way to do it as I did not do this never before. I just install litespeed and it automatically work. Now this time it is creating issue. There is no entries in web panel of litespeed. Should i reinstall this to fix the issue??
I’ve had this issue occur randomly a few times when installing LiteSpeed, but I just manually set the missing handlers, etc. when it occurred.

If you’re unsure of how to add the missing handlers, etc., your best bet is to either uninstall/reinstall LiteSpeed or contact LiteSpeed support and have them guide you on manually configuring the missing info.