# Installation problem "The site is currently offline ..."

**URL:** <https://forum.mautic.org/t/installation-problem-the-site-is-currently-offline/10349>\
**Category:** Product Support\
**Created:** [March 16, 2018, 12:03am UTC](https://forum.mautic.org/t/installation-problem-the-site-is-currently-offline/10349 "2018-03-16T00:03:14Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sqarelight](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@sqarelight](https://forum.mautic.org/u/sqarelight)\
**Post date:** [March 16, 2018, 12:03am UTC](https://forum.mautic.org/t/installation-problem-the-site-is-currently-offline/10349/1 "2018-03-16T00:03:14Z")

</div>

Hi,  
I’m installing Mautic and after step 1 where is database info (/installer/step/1.1) this happens: “The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator. System administrators, check server logs for errors.”. I’m stuck and have no idea what to do next. All requirements are ok: php7, mysql engine is innoDB, Apache.  
Also i got error log:  
Got error ‘Passing INI directive through FastCGI: unable to set ‘always\_populate\_raw\_post\_data’\nPHP message: Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException: You have requested a non-existent parameter “37”. - in file /home/servername/ftp/mautic/vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php - at line 84\n’, referer: [http://servername.com/mautic/installer/step/1](http://servername.com/mautic/installer/step/1)  
and:  
Got error ‘Passing INI directive through FastCGI: unable to set ‘always\_populate\_raw\_post\_data’\n’, referer: [http://servername.com/mautic/installer/step/1](http://servername.com/mautic/installer/step/1)  
Can anyone help me, please?  
Thank you

---

<div class="post-metadata">

**Author:** ![sqarelight](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@sqarelight](https://forum.mautic.org/u/sqarelight)\
**Post date:** [March 16, 2018, 6:38am UTC](https://forum.mautic.org/t/installation-problem-the-site-is-currently-offline/10349/2 "2018-03-16T06:38:57Z")

</div>

Hi,  
thank you for reply. I have hosted srver, so I can’t edit php.ini, but I’ve tried adding `php_value always_populate_raw_post_data -1` to .htaccess, making .user.ini file with `always_populate_raw_post_data = -1`, creating php.ini and adding `SetEnv PHPRC /home/myservername/php.ini` to .htaccess and no effect, still site has “The site is currently offline due to encountering an error.” info.

---

<div class="post-metadata">

**Author:** ![sqarelight](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@sqarelight](https://forum.mautic.org/u/sqarelight)\
**Post date:** [March 18, 2018, 7:01am UTC](https://forum.mautic.org/t/installation-problem-the-site-is-currently-offline/10349/3 "2018-03-18T07:01:31Z")

</div>

I deleted prod folder and no difference, “The site is currently offline…” info is still on, and server log is same: “… unable to set ‘always\_populate\_raw\_post\_data’…”.  
Thank You all for help, I eventually decided to change hosted server to vps, and configure everything properly for mautic.

---

<div class="post-metadata">

**Author:** ![rockmedia](https://avatars.discourse-cdn.com/v4/letter/r/b9e5f3/32.png) [@rockmedia](https://forum.mautic.org/u/rockmedia)\
**Post date:** [March 20, 2018, 10:28am UTC](https://forum.mautic.org/t/installation-problem-the-site-is-currently-offline/10349/4 "2018-03-20T10:28:48Z")

</div>

Square, I have the same problem.  
Have you found a solution?

---

<div class="post-metadata">

**Author:** ![sqarelight](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@sqarelight](https://forum.mautic.org/u/sqarelight)\
**Post date:** [March 20, 2018, 11:50am UTC](https://forum.mautic.org/t/installation-problem-the-site-is-currently-offline/10349/5 "2018-03-20T11:50:28Z")

</div>

Gustavo, unfortunately I’ve found no solution that worked for me. I changed server to vps, configured everything and now it works. I suppose hosted server is not the best solution for mautic.

---

<div class="post-metadata">

**Author:** ![rockmedia](https://avatars.discourse-cdn.com/v4/letter/r/b9e5f3/32.png) [@rockmedia](https://forum.mautic.org/u/rockmedia)\
**Post date:** [March 20, 2018, 1:03pm UTC](https://forum.mautic.org/t/installation-problem-the-site-is-currently-offline/10349/6 "2018-03-20T13:03:37Z")

</div>

Thank you for answering Square 😉

I have a cloud (server) with cpanel, I have root access in WHM.

I can make whatever modifications are necessary.

---

<div class="post-metadata">

**Author:** ![rockmedia](https://avatars.discourse-cdn.com/v4/letter/r/b9e5f3/32.png) [@rockmedia](https://forum.mautic.org/u/rockmedia)\
**Post date:** [March 20, 2018, 1:27pm UTC](https://forum.mautic.org/t/installation-problem-the-site-is-currently-offline/10349/7 "2018-03-20T13:27:40Z")

</div>

I’m making progress. reading log of server, found:  
PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 65536 bytes)

Then i changed the memory limit (memory\_limit) to 128MB (recommended)

Also, cleared app / cache.

Now I need to enable some extensions that Mautic requires.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/1X/43c63600fe51440378769136903f1fa2a9a34102.png) [@system](https://forum.mautic.org/u/system)\
**Post date:** [April 17, 2018, 1:02pm UTC](https://forum.mautic.org/t/installation-problem-the-site-is-currently-offline/10349/8 "2018-04-17T13:02:25Z")

</div>

I have the same problem.  
Have you found a solution?

---

<div class="post-metadata">

**Author:** ![brunoefa](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/brunoefa/32/320_2.png) [@brunoefa](https://forum.mautic.org/u/brunoefa)\
**Post date:** [May 11, 2018, 2:17pm UTC](https://forum.mautic.org/t/installation-problem-the-site-is-currently-offline/10349/9 "2018-05-11T14:17:59Z")

</div>

Verify if the db password contains illegal characters that determines sql injection like ‘?’
