Posts by theemstra

    Did you actually create an email account and an FTP-account or are you trying to log in with your domain name

    Hi,


    Did you check the errdata file before updating?
    There are some changes in how listeners (formerly hooks) are implemented, one of them is phased out with the last phase being this release.
    Please check the errdata, you will see that it says that you have to check your listeners (/etc/imscp/hooks.d and /etc/imscp/listeners.d) and change some small things.
    Also you need to move the files from hooks.d to listeners.d, which is part of an earlier errdata.


    If you need more help, please upload your listener files and we can have a look at it.

    You can translate in Transifex when you have clicked the action "Join translation team", but also you can download the file and use your own translation software if that suits you more.
    The easiest approach is to translate in-browser.


    You should be able to join the project and the translation team

    Hi,


    So I got a customer that is using phtml files and is asking if he could use those to parse PHP.
    The situation now is that is is parsed by apache as HTML and shows the PHP code just written out.
    How could we add this? I opened a ticket, but maybe it should not be part of an i-MSCP release, but just enabled on a per-user basis.


    Adding a .htaccess clause like this didn't work:

    Code
    1. AddType application/php-script .phtmlAddHandler php-script .phtml


    or

    Code
    1. AddHandler application/x-httpd-php .phtmlAddType application/x-httpd-php .phtml

    or


    Code
    1. AddHandler proxy:fcgi://php5-fpm .phtml
    2. AddType proxy:fcgi://php5-fpm .phtml

    (this causes the file to be offered as a download, instead of executing it or just showing it to the browser)


    i-MSCP 1.2.2
    Debian 7 Wheezy
    PHP 5.4.39-0+deb7u2