WordPress can be annoying like that, and it usually isn't the fault of
suPHP.
Remove all WordPress files except the config file, extract everything
from http://wordpress.org/latest.tar.gz (except the config file), then
run WordPress's update wizard (iirc it's at wp-admin/upgrade.php) to
have it upgrade its mysql tables if necessary.
If that doesn't work, change the site theme to one of the default ones
in them mysql options table.
I guarantee you this is WordPress's fault, not suPHP's.
On 6/24/2012 4:12 AM, Dan Mahoney, System Admin wrote:
Hey guys.
I've been an suPHP loyalist for years, I've loved it and it's saved me
a ton of headaches. I'm a sysadmin, not a PHP coder.
On a recent server upgrade, I'm now running the latest suPHP as well
as apache2.2 and php 5.3.13.
One particular wordpress site is acting up on me, and it's driving me
batty.
I can run the index.php both as root as well as as the user in
question from the command line using /usr/local/bin/php-cgi, and it
outputs content.
With suPHP however, suPHP logs that it's running the code as them, but
then...nothing. Blank page. HTTP status 200, but Content-Length: 0
No errors logged.
Adding all the error reporting to PHP that I know how to turn on, does
nothing. No errors show up in the logs or in the HTML.
I started inserting various echo statements throughout the code, and
*those* show up. So somewhere in the deep include-laden structure of
Wordpress, something's broken.
PHP seems to lack a simple interface of "trace which files we load and
parse".
What I'd like to know here is: what is the calling-format of the
/usr/local/sbin/suphp binary -- for example, if I want to call IT from
the command line, so I can run truss on it to figure out what files
are being called, and what's vomiting. (As there's no other
convenient way I can find to stick a debugger in the middle).
(Feel free to reply to me privately with this info if you feel it's
dangerous).
_______________________________________________
suPHP mailing list
[email protected]
https://lists.marsching.com/mailman/listinfo/suphp