PHP Handler Misconfiguration (lsphp83 vs APVH_admin_Suphp)

rhett

Verified User
Joined
Jul 30, 2025
Messages
16
I messed PHP handler configuration, and got following log:

2025-10-04 02:54:53.839748 [INFO] [2148068] [T0] [APVH_admin_Sulsphp83:]: locked pid file [/usr/local/lsws/extapp-sock/APVH_admin_Suphp.sock.pid].
2025-10-04 02:54:53.839757 [INFO] [2148068] [T0] [APVH_admin_Sulsphp83:] remove unix socket for detached process: /usr/local/lsws/extapp-sock/APVH_admin_Suphp.sock
2025-10-04 02:54:53.854807 [INFO] [2148068] [T0] [APVH_admin_Sulsphp83:] add child process pid: 2148179, procinfo: 0x489f280
2025-10-04 02:54:53.854904 [INFO] [2148068] [T0] [APVH_admin_Sulsphp83:]: unlocked pid file [/usr/local/lsws/extapp-sock/APVH_admin_Suphp.sock.pid].

Anyone knows how to solve this, please
 
I configured external app and script handler, but don't know how to configure listener and virtual host. I figure the error log is caused by this incomplete setup.

Deleting external app and script handler would result site 503.

ScreenShot_2025-10-06_183740_100.png
ScreenShot_2025-10-06_183755_557.png
ScreenShot_2025-10-06_184030_960.png
 
I configured external app and script handler, but don't know how to configure listener and virtual host. I figure the error log is caused by this incomplete setup.

Do you run DirectAdmin? If this is the case, then DirectAdmin will take care of it.

If you don't run DirectAdmin, then you might post the question on the LiteSpeed forums.
 
Do you run DirectAdmin? If this is the case, then DirectAdmin will take care of it.

If you don't run DirectAdmin, then you might post the question on the LiteSpeed forums.
Yes I run DirectAdmin, but it's Personal Plus. This license doesn't include technical support.
Same for Litespeed. The basis license doesn't include technical support.

Do you know what the output means? can you fix it? how much, please?
 
Just checked. Site is running on litespeed server, it's lsphp handler.

APVH_admin_Suphp.sock should be a legacy name

2025-10-07 00:01:03.186937 [INFO] [1213232] [T0] [APVH_admin_Sulsphp83:]: locked pid file [/usr/local/lsws/extapp-sock/APVH_admin_Suphp.sock.pid].
2025-10-07 00:01:03.186945 [INFO] [1213232] [T0] [APVH_admin_Sulsphp83:] remove unix socket for detached process: /usr/local/lsws/extapp-sock/APVH_admin_Suphp.sock
2025-10-07 00:01:03.202411 [INFO] [1213232] [T0] [APVH_admin_Sulsphp83:] add child process pid: 1284460, procinfo: 0x7f7154130d60
2025-10-07 00:01:03.202500 [INFO] [1213232] [T0] [APVH_admin_Sulsphp83:]: unlocked pid file [/usr/local/lsws/extapp-sock/APVH_admin_Suphp.sock.pid].

[root@server ~]# ps aux | grep lsphp
admin 1284460 0.0 0.3 689324 54524 ? S< 00:01 0:00 lsphp
root 1284551 0.0 0.0 6408 2176 pts/0 S+ 00:01 0:00 grep --color=auto lsphp
 
I believe, you are confused by the suPHP part used in the file names. Correct me if I'm wrong, but LiteSpeed does not support suPHP. And I don't have an idea, why LiteSpeed uses such naming, but it is still LSPHP, and those must be custom PHP versions added on the tab "External App"
 
It might be DA that still uses legacy naming.

In previous post, I attached a screenshot from my server. It's the only external app and the only script handler, both manually added by me, its socket address is useless, but I can't delete this external app. If I delete it, site would be 503. No idea what happened.
 
If it troubles you, I could check it for you. You will be charged in this case. Kindly contact me via my site (see my signature below) if you need more details.
 
Back
Top