Weird formatting after install and modify of public legacy htaccess

Hello,

Installed Suite CRM 8.4.1
Noticed a bunch of threads talking about a bug with the .htaccess in public/legacy and to fix the RewriteURL so I did that to just be /public/ as my public_html is one level below public.

Im getting the follow errors in my httpd conf for my domain:

[Tue Nov 07 22:12:24.482768 2023] [proxy_fcgi:error] [pid 711114:tid 140277511386688] [remote 192.168.1.224:56220] AH01071: Got error 'PHP message: PHP Deprecated:  Return type of Symfony\\Component\\HttpFoundation\\Session\\Attribute\\AttributeBag::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/PATHTO/public_html/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 134PHP message: PHP Deprecated:  Return type of Symfony\\Component\\HttpFoundation\\Session\\Attribute\\AttributeBag::count() should either be compatible with Countable::count(): int, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/PATHTO/public_html/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 144PHP message: PHP Deprecated:  Return type of Symfony\\Component\\HttpFoundation\\Session\\Session::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/PATHTO/public_html/vendor/symfony/http-foundation/Session/Session.php on line 131PHP message: PHP Deprecated:  Return type of Symfony\\Component\\HttpFoundation\\Session\\Session::count() should either be compatible with Countable::count(): int, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/PATHTO/public_html/vendor/symfony/http-foundation/Session/Session.php on line 141', referer: https://subdom.domain.ca/public/
[Tue Nov 07 22:12:25.687406 2023] [proxy_fcgi:error] [pid 711114:tid 140277645669952] [remote 192.168.1.224:56220] AH01071: Got error 'PHP message: PHP Deprecated:  Return type of Symfony\\Component\\HttpFoundation\\Session\\Attribute\\AttributeBag::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/PATHTO/public_html/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 134PHP message: PHP Deprecated:  Return type of Symfony\\Component\\HttpFoundation\\Session\\Attribute\\AttributeBag::count() should either be compatible with Countable::count(): int, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/PATHTO/public_html/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 144PHP message: PHP Deprecated:  Return type of Symfony\\Component\\HttpFoundation\\Session\\Session::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/PATHTO/public_html/vendor/symfony/http-foundation/Session/Session.php on line 131PHP message: PHP Deprecated:  Return type of Symfony\\Component\\HttpFoundation\\Session\\Session::count() should either be compatible with Countable::count(): int, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/PATHTO/public_html/vendor/symfony/http-foundation/Session/Session.php on line 141', referer: https://subdom.domain.ca/public/
[Tue Nov 07 22:12:25.897840 2023] [proxy_fcgi:error] [pid 711114:tid 140277788345920] [remote 192.168.1.224:56220] AH01071: Got error 'PHP message: PHP Deprecated:  Return type of Symfony\\Component\\HttpFoundation\\Session\\Attribute\\AttributeBag::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/PATHTO/public_html/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 134PHP message: PHP Deprecated:  Return type of Symfony\\Component\\HttpFoundation\\Session\\Attribute\\AttributeBag::count() should either be compatible with Countable::count(): int, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/PATHTO/public_html/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 144PHP message: PHP Deprecated:  Return type of Symfony\\Component\\HttpFoundation\\Session\\Session::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/PATHTO/public_html/vendor/symfony/http-foundation/Session/Session.php on line 131PHP message: PHP Deprecated:  Return type of Symfony\\Component\\HttpFoundation\\Session\\Session::count() should either be compatible with Countable::count(): int, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/PATHTO/public_html/vendor/symfony/http-foundation/Session/Session.php on line 141', referer: https://subdom.domain.ca/public/
[Tue Nov 07 22:12:26.502604 2023] [proxy_fcgi:error] [pid 711114:tid 140277637277248] [remote 192.168.1.224:56220] AH01071: Got error 'PHP message: PHP Deprecated:  Using php-function "strpos" as a modifier is deprecated and will be removed in a future release. Use Smarty::registerPlugin to explicitly register a custom modifier. in /home/PATHTO/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_compile_private_modifier.php on line 114PHP message: PHP Deprecated:  Using php-function "strpos" as a modifier is deprecated and will be removed in a future release. Use Smarty::registerPlugin to explicitly register a custom modifier. in /home/PATHTO/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_compile_private_modifier.php on line 114', referer: https://subdom.domain.ca/public/
[Tue Nov 07 22:12:26.575867 2023] [core:crit] [pid 711114:tid 140277746382400] (13)Permission denied: [remote 192.168.1.224:56220] AH00529: /home/PATHTO/private_html/public/legacy/cache/themes/suite8/css/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/PATHTO/private_html/public/legacy/cache/themes/suite8/css/' is executable, referer: https://subdom.domain.ca/public/legacy/index.php?module=Home
[Tue Nov 07 22:12:26.577490 2023] [core:crit] [pid 711114:tid 140277754775104] (13)Permission denied: [remote 192.168.1.224:56220] AH00529: /home/PATHTO/private_html/public/legacy/cache/jsLanguage/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/PATHTO/private_html/public/legacy/cache/jsLanguage/' is executable, referer: https://subdom.domain.ca/public/legacy/index.php?module=Home
[Tue Nov 07 22:12:26.580771 2023] [core:crit] [pid 711114:tid 140277704418880] (13)Permission denied: [remote 192.168.1.224:56220] AH00529: /home/PATHTO/private_html/public/legacy/cache/themes/suite8/js/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/PATHTO/private_html/public/legacy/cache/themes/suite8/js/' is executable, referer: https://subdom.domain.ca/public/legacy/index.php?module=Home
[Tue Nov 07 22:12:26.584123 2023] [core:crit] [pid 711114:tid 140277746382400] (13)Permission denied: [remote 192.168.1.224:56220] AH00529: /home/PATHTO/private_html/public/legacy/cache/jsLanguage/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/PATHTO/private_html/public/legacy/cache/jsLanguage/' is executable, referer: https://subdom.domain.ca/public/legacy/index.php?module=Home
[Tue Nov 07 22:12:27.975189 2023] [proxy_fcgi:error] [pid 711114:tid 140277779953216] [remote 192.168.1.224:56220] AH01071: Got error 'PHP message: PHP Deprecated:  Return type of Symfony\\Component\\HttpFoundation\\Session\\Attribute\\AttributeBag::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/PATHTO/public_html/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 134PHP message: PHP Deprecated:  Return type of Symfony\\Component\\HttpFoundation\\Session\\Attribute\\AttributeBag::count() should either be compatible with Countable::count(): int, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/PATHTO/public_html/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 144PHP message: PHP Deprecated:  Return type of Symfony\\Component\\HttpFoundation\\Session\\Session::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/PATHTO/public_html/vendor/symfony/http-foundation/Session/Session.php on line 131PHP message: PHP Deprecated:  Return type of Symfony\\Component\\HttpFoundation\\Session\\Session::count() should either be compatible with Countable::count(): int, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/PATHTO/public_html/vendor/symfony/http-foundation/Session/Session.php on line 141', referer: https://subdom.domain.ca/public/
[Tue Nov 07 22:13:01.870170 2023] [proxy_fcgi:error] [pid 711115:tid 140277880665664] [remote 192.168.1.224:56229] AH01071: Got error 'PHP message: PHP Deprecated:  Return type of Symfony\\Component\\HttpFoundation\\Session\\Attribute\\AttributeBag::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/PATHTO/public_html/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 134PHP message: PHP Deprecated:  Return type of Symfony\\Component\\HttpFoundation\\Session\\Attribute\\AttributeBag::count() should either be compatible with Countable::count(): int, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/PATHTO/public_html/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 144PHP message: PHP Deprecated:  Return type of Symfony\\Component\\HttpFoundation\\Session\\Session::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/PATHTO/public_html/vendor/symfony/http-foundation/Session/Session.php on line 131PHP message: PHP Deprecated:  Return type of Symfony\\Component\\HttpFoundation\\Session\\Session::count() should either be compatible with Countable::count(): int, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/PATHTO/public_html/vendor/symfony/http-foundation/Session/Session.php on line 141', referer: https://subdom.domain.ca/public/
[root@server-173-238-34-160 legacy]#

Here are my php modules:

[root@server legacy]# php -m
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
imap
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
redis
Reflection
session
SimpleXML
soap
sockets
sodium
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
xsl
zip
zlib

[Zend Modules]

Please assist, from the errors all the .htaccess need to be executable? chmod +x?

Oh my god. Do you mean you need all those files to be executable? Nooo… thats just so wrong haha.

I re-extracted the zip and noticed that all the files had +x on them?
I forgot I did a chmod -x+X – on all the files before I installed along with the find functions.

PS no .htaccess in those folders.

The installation instructions in the Docs contain the recommended ownerships and permissions, have you tried those?