Typo3 läuft nicht mehr nach dem Update auf 1.2.13

  • @mrpink @oekowalti


    admin level PHP parameters (including openbase_dir global parameter) are not longer provided. See the changelog and errata file: https://github.com/i-MSCP/imsc…ation-options-admin-level
    Well, now, if you want override default open_basedir path, you can use that listener: https://github.com/i-MSCP/imsc…p_confoptions_override.pl


    With that listener, you can override the open_basedir parameter on a per domain basis. For instance, in the listener, you can do

    Perl
    1. my %configOptions = ('domain1.tld' => { # Any PHP configuration added here will apply to the domain only'open_basedir' => '/var/www/apps/:{HOME_DIR}/:{PEAR_DIR}'},'domain2.tld' => { # Any PHP configuration added here will apply to the domain only'open_basedir' => '/var/www/apps/:{HOME_DIR}/:{PEAR_DIR}/'},'*' => { # Any PHP configuration option added here will apply globally.'<option_name>' => '<option_value>'});


    Here, I've added the /var/www/apps path. Placeholders {HOME_DIR} and {PEAR_DIR} will be replaced as usually.
    But doing this is not sufficient because you're also restricted at apache level. So, you must also allow the user to access the /var/www/apps directory in the custom vhost file which is included in the domain vhost file. For instance, you could add:

    Code
    1. <Directory /var/www/apps>
    2. Options +SymLinksIfOwnerMatch
    3. Require all granted
    4. </Directory>


    Be also aware that symlinks are followed only if owner match by default. You could have to change that too.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206