<blockquote>
  <p>(/usr/local/lib/php/extensions/no-debug-non-zts-20170718/imagick.so.so: cannot open shared object file: Permission denied))</p>
</blockquote>

<p>Does that file exist on your server?  I'm asking because the <code>.so.so</code> extension seems odd.  If it does and it's just <code>.so</code>, it might be as simple as editing your php.ini file so it's loading <code>imagick.so</code> instead of <code>imagick.so.so</code>.</p>

<p>If you php.ini file is already loading <code>imagick.so</code> and that file exists on your server at that location, then check the permissions of that file and make sure that whatever user:group your web server is running as has permissions to read that file.</p>

CC BY-SA 4.0
2018-10-23T07:22:25.553Z
Thank you Ben … all problems i described above were fixed with adding "RewriteBase /" (without the question marks) to the default .htaccess file which came with craft … there is however a new error now: after getting the login screen in admin and entering the correct login credentials i now get: Twig Syntax Error – Twig_Error_Syntax
Unknown argument "namespace" for function "svg(svg, sanitize)".
1. in /kunden/tannerhof.de/kultursprung/vendor/craftcms/cms/src/templates/_layouts/cp.html
Axel Hebenstreit
CC BY-SA 4.0
2018-10-23T07:42:22.587Z
there is however a new error now: after getting the login screen in admin and entering the correct login credentials i now get: Twig Syntax Error – Twig_Error_Syntax Unknown argument "namespace" for function "svg(svg, sanitize)". 1. in /kunden/tannerhof.de/kultursprung/vendor/craftcms/cms/src/templates/_layouts/cp.html – at line 86
Axel Hebenstreit
CC BY-SA 4.0
2018-10-23T08:21:43.803Z
did a fresh install with composer and now all works fine … thank you!
Axel Hebenstreit
CC BY-SA 4.0
2018-10-22T15:55:40.907Z
2018-10-22T15:55:40.907Z
Brad Bell
<p>Just successfully installed a fresh copy of Craft CMS via web browser method under:
<a href="http://kultursprung.org" rel="nofollow noreferrer">http://kultursprung.org</a></p>

<p>Frontend is visible but the admin is showing raw Apache error 500 after fresh install:
<a href="http://kultursprung.org/admin" rel="nofollow noreferrer">http://kultursprung.org/admin</a></p>

<p>The 500 error is not the styled Craft dev one but instead the raw Apache version.</p>

<p>Server requirements check passed:
<a href="http://kultursprung.org/server/checkit.php" rel="nofollow noreferrer">http://kultursprung.org/server/checkit.php</a> </p>

<p>Did set all correct file and folder permissions.</p>

<p>Database is showing all necessary tables as expected after a successful fresh install.</p>

<p>phperrors.log:</p>

<p><a href="https://i.sstatic.net/EQG6C.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/EQG6C.png" alt="phperrors.log"></a></p>

<p>UPDATE:</p>

<p>When I access the admin via this URL:
<a href="http://kultursprung.org/index.php?p=admin" rel="nofollow noreferrer">http://kultursprung.org/index.php?p=admin</a>
i can provide an additional Craft styled error:
<a href="https://i.sstatic.net/XBReP.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/XBReP.png" alt="enter image description here"></a></p>

<p>Any help?</p>

CC BY-SA 4.0
2018-10-23T08:22:58.497Z
did a fresh install with composer and now all works fine … thank you!
Axel Hebenstreit
CC BY-SA 4.0
2018-12-22T14:41:01.830Z
Your solution has been my default action when moving, updating, etc CraftCMS. I kill composer.lock and the vendor folder then run composer update. Because you're not repo'ing the vendor folder (at least you shouldn't be), it's not going to cause any conflicts.
Vaughn D. Taylor
<craft3><error><admin><install>
Craft 3: admin is showing "500 Internal Server Error" (apache) after fresh install
# Craft 3: admin is showing "500 Internal Server Error" (apache) after fresh install

(Asked by: username_0 on 2018-10-22)

Just successfully installed a fresh copy of Craft CMS via web browser method under:
<http://kultursprung.org>

Frontend is visible but the admin is showing raw Apache error 500 after fresh install:
<http://kultursprung.org/admin>

The 500 error is not the styled Craft dev one but instead the raw Apache version.

Server requirements check passed:
<http://kultursprung.org/server/checkit.php>

Did set all correct file and folder permissions.

Database is showing all necessary tables as expected after a successful fresh install.

phperrors.log:

[![phperrors.log](https://i.sstatic.net/EQG6C.png)](https://i.sstatic.net/EQG6C.png)

UPDATE:

When I access the admin via this URL:
<http://kultursprung.org/index.php?p=admin>
i can provide an additional Craft styled error:
[![enter image description here](https://i.sstatic.net/XBReP.png)](https://i.sstatic.net/XBReP.png)

Any help?

**Tags:** craft3, error, admin, install

> **Comments:**
> **username_0**: did a fresh install with composer and now all works fine … thank you!  
> **username_1**: Your solution has been my default action when moving, updating, etc CraftCMS. I kill composer.lock and the vendor folder then run composer update. Because you're not repo'ing the vendor folder (at least you shouldn't be), it's not going to cause any conflicts.  

---

## 1 answers

### Answer by username_2 on 2018-10-22. Score: 0

> (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/imagick.so.so: cannot open shared object file: Permission denied))

Does that file exist on your server? I'm asking because the `.so.so` extension seems odd. If it does and it's just `.so`, it might be as simple as editing your php.ini file so it's loading `imagick.so` instead of `imagick.so.so`.

If you php.ini file is already loading `imagick.so` and that file exists on your server at that location, then check the permissions of that file and make sure that whatever user:group your web server is running as has permissions to read that file.

> **Comments:**
> **username_0**: Thank you Ben … all problems i described above were fixed with adding "RewriteBase /" (without the question marks) to the default .htaccess file which came with craft … there is however a new error now: after getting the login screen in admin and entering the correct login credentials i now get: Twig Syntax Error – Twig_Error_Syntax Unknown argument "namespace" for function "svg(svg, sanitize)". 1. in /kunden/tannerhof.de/kultursprung/vendor/craftcms/cms/src/templates/_layouts/cp.html  
> **username_0**: there is however a new error now: after getting the login screen in admin and entering the correct login credentials i now get: Twig Syntax Error – Twig_Error_Syntax Unknown argument "namespace" for function "svg(svg, sanitize)". 1. in /kunden/tannerhof.de/kultursprung/vendor/craftcms/cms/src/templates/_layouts/cp.html – at line 86  
> **username_0**: did a fresh install with composer and now all works fine … thank you!  

---

