1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Fresh install php5 not loading

Discussion in 'Plesk 11.x for Linux' started by MarcelB-, Dec 21, 2012.

  1. MarcelB-

    MarcelB- New Pleskian

    13
    60%
    Joined:
    Oct 11, 2011
    Messages:
    13
    Likes Received:
    0
    Hi,

    I have 2 setups currently 1 live and one fresh as a backup.

    the first is the live site where we first saw the problem.

    When we want to go to a website serving .php files it shows the php file as download.
    html is functional correctly.

    httpd.conf :
    AddType application/x-httpd-php .php .phtml .html

    php5.conf
    <IfModule mod_php5.c>
    <FilesMatch "\.ph(p[345]?|tml)$">
    SetHandler application/x-httpd-php
    </FilesMatch>
    <FilesMatch "\.php[345]?s$">
    SetHandler application/x-httpd-php
    </FilesMatch>
    <FilesMatch "\.php$">
    SetHandler application/x-httpd-php
    </FilesMatch>
    DirectoryIndex index.php4
    DirectoryIndex index.php5
    DirectoryIndex index.php
    </IfModule>


    loadmodule.conf:
    LoadModule actions_module /usr/lib64/apache2-prefork/mod_actions.so
    LoadModule alias_module /usr/lib64/apache2-prefork/mod_alias.so
    LoadModule auth_basic_module /usr/lib64/apache2-prefork/mod_auth_basic.so
    LoadModule authn_file_module /usr/lib64/apache2-prefork/mod_authn_file.so
    LoadModule authz_host_module /usr/lib64/apache2-prefork/mod_authz_host.so
    LoadModule authz_user_module /usr/lib64/apache2-prefork/mod_authz_user.so
    LoadModule autoindex_module /usr/lib64/apache2-prefork/mod_autoindex.so
    LoadModule cgi_module /usr/lib64/apache2-prefork/mod_cgi.so
    LoadModule dir_module /usr/lib64/apache2-prefork/mod_dir.so
    LoadModule env_module /usr/lib64/apache2-prefork/mod_env.so
    LoadModule expires_module /usr/lib64/apache2-prefork/mod_expires.so
    LoadModule include_module /usr/lib64/apache2-prefork/mod_include.so
    LoadModule log_config_module /usr/lib64/apache2-prefork/mod_log_config.so
    LoadModule mime_module /usr/lib64/apache2-prefork/mod_mime.so
    LoadModule negotiation_module /usr/lib64/apache2-prefork/mod_negotiation.so
    LoadModule setenvif_module /usr/lib64/apache2-prefork/mod_setenvif.so
    LoadModule ssl_module /usr/lib64/apache2-prefork/mod_ssl.so
    LoadModule userdir_module /usr/lib64/apache2-prefork/mod_userdir.so
    LoadModule reqtimeout_module /usr/lib64/apache2-prefork/mod_reqtimeout.so
    LoadModule suexec_module /usr/lib64/apache2-prefork/mod_suexec.so
    LoadModule headers_module /usr/lib64/apache2-prefork/mod_headers.so
    LoadModule rewrite_module /usr/lib64/apache2-prefork/mod_rewrite.so
    LoadModule dav_module /usr/lib64/apache2-prefork/mod_dav.so
    LoadModule dav_fs_module /usr/lib64/apache2-prefork/mod_dav_fs.so
    LoadModule auth_digest_module /usr/lib64/apache2-prefork/mod_auth_digest.so
    LoadModule dav_lock_module /usr/lib64/apache2-prefork/mod_dav_lock.so
    LoadModule php5_module /usr/lib64/apache2/mod_php5.so
    LoadModule suphp_module /usr/lib64/apache2/mod_suphp.so
    LoadModule fcgid_module /usr/lib64/apache2/mod_fcgid.so


    I installd a fresh copy of opensuse 12.2 and i got exactly the same problem.

    Is this a bug in plesk ?



    Marcel

    p.s. sorry for the bad english
     
Loading...