Submitted by extensys on Thu, 01/12/2017 - 11:13
Activating Phpmyadmin it only download and not execute, don't know what to watch.
application/x-httpd-php
criptAlias /awstats/ /home/devgs/domains/xxx.xxx/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/devgs/domains/xxx.xxx/public_html>
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
AddType application/x-httpd-php .php
AddType application/x-httpd-php .html
Require all granted
AddHandler fcgid-script .php
AddHandler fcgid-script .php5
FCGIWrapper /home/devgs/domains/xxx.xxx/fcgi-bin/php5.fcgi .php
FCGIWrapper /home/devgs/domains/xxx.xxx/fcgi-bin/php5.fcgi .php5
</Directory>
<Directory /home/devgs/domains/xxx.xxx/cgi-bin>
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
</Directory>
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.xxx.xxx
RewriteRule ^(.*) https://xxx.xxx:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.xxx.xxx
RewriteRule ^(.*) https://xxx.xxx:10078/ [R]
<Files awstats.pl>
AuthName "xxx.xxx statistics"
AuthType Basic
AuthUserFile /home/devgs/domains/xxx.xxx/.awstats-htpasswd
require valid-user
</Files>
RedirectMatch /cgi-bin/mailman/([^/\.]*)(.cgi)?(.*) https://xxx.xxx:10078/virtualmin-mailman/unauthenticated/$1.cgi$3
RedirectMatch /mailman/([^/\.]*)(.cgi)?(.*) https://xxx.xxx:10078/virtualmin-mailman/unauthenticated/$1.cgi$3
Alias /pipermail /var/lib/mailman/archives/public
php_value memory_limit 32M
RemoveHandler .php
RemoveHandler .php5
php_admin_value engine Off
IPCCommTimeout 9999
FcgidMaxRequestLen 1073741824
</VirtualHost>
Status:
Active
Comments
Submitted by andreychek on Thu, 01/12/2017 - 11:46 Comment #1
Submitted by andreychek on Thu, 01/12/2017 - 11:47 Comment #2
Howdy -- do other PHP apps work okay within this domain?
Is this just an issue with phpMyAdmin?
Submitted by extensys on Thu, 01/12/2017 - 12:23 Comment #3
Yes only phpmyadmin problem. We have entire sites that works correctly with php
Submitted by andreychek on Thu, 01/12/2017 - 12:37 Comment #4
Was there a Debian package for phpMyAdmin that had been installed?
If so, that may be the cause of what you're seeing, it may be conflicting with the phpMyAdmin being installed within your Virtual Servers.
What is the output of this command:
dpkg -l 'phpmyadmin*'
Submitted by extensys on Fri, 01/13/2017 - 00:53 Comment #5
ii phpmyadmin 4:4.2.12-2+deb8u2 all
Submitted by extensys on Fri, 01/13/2017 - 05:05 Comment #6
This problem is frustrating.
Submitted by andreychek on Fri, 01/13/2017 - 08:42 Comment #7
Ah, yes, I think that package is the cause of your problems.
I would remove it with:
apt-get purge phpmyadmin
Once you do that, restart Apache, and then see if things begin working properly at that point.
Submitted by extensys on Sat, 01/14/2017 - 02:38 Comment #8
Yes that's work ! Thanks