php displays code partly normal and partly as text

Discussion in 'Programming/Scripts' started by Roch, Jan 26, 2021.

  1. Roch

    Roch New Member HowtoForge Supporter

    I've installed a debian 10 with ispconfig, php 5.6 and 5.7 (thanks for the great tutorials).
    I've an application (15 years old), I was using with php 5.5.45 on a debian 7.
    I'd like to move it to debian 10.
    It doesn't matter if I'using fpm or fast-cgi with php 5.6.
    The result is the same : part of the code is displayed correctly, part is displayed as text (cf the attached image).
    Many thanks in advance for your help.
    BRgds.
    Michel
     

    Attached Files:

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Edit PHP 5.6 php.ini files and switch on short open tags. Then restart apache and the matching php fpm daemon.
     
  3. Roch

    Roch New Member HowtoForge Supporter

    Many thanks for your help. It works,
     

Share This Page