PhpMyAdmin alias: php not executed

2 posts / 0 new
Last post
#1 Thu, 05/27/2010 - 15:05
billiam

PhpMyAdmin alias: php not executed

I'd like phpmyadmin to be available to all domains from the single install above. It's currently installed in /usr/share/phpMyAdmin

The default install added this alias in /etc/httpd/conf.d/phpmyadmin.conf:

Alias /phpmyadmin /usr/share/phpMyAdmin

While the phpmyadmin frame shows up at domain.com/phpmyadmin, php isn't getting executed (lots of

<?php
 echo $var
?>

visible).

I've also tried adding a directory alias for a single domain in virtualmin with the same result.

I'm using fcgi & suexec.

No idea what's wrong or how to go about fixing it. All help appreciated!

Thu, 05/27/2010 - 18:04
andreychek

My suggestion would be to create a new Virtual Server for your phpMyAdmin installation, and put it into there rather than running it out of /usr.

If you're using suexec, by default, that would only run apps in /home.

-Eric

Topic locked