YunoHost-Apps / pixelfed_ynh

The federated image shareing service Pixelfed for YunoHost
https://pixelfed.org/
GNU Affero General Public License v3.0
44 stars 15 forks source link

?init in file stopping php artisan commands #48

Closed StopTrackingUs closed 5 years ago

StopTrackingUs commented 5 years ago

PHP Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE) in /var/www/pixelfed/vendor/zendframework/zend-diactoros/src/functions/marshal_uri_from_sapi.php on line 83

I am trying to turn on ActivityPub inbox and sharedinbox, but when I run artisan commands I get this error.

StopTrackingUs commented 5 years ago

The syntax errors look like they only effect php7.0 and not updated version. Can anyone assist me in updating php for the one app? (this should be possible on the docker level)

StopTrackingUs commented 5 years ago

This issue can be closed.

lapineige commented 5 years ago

Same issue for me, php7.0 and php 7.2 :(

lapineige commented 5 years ago

Oh ok I just understood what you meant : we need to run php7.2 in each command instead of just php artisant [command]. I guess php default to 7.0.