Public bug reported:

I have a server set up with apache2-mpm-worker. This is not compatible
with mod_php. The config for phpmyadmin only has directives for mod_php.

I got it to work with fast CGI using the following extra directives in
/etc/phpmyadmin/ within the <Directory /usr/share/phpmyadmin> section.

        <IfModule mod_fastcgi.c>
                Options +ExecCGI
                AllowOverride AuthConfig FileInfo Limit
                AddHandler fcgid-script .php
                FCGIWrapper /usr/share/phpmyadmin/cgi-bin/.php-fcgi-starter .php
        </IfModule>

I created a script at /usr/share/phpmyadmin/cgi-bin/.php-fcgi-starter
with the following contents

#!/bin/sh
exec /usr/bin/php-cgi -d magic_quotes_gpc=off -d track_vars=on -d 
register_globals=off -d allow_url_fopen=off -d 
upload_tmp_dir=/var/lib/phpmyadmin/tmp -d 
open_basedir=/usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/

** Affects: phpmyadmin (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1182083

Title:
  Config only works with mod_php so apache2-mpm-worker won't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/phpmyadmin/+bug/1182083/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to