Skip to the content
Documentation

Re: Re: install - Error

No ratings yet

Hi,
The solution would be updating this line in php.ini file
memory_limit = 16M
to be if possible
memory_limit = 64M
But, this is mostly not possible in shared hosting environments since we don't have access to php.ini. I believe adding this line to config.php in the root folder would help
ini_set('memory_limit', '64M');
When I do this - the error above disappears but I am getting 500 Internal Server Error and have no clue how to solve it. It worked on my local box but it would not work on shared hosting. I think eZ cannot be used easily on such hostings :(

Comments (4 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. Re: Re: Re: install - Error

    Radovan ·

    Well, I apologize. It seems that install works and I am not even getting script timeout erros (that I expected). After I added that line above to config.php, I had to clear cache folder /var/cache and install worked.
    We'll see how eZ behaves on shared hosting. I will be an optimist :)

    1. Re: Re: Re: Re: install - Error

      Radovan ·

      Well, I am keep on replying to myself. I might have gotten mad already, but it's so difficult to install eZ on shared hosting. No way scripts can be completed in 30 seconds, while eZ is creating database, imports templates, creates cache and storage files.
      Is there any tip how this can be solved?

      1. Re: Re: Re: Re: Re: install - Error

        Radovan ·

        Talking to myself again - going insane, I know...
        I have found painful workaround for installing eZ on shared hosting. I have installed locally on my computer, again with few tries due to timeout and too much memory consuming. I created virtual host on local machine to be like the domain on shared hosting, added to hosts file and pointed to 127.0.0.1. So, I had on local box www.myezsite.net, installed it and then uploaded database content to the hosting, copied all eZ files (including var/cache and var/storage) via FTP and then site worked. There was ~ 60MB filed to be copied. This was slow, but it worked.
        Now, I am hoping I will not have script timeout issues when I start working with the site.

        1. Re: Re: Re: Re: Re: Re: install - Error

          Puran ·

          ... and how is this ended?
          It's a solution but how would one work with updates etc. as thats not possible that way.
          I think I don't bother with it as it seems to me very time consuming, even with payed support.
          By ez.