home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] Apache2/php/suexec issues

  • Subject: Re: [OCLUG-Tech] Apache2/php/suexec issues
  • From: Rob Echlin <rob [ at ] echlin [ dot ] ca>
  • Date: Thu, 6 Jun 2013 12:18:50 -0700 (PDT)
Hi Jeff,
The room we use is up a flight of stairs, so not good for wheelchairs.

Personally, I don't have a car, so I can't help there.
Where do you need a ride from?


Rob



----- Original Message -----
> From: Jeff Moncrieff <jeffrey [ dot ] moncrieff [ at ] yahoo [ dot ] ca>
> To: Rob Echlin <rob [ at ] echlin [ dot ] ca>
> Cc: Ottawa Linux Users Group <linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca>
> Sent: Thursday, June 6, 2013 12:15:22 PM
> Subject: Re: [OCLUG-Tech] Apache2/php/suexec issues
> 
> I was going to go to the meeting but my wheel chair was stolen last night. If I 
> can get a ride from someone that will be great.
> 
> Sent from my iPhone
> 
> On 2013-06-06, at 11:35 AM, Rob Echlin <rob [ at ] echlin [ dot ] ca> wrote:
> 
>>  Hi Jeff,
>> 
>>  Guessing at your meaning of "where are you".
>> 
>>  The club meets tonight, 7pm, at Shopify in the Byward Market, 
>>  at 126 York Street, half a block east of Dalhousie
>>  and the Byward Market. Enter from the parking lot at the back.
>>  You can also get into the parking lot from George St, north side of the 
> street, east side of "The Honest Lawyer".
>> 
>>  We have a help session for Linux users from 6 to 7, meeting from 7-8:30, 
> breakout groups 8:30 to 9, pub chats 9:15-late.
>> 
>> 
>>  All my very best,
>>  Rob 
>> 
>>  --
>>  Rob Echlin, B. Eng.
>>  613-266-8311 -  Ottawa, ON
>>  http://talksoftware.wordpress.com  - http://picasaweb.google.com/coderoller
>> 
>> 
>> 
>>  ----- Original Message -----
>>>  From: Jeff Moncrieff <jeffrey [ dot ] moncrieff [ at ] yahoo [ dot ] ca>
>>>  To: Rob Echlin <rob [ at ] echlin [ dot ] ca>
>>>  Cc: 
>>>  Sent: Wednesday, June 5, 2013 2:52:51 PM
>>>  Subject: Re: [OCLUG-Tech] Apache2/php/suexec issues
>>> 
>>>  Rob 
>>>  where  are u I could come cheek it out.
>>> 
>>>  Sent from my iPhone
>>> 
>>>  On 2013-06-05, at 1:21 PM, Rob Echlin <rob [ at ] echlin [ dot ] ca> wrote:
>>> 
>>>>  Thanks for that update, Jeff.
>>>>  I expect it's just a newness in Apache that I didn't know 
> about, or
>>>  a feature I never needed.
>>>> 
>>>>  If correct, you should be able to set it in the virtual host config 
> files.
>>>> 
>>>>  I could look at your config files during the breakout time.
>>>> 
>>>>  Anyone else interested in Apache configs?
>>>>  We could have a separate breakout group, or this could be the group 
> for 
>>>  sysadmins.
>>>> 
>>>>  Rob
>>>> 
>>>> 
>>>> 
>>>> 
>>>>  ----- Original Message -----
>>>>>  From: Jeff Moncrieff <jeffrey [ dot ] moncrieff [ at ] yahoo [ dot ] ca>
>>>>>  To: Rob Echlin <rob [ at ] echlin [ dot ] ca>
>>>>>  Cc: 
>>>>>  Sent: Wednesday, June 5, 2013 12:58:58 PM
>>>>>  Subject: Re: [OCLUG-Tech] Apache2/php/suexec issues
>>>>> 
>>>>>  I know there use to be a way off the top of my head I can not 
> remember
>>>  exactly 
>>>>>  but I know I had it working for Php 4 and 5 it was in the 
> .htaccess I
>>>  think a rc 
>>>>>  flag 
>>>>> 
>>>>>  Sent from my iPhone
>>>>> 
>>>>>  On 2013-06-05, at 12:53 PM, Rob Echlin <rob [ at ] echlin [ dot ] ca> 
> wrote:
>>>>> 
>>>>>>  Hi David,
>>>>>>  I used to use Apache a lot, but not for a couple of years, 
> so they 
>>>  may have
>>>>>  added features since then, but this is true as of Apache 2.2.
>>>>>> 
>>>>>>  You can't have different mods in different virtual 
> hosts on the
>>>  same
>>>>>  instance of Apache. That's because "Apache" loads 
> the
>>>  mods, and 
>>>>>  the set of mods that are loaded are available to all of the 
> virtual
>>>  hosts.
>>>>>> 
>>>>>>  You can run two instances of Apache on the same server. You 
> would
>>>  have to
>>>>>  run the two instances of Apache on different IP addresses or 
> different
>>>  ports, 
>>>>>  each with their own config files.
>>>>>> 
>>>>>>  You can also run two instances in two Virtual Machines, but 
> you
>>>  would still
>>>>>  need two IP addresses or two sets of ports.
>>>>>> 
>>>>>> 
>>>>>>  Sorry, I can't help you with the difference between 
> fastcgi and
>>>>>  fast-cgid.
>>>>>> 
>>>>>>  Hope this helps,
>>>>>>  Rob
>>>>>> 
>>>>>>   
>>>>>>  --
>>>>>>  Rob Echlin, B. Eng.
>>>>>>  613-266-8311 -  Ottawa, ON
>>>>>>  http://talksoftware.wordpress.com  -
>>>  http://picasaweb.google.com/coderoller
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>>  ----- Original Message -----
>>>>>>>  From: David Patte ₯ <dpatte [ at ] relativedata [ dot ] com>
>>>>>>>  To: linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
>>>>>>>  Cc: 
>>>>>>>  Sent: Wednesday, June 5, 2013 11:28:27 AM
>>>>>>>  Subject: [OCLUG-Tech] Apache2/php/suexec issues
>>>>>>> 
>>>>>>>  As mentioned in an email earlier this week, I have 
> setup my
>>>  first linux
>>>>> 
>>>>>>>  server. But I am having an issue with using the correct 
> php and
>>>  fastcgi
>>>>> 
>>>>>>>  versions.
>>>>>>> 
>>>>>>>  I originally set up apache using mod-php5. But I also 
> needed
>>>  fastcgi to
>>>>> 
>>>>>>>  enable some c++ apps I have built.
>>>>>>> 
>>>>>>>  So I also setup fcgid, and all was working pretty well. 
> I also
>>>  got 
>>>>>>>  phpmyadmin running on the site.
>>>>>>> 
>>>>>>>  I then transferred a Drupal 6 site to the server, and
>>>  discovered that 
>>>>>>>  the php I had setup with mod-php5 (5.4) is not 
> compatible with
>>>  a Drupal
>>>>> 
>>>>>>>  6 site. Drupal 6 requires PHP 5.2. So I followed 
> instructions
>>>  to build 
>>>>>>>  php 5.2.17 using phpfarm, and set that up with
>>>>>>>  fastcgi and suexec.
>>>>>>> 
>>>>>>>  The problem I am having is that the Drupal site now 
> runs fine,
>>>  as do my
>>>>> 
>>>>>>>  fastcgi c++ apps, but phpmyadmin stopped working - 
> presumably
>>>  since it 
>>>>>>>  does not support suexec.
>>>>>>> 
>>>>>>>  But if I enable mod-php5, the php reverts to 5.4, 
> phpmyadmin 
>>>  works but 
>>>>>>>  my Drupal site no longer runs correctly.
>>>>>>> 
>>>>>>>  Related, perhaps is that I also seem to now have both
>>>  mod-fastcgi and 
>>>>>>>  mod-fcgid enabled.
>>>>>>> 
>>>>>>>  How could I change things so that php5.4 runs in one 
> virtual
>>>  host, yet 
>>>>>>>  php5.2 runs in another?
>>>>>>>  And what is the difference between mod-fastcgi and 
> mod-fcgid?
>>>>>>> 
>>>>>>>  Will there be somone at the meeting Thursday that could 
> check
>>>  my .conf 
>>>>>>>  files to help recommend what changes I could make?
>>>>>>> 
>>>>>>>  Thanks in advance.
>>>>>>> 
>>>>>>>  David
>>>>>>>  _______________________________________________
>>>>>>>  Linux mailing list
>>>>>>>  Linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
>>>>>>>  http://oclug.on.ca/mailman/listinfo/linux
>>>>>>  _______________________________________________
>>>>>>  Linux mailing list
>>>>>>  Linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
>>>>>>  http://oclug.on.ca/mailman/listinfo/linux
>>> 
>