any way to run cpanel phpmyadmin through litespeed?

aww

Well-Known Member
#1
In cpanel they unfortunately run their phpmyadmin through their own (very slow) web server ie.

https://example.net:2087/3rdparty/phpMyAdmin/index.php

Is there any way I can trick the already installed phpmyadmin to run through litespeed so it's more responsive?
I know I could install another copy but would like to avoid that if possible.
Maybe some kind of symlink? I have to look up the real path to "3rdparty"
 
#2
a symlink might work fine. have you tried just using "locate" on your system to see if a "3rdparty" directory exists? I will check on my cPanel dev box too in a little while.
 

aww

Well-Known Member
#3
Well it might be more complicated than just a symlink since somehow cpanel knows that port 2087 is system-wide mysql access and post 2083 is locked to a single virtual host.

Just wanted to see if anyone knew already if it was possible. I'll have to experiment and see - also need to consider security issues, I'll have to use htpassword
 

aww

Well-Known Member
#5
Ah it would almost work except I have open_basedir in effect and php says uh, no.

If there are any other creative solutions, please let me know...

I wonder how cpanel gets around the restriction unless they are using their own copy of php somehow.
 

aww

Well-Known Member
#6
Well in the end its way too complicated.
The files are owned by cpanel:cpanel and even if I include them in the allowed open_basedir the permissions become a problem.

Also probably a big security issue.
I guess separate install it is. Oh well.
 
Top