phpmyadmin not executing after upgrade

Discussion in 'Installation/Configuration' started by Entangled, Jan 7, 2018.

  1. Entangled

    Entangled Member

    Hello.

    I upgraded from Wheezy to Jessie and upgrade ISPConfig on the CP server. The Jessie distro comes with Apache 2.4.x so I have ISPConfig reconfig the Services. Everything was upgraded without any issues and the sites on the CP server are running without any problems except phpmyadmin now displays the PHP source instead of executing.

    I have compared the 2.2 ispconfig.conf/.vhost to the 2.4 files ... I do not see anything too much different between them.

    2.4 has Includeoptional conf-enable/*.conf .... etc ...

    I have spent HOURS looking at this ... while I take a break from all the "fun", I figure I would ask the group because I know it is something stupid that I am missing.

    I appreciate the help. Thank you.
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Have You checked with perfect server guide for Jessie all PHP modules are installed and configurations made according to the guide? Perfect server for Jessie is different than for Wheezy. Just doing Debian upgrade does not apply those differences.
     
  3. Entangled

    Entangled Member

    After the upgrading to Jessie, all PHP scripts would run without any problems except for phpMyAdmin. I had this problem on a previous upgrade too. I added to /etc/phpmyadmin/apache.conf :

    #
    # Added for phpMyAdmin
    <FilesMatch "\.php$">
    SetHandler fcgid-script
    FCGIWrapper /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter .php
    </FilesMatch>

    All is well now.
     
    ahrasis likes this.

Share This Page