- CentOS 7, PHP 7.4.33
- ownCloud installed via CentOS-Package-Manager
The call of
sudo -u ./occ mainetance:install …
or all the other “occ” commands leads to this error:
PHP Parse error: syntax error, unexpected ‘{’ in /var/www/html/owncloud/console.php on line 66
tom42
2
Hey,
maybe the PHP version running on the terminal is not the version ownCloud is expecting? I think this can be checked by running:
/usr/bin/env php -v
1 Like
Hey,
yeah, you are so right. There was an wrong symbolic link. As soon as you do it right, everything works. I didn’t see that at first 
Thanks
1 Like
system
Closed
4
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.