You are not logged in.

#1 2013-04-25 17:57:46

ColdDistance
Member
From: Cádiz - Andalucía
Registered: 2013-04-25
Posts: 5

PhpMyAdmin doesn't run [Solved]

Hi, I'm trying to run a LAMP server on ArchLinux and I have a problem with PhpMyAdmin.

I followed the Arch Wiki but I don't find the error.
https://wiki.archlinux.org/index.php/PhpMyAdmin

Systemd says I have an error in the line 7 of the httpd-phpmyadmin.conf file.

Alias /phpmyadmin "/usr/share/webapps/phpMyAdmin"
        <Directory "/usr/share/webapps/phpMyAdmin">
                AllowOverride All
                Options FollowSymlinks
                Order allow,deny
                Allow from all
                php_admin_value open_basedir "/srv/:/tmp/:/usr/share/webapps/:/etc/webapps:/usr/share/pear/"
        </Directory>

It says Invalid command.

I guess I have to add something in the php.ini file or httpd.conf file, but I don't know what is it.

Last edited by ColdDistance (2013-04-27 16:17:58)

Offline

#2 2013-04-27 15:52:22

bakerboy
Member
From: Manchester, UK
Registered: 2009-10-06
Posts: 23

Re: PhpMyAdmin doesn't run [Solved]

Alias /phpmyadmin "/usr/share/webapps/phpMyAdmin"
        <Directory "/usr/share/webapps/phpMyAdmin">
                AllowOverride All
                Options FollowSymlinks
                Order allow,deny
                Allow from all
                php_admin_value open_basedir "/srv/:/tmp/:/usr/share/webapps/:/etc/webapps:/usr/share/pear/"
        </Directory>


Look the part /etc/webapps

You are missing a forward /    Should be /etc/webapps/:/usr/share/pear/"

Offline

#3 2013-04-27 16:23:18

ColdDistance
Member
From: Cádiz - Andalucía
Registered: 2013-04-25
Posts: 5

Re: PhpMyAdmin doesn't run [Solved]

Sorry, I didn't post the solve from Google+.

I had no configured LoadModule php5_module modules/libphp5.so and Include conf/extra/php5_module.conf in my /etc/httpd/conf/httpd.conf file.

Offline

Board footer

Powered by FluxBB