FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Debian: php fast-cgi along with mod_php
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Debian: php fast-cgi along with mod_php [message #174944] Tue, 19 July 2011 13:03 Go to next message
Nicolaj Kamensek is currently offline  Nicolaj Kamensek
Messages: 1
Registered: July 2011
Karma: 0
Junior Member
Hello group,

I am trying to establish the following scenario using debian squeeze:
php using fastcgi/suexec shall be used for regular users which have
their home directory under /home/www/. So far so good, this works well
either with apache2-mpm-worker or mpm-prefork. Since debian does not
allow mod_php to be installed while mpm-worker is installed, I installed
mpm-prefork on my testbox as well as mod_php and phpmyadmin.

phpmyadmin was configured by debian so that it can be accessed using
http://<ip>/phpmyadmin

The problem is: fastcgi only works when mod_php is disabled but of
course phpmyadmin won't work anymore. I am trying to find a solution
where I can disable mod_php for the virtual host where required.
(Or only enable it for phpmyadmin, I don't care)

What I tried so far was a

<Directory /home/www>
php_admin_flag engine off
</Directory>

within the global apache configuration. That led to a working phpmyadmin
but all php files within regular vhosts will be offered for download.
This is how a virtual host confiugration looks like:


<VirtualHost *:80>
ServerName test.example.com

SuexecUserGroup test users

AddHandler fcgid-script .php
FCGIWrapper /home/www/test/php-fcgi/php-fcgi-starter .php

Options +ExecCGI

DocumentRoot /home/www/test/html
</VirtualHost>


Although this question does not perfectly well fit into that group, I am
hoping to find apache/php specialists here since all the available
apache groups seem to be ghosts towns by now.


Thanks for any help!
Re: Debian: php fast-cgi along with mod_php [message #181821 is a reply to message #174944] Wed, 05 June 2013 19:39 Go to previous messageGo to next message
Ralf is currently offline  Ralf
Messages: 1
Registered: June 2013
Karma: 0
Junior Member
Did you found a solution for this problem? I have same issues and need some help...
Re: Debian: php fast-cgi along with mod_php [message #181822 is a reply to message #181821] Wed, 05 June 2013 21:02 Go to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 6/5/2013 3:39 PM, Ralf wrote:
> Did you found a solution for this problem? I have same issues and need some help...
>

The post you're replying to is almost two years old. I highly doubt he
will be back.

Try starting a new thread describing your problem.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: bug in is_numeric
Next Topic: Re: How to use LDAP using PHP
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 12:39:03 GMT 2024

Total time taken to generate the page: 0.02667 seconds