English 中文(简体)
在阿帕奇2和PHP-FastCGI服务器上安装PHPMyAdmin
原标题:Setting up PHPMyAdmin on a server running Apache2 and PHP-FastCGI

我得以通过我的新班图服务器的指挥线安装PHPMyAdmin。 但现在,当我试图进入这个服务器时,我获得“你没有获准进入该服务器的网址:phpmyadmin/index.php”。

我认为,它必须在文件上与这些内容一致,因为它们指的是Mod_php,而我则使用php-fastcgi而不是 mod-php(用于记忆使用)。

    <IfModule mod_php5.c>
            AddType application/x-httpd-php .php

            php_flag magic_quotes_gpc Off
            php_flag track_vars On
            php_flag register_globals Off
            php_admin_flag allow_url_fopen Off
            php_value include_path .
            php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp
            php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/
    </IfModule>

I have tried commenting out the tags, but the php settings don t work outside of it so there must be a way to do this with PHP FastCGI. Does anyone know how to do this?

我是使用PHP“快车吧”。

最佳回答

Turns out I just had to add to the option "ExecCGI" to the apache.conf file for PHPMyAdmin. I had to put this under (within) the directory tag.

问题回答

如果是网站用户,则需要核对文件所有权,网址是:phpmyadmin名录。





相关问题
Using SimplePie with CodeIgniter and XAMPP

I am using CodeIgniter 1.7.2 with XAMPP 1.7.2 on a Windows computer. I am trying to make use of SimplePie. I followed all the instructions I could find: a copy of simplepie.inc is in my applications/...

Multiple Sites with common files

I have developed over 50 sites that all use the exact same files other than CSS and IMAGES, I currently duplicate the files each time I create a new site and upload different css and images. What ...

http server validation

I finish a litle http server, writing from scratch. I would like to be sure that my imlementation is conforme to the HTTP specifications. W3C give us tools for HTML/XML conformance, but i see nothing ...

热门标签