LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   any way to run cpanel phpmyadmin through litespeed? (http://www.litespeedtech.com/support/forum/showthread.php?t=1260)

aww 08-12-2007 10:12 AM

any way to run cpanel phpmyadmin through litespeed?
 
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"

medialayer 08-12-2007 02:53 PM

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 08-13-2007 07:03 AM

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

David 08-13-2007 07:25 AM

If you want to give symlink a try, the location of phpMyAdmin is /usr/local/cpanel/base/3rdparty/phpMyAdmin.

aww 08-13-2007 07:31 AM

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 08-13-2007 07:57 AM

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.


All times are GMT -7. The time now is 07:25 AM.