Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #2632
| Date | 2011-07-19 15:03 +0200 |
|---|---|
| From | Nicolaj Kamensek <news@kamensek.de> |
| Newsgroups | comp.lang.php |
| Subject | Debian: php fast-cgi along with mod_php |
| Message-ID | <4e2580a2$0$4150$6e1ede2f@read.cnntp.org> (permalink) |
| Organization | CNNTP |
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!
Back to comp.lang.php | Previous | Next — Next in thread | Find similar | Unroll thread
Debian: php fast-cgi along with mod_php Nicolaj Kamensek <news@kamensek.de> - 2011-07-19 15:03 +0200
Re: Debian: php fast-cgi along with mod_php Ralf <rudpin@gmail.com> - 2013-06-05 12:39 -0700
Re: Debian: php fast-cgi along with mod_php Jerry Stuckle <jstucklex@attglobal.net> - 2013-06-05 17:02 -0400
csiph-web