Pretty URL's in 5.8 can break your site and 5.8 won't run on php7.2
Permalink
I had a new installation of the 8.3.1.
As always I wanted to change to pretty URL's. Boy what a screw up. No .htaccess file was generated as I was used to and I couldn't login to my site anymore.
I manually created a .htaccess file only ending up with an internal server error. In the database I couldn't find any information on how the default url was stored. Finally it turned out to be a PHP file in: application/config/generated_overrides/concrete.php.
In this file I had to put "url_rewriting" to the value "false".
Everything went back to normal. Now I am dealing without pretty url's.
What I don't get is, everything that used to be so simple with C5 is now creating headaches.
The second thing is that 5.8 just don't want to run on php7.2. I get an "is_dir(): open_basedir restriction in effect." error. I tried every possible solution. Changed the values for open basedir with no result.
In my opinion there is something wrong with how 5.8 handles with url's and paths. But I can't figure it out. My only solution was to switch back to PHP5.6.
The ease of use and installing of C5 without any problems seems to be gone.
As always I wanted to change to pretty URL's. Boy what a screw up. No .htaccess file was generated as I was used to and I couldn't login to my site anymore.
I manually created a .htaccess file only ending up with an internal server error. In the database I couldn't find any information on how the default url was stored. Finally it turned out to be a PHP file in: application/config/generated_overrides/concrete.php.
In this file I had to put "url_rewriting" to the value "false".
], 'seo' => [ 'redirect_to_canonical_url' => 0, 'url_rewriting' => false, ],
Everything went back to normal. Now I am dealing without pretty url's.
What I don't get is, everything that used to be so simple with C5 is now creating headaches.
The second thing is that 5.8 just don't want to run on php7.2. I get an "is_dir(): open_basedir restriction in effect." error. I tried every possible solution. Changed the values for open basedir with no result.
In my opinion there is something wrong with how 5.8 handles with url's and paths. But I can't figure it out. My only solution was to switch back to PHP5.6.
The ease of use and installing of C5 without any problems seems to be gone.