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

Bug #1182083 reported by Simon Blandford on 2013-05-20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
phpmyadmin (Ubuntu)

Bug Description

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

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

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/

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers