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).

--

"Hey, call me anything you like.  I'm Dan to my friends, gushi to my
close friends, 'hey, you' to my girlfriend, 'mrrow?' to my cat, and 'why
the hell is the router on fire?' to my job.

-Dan Mahoney
 12/2/02

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---------------------------


_______________________________________________
suPHP mailing list
[email protected]
https://lists.marsching.com/mailman/listinfo/suphp

Reply via email to