Re: [users@httpd] best practice: suexec with PHP5 in a many-user/non-technical-user environment

2011-10-26 Thread Yehuda Katz
My understanding of suEXEC (not that I have used it) is that it will automatically discover which user to execute as when pulling from a location configured with UserDir (with some limitations, search http://httpd.apache.org/docs/2.2/suexec.html for UserDir). - Y On Wed, Oct 26, 2011 at 10:07 PM,

Re: [users@httpd] best practice: suexec with PHP5 in a many-user/non-technical-user environment

2011-10-26 Thread Alexandr Normuradov
Same config headache as SuexecUserGroup directive. Everything can be nicely automated with a bash script and Includes to sub configs. As of ~userdir, let them run their web sites, just put proper thresholds and universal cache, like mod_cache, that handles pretty much everything. ITK has some nice

Re: [users@httpd] best practice: suexec with PHP5 in a many-user/non-technical-user environment

2011-10-26 Thread Yehuda Katz
On Wed, Oct 26, 2011 at 9:49 PM, Alexandr Normuradov wrote: > Use MPM ITK. > Solves security, memory and speed problems. > Tested in production, very good alternative for environments when > users are not very savvy and not require custom php.ini > I use ITK with great results, but it needs to be

Re: [users@httpd] best practice: suexec with PHP5 in a many-user/non-technical-user environment

2011-10-26 Thread Alexandr Normuradov
Use MPM ITK. Solves security, memory and speed problems. Tested in production, very good alternative for environments when users are not very savvy and not require custom php.ini Sincerely, Alexandr Normuradov On 26 October 2011 19:00, Jesse B. Crawford wrote: > Because PHP is embedded within

Re: [users@httpd] best practice: suexec with PHP5 in a many-user/non-technical-user environment

2011-10-26 Thread Jesse B. Crawford
Because PHP is embedded within HTML, PHP web scripts cannot use a shebang, so it is a necessity that the php-cgi binary (/usr/bin/php-cgi in our environment) be executed with the script as an argument, rather than the script being executed directly (or at least this is my understanding, and I h

Re: [users@httpd] Apache2 sporadically not interpreting php code

2011-10-26 Thread Jeroen Geilman
On 2011-10-26 10:06, dubbelpunt wrote: My httpdserver is sporadically not interpreting some of my php code. Apache never, ever interprets PHP code. You are talking about mod_php, which is a third-party module. That said, you are also using APC and mod_python. I suggest you look into that. A

Re: [users@httpd] Intermittent access to web address

2011-10-26 Thread J.Lance Wilkinson
Webmaster Bill wrote: */I am testing from another computer on my home network but a friend a few miles away is testing the web address also and /**/he encounters the same problems/* Another thing to consider is your ISP (COMCAST, I understand from an earlier post; same as mine

Re: [users@httpd] Intermittent access to web address

2011-10-26 Thread Webmaster Bill
I am testing from another computer on my home network but a friend a few miles away is testing the web address also and he encounters the same problems . "Wild" Bill Miller Swampmaster From: Steve Swift Sent: Wednesday, October 26, 2011 2:12 AM To: users@httpd.apache.org Subject: Re: [users@h

Re: [users@httpd] Apache2 sporadically not interpreting php code

2011-10-26 Thread fedora
Hi Andi we once had the following problem: The home-page of a specific Web was erased at unspecified times, sometimes at 2 o'clock at night, sometimes at 4.35 in the morning. We then found out, that the devolopper of this Web had left a php-script in the cgi-area of this Web, which erased the

[users@httpd] Apache2 sporadically not interpreting php code

2011-10-26 Thread dubbelpunt
My httpdserver is sporadically not interpreting some of my php code. For example: today it can be function a() from page1.php that he doesn't find and tomorrow it can be function b() from page2.php that isn't interpeted. After restarting the httpd service, it works for a couple of hours and then t