Author Topic: Switch to PHP 7 (out of memory)  (Read 9321 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Switch to PHP 7 (out of memory)
« 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.



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?
« Last Edit: August 03, 2016, 10:49:49 PM by alebal »

Offline
*****
Re: Switch to PHP 7 (out of memory)
« Reply #1 on: August 04, 2016, 12:58:32 AM »
restart server and try again add some swap to your server

Offline
*
Re: Switch to PHP 7 (out of memory)
« Reply #2 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

Offline
*****
Re: Switch to PHP 7 (out of memory)
« Reply #3 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

You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services