internal server error after update php too 7.2

HRZ

New member
Joined
May 19, 2018
Messages
3
Hi
I have a server on centos with multi php & working true.
1- php 5.6
2- php 7
#PHP Settings
php1_release=5.6
php1_mode=suphp
php2_release=7.2
php2_mode=suphp
e
evry thing working true but after update 7 too 7.2 in php 7.2 we recived error:
Internal Server Error

Could not execute script "/home/...../domains/..../public_html/info.php"
suPHP 0.7.2

please help me
 
It coul d be a permission error. Try to rebuild Apache first.
 
Assume you have custombuild, then
Code:
cd /usr/local/directadmin/custombuild
./build update
./build apache
./build php n
./build rewrite_confs
 
Hi
My problm resolved by changing php one & two !
cd /usr/local/directadmin/custombuild
nano options.conf

I change :
php1_release=5.6
php1_mode=suphp
php2_release=7.2
php2_mode=suphp

to

php1_release=7.2
php1_mode=suphp
php2_release=5.6
php2_mode=suphp

save & exit
then

./build php n
./build rewrite_confs

Then again

cd /usr/local/directadmin/custombuild
nano options.conf

I change :
php1_release=7.2
php1_mode=suphp
php2_release=5.6
php2_mode=suphp

to

php1_release=5.6
php1_mode=suphp
php2_release=7.2
php2_mode=suphp

then

./build php n
./build rewrite_confs

the problem resolved
 
I highly recommend you to consider moving away from SuPHP and use PHP-FPM instead.
 
Back
Top