Page 1 of 1

Php update does not work

Posted: Tue Jan 08, 2019 3:05 pm
by marc
i need your help, we update the Php Version to 5.6 but wrongly delete Php from the command "Yum Remove php", we re-install php from the next command:

# yum-config-manager --enable remi-php56
# yum-config-manager --enable remi-php56 [Intall PHP 5.6]
# yum install php php-mcrypt php-cli php-gd php-curl php-mysql php-ldap php-zip php-fileinfo


But php doe's not work, the page display code in php example

"<?php
/*********************************************************************
index.php"

how can i check if all it's ok?
how can reinstall php and dependecies withou delete data?

the error to load the page is 500