-
2 Attachment(s)
install fresh 4.5.4
Hello!
Again problem with installing fresh copy of 4.5.4 version. Here is my step by step process:
- wget https://getcomposer.org/download/1.6.3/composer.phar
- php composer.phar update -o
- /opt/cpanel/ea-php71/root/usr/bin/php composer.phar create-project contao/managed-edition public_html 4.5.*
After installing I get error masage /tmp/somenumbersandletters not writable: look attachment!
Maybe I need to install aditional apache modules -> attachment
Any idea?
Thank's all for help!
Best regards
-
What's your hosting provider?
There's probably a misconfiguration of the sys_temp_dir variable so that the sys_get_temp_dir() function could not retrieve the temporary directory which should be writeable.
You could try to set another writeable temporary directory at runtime. That said, add the following directives to a script that is called by the application at runtime, i.e. app.php or localconfig.php, ...
PHP Code:
putenv('TMP=' . TL_ROOT . '/system/tmp');
putenv('TEMP=' . TL_ROOT . '/system/tmp');
putenv('TMPDIR=' . TL_ROOT . '/system/tmp');
Make sure that system/tmp exists and is writeable.
You may also want to ask your hosting provider why the temporary directory is not writeable at all.
-
Contabo, Germany
do you know which apache modules I need to install. for now I have default modules. PHP extensions all with opcache.
-
an new :-)
Fatal error: Cannot declare class ClassLoader, because the name is already in use in /home/xtalkshop/public_html/vendor/contao/core-bundle/src/Resources/contao/config/ide_compat.php on line 0
Fatal error: Cannot declare class BackendUser, because the name is already in use in /home/xtalkshop/public_html/vendor/contao/core-bundle/src/Resources/contao/config/ide_compat.php on line 0