Problem with The Perfect Server Open SuSE 13.1 x_64

Discussion in 'HOWTO-Related Questions' started by sms_mitschs, Jul 31, 2014.

  1. sms_mitschs

    sms_mitschs New Member

    In the hope someone is willing to help ;)

    I am in the progress of moving several domains and webs (administered with ISPConfig 3.0.3x on SuSE 11.2) to a new server which is configured with the help of


    http://www.howtoforge.com/the-perfect-server-opensuse-13.1-with-apache2-mysql-php-postfix-and-ispconfig-3

    Before I will move all domains and site content to the new server I just tested the configuration with a test site ... If I enter the URL to the site I get the greeting screen .... everything is fine ... but when I test the link to /phpmyadmin I either get a download of index.php or I get "No Input file found" ... only if I configure the testsite to use mod-php the access to phpmyadmin works. The erronous reactions on accessing php-scripts depends on which php implementation is selected on the web configuration ... I already played around with the open_base_dir option and added /srv/www/htdocs to the path or created a soft link in /usr/share and /var/lib to point to the installation of phpmyadmin. Then I get access to the login screen but after logging in, the URL gets redirected to siteroot/index.php instead of siteroot/phpmyadmin/index.php ... Same with SquirrelMail :(

    Before these problems are not fixed I cant move the content.

    I have followed the HowTo to the word (and fixed some minor bugs) and checked every step two and three times ;)

    Anyone able to help me in this case? Any help is much appreciated.

    Greets from Germany
    Sven
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Add:

    AddType application/x-httpd-php .php

    inside of the <Directory ....> directives in the squirrelmail and phpmyadmin apache configuration files and restart apache.
     
  3. sms_mitschs

    sms_mitschs New Member

    Almost functional

    Hi Till,
    thanks for your fast reply and help.
    It is almost functional now:
    Fast-CGI working :)
    Mod-PHP working :)
    SuPHP working :)
    PHP-FPM not working :(

    Here is how I changed the configuration:
    Code:
    ln -s /srv/www/htdocs/phpMyAdmin/ /var/lib/phpmyadmin
    ln -s /srv/www/htdocs/phpMyAdmin/ /usr/share/phpmyadmin
    
    ... changed apache config for phpMyadmin
    Code:
    vi /etc/apache2/conf.d/phpMyAdmin.conf
    Code:
    (...)
    <Directory /srv/www/htdocs/phpMyAdmin>
      Options FollowSymLinks
      AllowOverride None
      [B]AddType application/x-httpd-php .php[/B]
      <IfModule mod_php5.c>
    (...)
    
    ... changed apache config for Squirrelmail
    Code:
    vi /etc/apache2/conf.d/squirrelmail.conf
    Code:
    (...)
    <Directory "/srv/www/htdocs/squirrelmail">
    [B]AddType application/x-httpd-php .php[/B]
    php_admin_flag register_globals Off
    (...)
    Code:
    systemctl restart apache2.service
    Is there any hint or correction available for getting PHP-FPM working??

    Any further help is much appreciated.
    Thanks in advance
    Sven
     
  4. sms_mitschs

    sms_mitschs New Member

    bump

    ... anyone with ideas on how to resolve the issue??

    Greets
    Sven
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you get a new error message or the same one as before?
     
  6. sms_mitschs

    sms_mitschs New Member

    Hello Till,
    in the websites error.log I get the following message:

    Code:
    [Mon Aug 04 17:42:16.602587 2014] [php5:error] [pid 27899] [client 94.242.206.244:42126] script '/srv/www/hxxxxxxx.stratoserver.net/web/xmlrpc.php' not found or unable to stat

    Seems phpmyadmin does not include the correct directory ... I think it should be '/srv/www/htdocs/phpmyadmin/xmlrpc.php' ...

    Greets
    Sven
     
  7. sms_mitschs

    sms_mitschs New Member

    Bump

    Noone with similar Problems ... and probably a solution?
     

Share This Page