Control Web Panel

WebPanel => Information => Topic started by: alebal on August 03, 2016, 10:46:01 PM

Title: Switch to PHP 7 (out of memory)
Post by: alebal on August 03, 2016, 10:46:01 PM
Hello everyone, I wanted to try PHP 7. But are digitalocean and I only have 1gb of ram.

Usually my server runs on these numbers.

(http://alebalweb.com/temp/Schermata%20del%202016-08-04%2000:37:58.png)

Trying to move to php7 at some point the process hangs because out of memory. The server still works, but lost some configuration back to php5.

I thought to do Drop cache memory, but I do not a clear idea what to do. [DC] could create problems to the server and to my sites?

I just started to move my sites cwp, so do not risk immense damage, but I do not even want to start all over again ...

My sites are quite up to date, all PDO and html5. There may be other problems in the transition to php7?

If just does not work, I can go back to php5? I lose everything?
Title: Re: Switch to PHP 7 (out of memory)
Post by: Sandeep on August 04, 2016, 12:58:32 AM
restart server and try again add some swap to your server
Title: Re: Switch to PHP 7 (out of memory)
Post by: alebal on August 04, 2016, 11:21:47 PM
Just reboot immediately goes to 9 Gb.

What do you mean by

Quote
add some swap to your server
Title: Re: Switch to PHP 7 (out of memory)
Post by: Igor S. on August 10, 2016, 08:31:22 AM
Hi, if you have a problem with RAM, ask your hosting provider to add SWAP file.


What do you mean by

Quote
add some swap to your server