# Error 500 With Default Installation?

**URL:** <https://discourse.slimframework.com/t/error-500-with-default-installation/3545>\
**Category:** Questions\
**Created:** [October 16, 2019, 4:56pm UTC](https://discourse.slimframework.com/t/error-500-with-default-installation/3545 "2019-10-16T16:56:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![EverydayDiesel](https://avatars.discourse-cdn.com/v4/letter/e/b5e925/32.png) [@EverydayDiesel](https://discourse.slimframework.com/u/EverydayDiesel)\
**Post date:** [October 16, 2019, 4:56pm UTC](https://discourse.slimframework.com/t/error-500-with-default-installation/3545/1 "2019-10-16T16:56:08Z")

</div>

Hello, i have a dream host account and i got shell access, installed composer and then installed slim framework via

`php composer.phar create-project slim/slim-skeleton mywebsitehere`

right out of the box I get this error message. If i refresh then the error goes away. Wait a while and the error comes back (but it goes away after a quick refresh)

`Hello world!{ "statusCode": 500, "error": { "type": "SERVER_ERROR", "description": "ERROR: preg_match(): JIT compilation failed: no more memory on line 130 in file \/home\/user\/mywebsitehere\/vendor\/slim\/slim\/Slim\/CallableResolver.php." } }`

---

<div class="post-metadata">

**Author:** ![odan](https://avatars.discourse-cdn.com/v4/letter/o/9de053/32.png) [@odan](https://discourse.slimframework.com/u/odan)\
**Post date:** [October 16, 2019, 8:00pm UTC](https://discourse.slimframework.com/t/error-500-with-default-installation/3545/2 "2019-10-16T20:00:13Z")

</div>

This is a known PHP 7.3 [bug](https://bugs.php.net/bug.php?id=77260). Try to disable PHP PCRE JIT compilation.

It should work by specifying `pcre.jit=0` in php.ini.
