suphp

Read If-Modified-Since header in PHP CGI

My PHP script depends on being able to read the value of the If-Modified-Since header (yes, I know how to do this). It worked correctly when I used PHP as mod_php, but now that I've switched to suPHP (CGI), it appears Apache itself handles requests that contain this header, without forwarding them to PHP at all. This is silly, because...

What is the simplest way to check if PHPSUEXEC or SUPHP is enabled, with a php script.

I need to check if PHPSUEXEC or SUPHP is enabled. How can I do that within a php script? ...

move_uploaded_files works with suPHP, but not DSO

i have a dedicated server with one site. i have DSO enabled. i have to have it enabled as suPHP is a serious resource hog. the load time between DSO and suPHP is night and day. i have an issue with move_uploaded_files. under DSO PHP is running as a webserver process. the file's owner is always set to nobody and move_uploaded_files throw...

suPHP / PHP scrip timeout

After my host enabled suPHP, a previously working script has been timing out after ~3min (it varies, but the script has not run for more then 3, AFAIK). The odd part is, the script is not throwing any errors that I can see (and yes, full PHP error reporting/logging is enabled and all MYSQL queries have been checked for errors, also) it s...

php ‘apache_note’ function whilst SUPHP is active

I am using maxminds geoip apache mod extention. It requires the php function 'apache_note'. However while suphp is active I am unable to access the function. Ideally I would like to use suphp as I understand it offers security benefits. Is it possible to use apache_note while also using suphp? ...

Can I use apache_note when running suphp?

Can I use apache_note when running suphp? ...