MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Tips and Tricks => Topic started by: Nadun on 2018-03-01, 16:33:20

Title: php not woking
Post by: Nadun on 2018-03-01, 16:33:20
I installed the Kloxo

It has Wordpress installed

But php does not work

I tried this Commend

# yum update
# sh / script / upcp
# sh / script / cleanup
# sh / script / restart-all
# yum replace php56u --replace-with = php54
# service httpd restart

But it's not working

This command yum replace php56u --replace-with = php54 came here

Code: [Select]
yum replace php56u --replace-with = php54
Loaded plugins: fastestmirror, presto, priorities, protectbase, replace
Replacing the packages takes time, please be patient ...
Error: The 'php56u' package is not installed.

Sorry for my English
Title: Re: php not woking
Post by: LotsOfQ on 2018-03-01, 19:01:41
Did you get error when run
Quote
sh / script / restart-all
Title: Re: php not woking
Post by: LotsOfQ on 2018-03-01, 19:11:04
Anyway, I would try this.

admin — Servers — localhost — {Webserver Configure}
remove all the php but 1 can't. So just pick one to leave. Give it a few minutes to finished then install in back. Give it a few minutes to finished in the background. Then pick the PHP Used and PHP Branch you want and update.

Run
Quote
sh / script / restart-all
Do you get any errors?
Title: Re: php not woking
Post by: Nadun on 2018-03-02, 07:48:31
Only Apache worked

We implemented NGINX

Then worked

thank you
Title: Re: php not woking
Post by: amitkumar on 2018-03-04, 05:39:31
actually after install or changing the apache to proxyngnix etc you have to choose php based in web server.