Hello,
I was in the process of updating my PHP 7.0 to 7.3, but somehow accidentally updated to 7.4. Smh. Anyway, i updated OC from 10.3 o 10.4 before i realized the php version. I took a look around our OC environment, and it appears everything that i can see works (for now), so i likely wont try and downgrade PHP for the time being.
One issue i saw, was that my environment’s url now has “/index.php/apps/files…” in it…and i would like to remove the index.php inclusion, as it was before i updated both php version and oc version. I tried to following this guide (https://doc.owncloud.org/server/admin_manual/configuration/server/index_php_less_urls.html) but am unable to run the occ command, which results in this error:
MyUser: sudo -u www-data php occ maintenance:update:htaccess
This version of ownCloud is not compatible with PHP 7.4
You are currently running PHP 7.4.6.
Does anyone know how i can work around this and remove the index.php from my url, without running the occ command?
from what i know you would get the same message in your Web GUI of ownCloud if your server is running PHP 7.4 because ownCloud 10.4 isn’t compatible with PHP 7.4.
I think your web server is still running PHP 7.3 but the default PHP on the command line is already PHP 7.4. Maybe this could bring you some issues if you are running the cron job of ownCloud on command line because this also won’t work with PHP 7.4.
That’s weird though, because if i do “php -v” in the command line, it will show me php 7.4. Not sure how the webserver could run 7.3, but it’s very possible. I know for sure when i was updating php, i typed 7.3, not 7.4.
You’re right about the cron job, i checked it’s status in the admin settings, and it is in fact not running.