check output of
lsws/fcgi-bin/lsphp5 -i
It should have mysql and mysqli module in the output, if not, you need to tweak PHP configuration and recompile. I think "--with-mysql=../mysql" does not work. you have to use the real path where mysql client libraries has been installed to.
make sure...
Maybe the user domain has a dedicate IP? If yes, try its own IP instead of the global shared IP. This optimization was added to reduce memory usage, maybe should not do that.
Yes, it should. However, it may be disabled by default due to "option IncludesNOEXEC", Apache's document is a bit vague on this. So, we may need to adjust the default behavior.
You can try "#include virtual" see if it works.
Which version of Apache is used? Have you customized the httpd.conf template?
"UserDir public_html" should be in httpd.conf, the cause of 500 error is
detect loop redirection.
Need to check the original URL and the target URL. LSWS should do an internal redirect from "http://ip/~user/..." to...
If it happen again, please "strace" those lsphp processes. Maybe them stuck at a system call.
Also, you may want to recompile PHP to make sure the latest php-lsapi code is used. With latest php-lsapi code, a parentless lsphp should quit by itself.
The original rule works properly with our cPanel test server.
Can you post the rewrite log for a request that does not work? Maybe %{REQUEST_URI} has been interpreted to something else.
Must be something different. Maybe cPanel ezapache update some parameter recently.
If you would like to find out why, you can try a fresh rebuild of Apache/PHP on those servers with those problem, then build matching PHP.
I am experiment with suphp option now.