Good afternoon,

I need to test a site and want to install PHP 7.0. But when i installed version 7 on PHP 5.6 installed on the system, Apache does not interpret any PHP file (appears in the browser that the connection was reset. In the log stated that there was segmentation fault). I decided to remove the previous package, but when I ran the command to remove the [CODE]php5 /CODE] package, I found that the apt-get would remove the
Code:
kali-linux
package.

Is correct? Is there any safe way to upgrade to PHP 7.0, without risking my system?

Kali Linux 2016.1 Rolling, installed on a hard disk.