Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-29, 00:39:57

Author Topic: lxphp.exe: command not found  (Read 23967 times)

0 Members and 1 Guest are viewing this topic.

Offline suplover

  • Junior Member
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
lxphp.exe: command not found
« on: 2013-08-08, 19:59:47 »
I was having some problems with dns and webserver while i try to fix it i tried a few things but after i run "yum update"

/script/cleanup command give me "-bash: /script/cleanup: Permission denied"

and then i run sh /script/upcp and reboot but now /script/cleanup command gives me "line 14: lxphp.exe: command not found"

What should i do? Thanks.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: lxphp.exe: command not found
« Reply #1 on: 2013-08-08, 20:37:12 »
First be sure you updated to newest MR repo.
Code: [Select]
cd /etc/yum.repos.d/
rm kloxo-mr.repo
wget https://raw.github.com/mustafaramadhan/kloxo/release/kloxo-mr.repo

Then just to be safe:
Code: [Select]
yum update
yum remove lxphp
yum install php52s
sh /script/cleanup
sh /script/restart-all

If you get an error like no lxphp package installed that is ok. :)

That will fix everything :)
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: lxphp.exe: command not found
« Reply #2 on: 2013-08-08, 21:01:25 »
Don't install lxphp but php52s.

It's look like your Kloxo-MR not latest version. So, need update.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: lxphp.exe: command not found
« Reply #3 on: 2013-08-08, 21:04:06 »
Thats what I said :)
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline suplover

  • Junior Member
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: lxphp.exe: command not found
« Reply #4 on: 2013-08-08, 21:13:48 »
Quote from: "MRatWork"
Don't install lxphp but php52s.

It's look like your Kloxo-MR not latest version. So, need update.

I just did what Christopher said and kloxo works again (thanks for that) now but still have problem with webserver

Current Kloxo Version:   6.5.0.f-2013080701
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: lxphp.exe: command not found
« Reply #5 on: 2013-08-08, 21:25:54 »
Look like you have custom files inside /home/<driver>/tpl. You need modified custom files. Different from previous, latest upload use socket rather then ip-port based for php-fpm.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline suplover

  • Junior Member
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: lxphp.exe: command not found
« Reply #6 on: 2013-08-08, 21:59:28 »
Quote from: "MRatWork"
Look like you have custom files inside /home/<driver>/tpl. You need modified custom files. Different from previous, latest upload use socket rather then ip-port based for php-fpm.

sorry i confused a little bit now but as i remember i modified only this file
'/etc/sysconfig/network-scripts/ifcfg-eth0'

and i think now i have a progress, i see 502 Bad Gateway, nginx/1.5.2
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: lxphp.exe: command not found
« Reply #7 on: 2013-08-08, 22:02:19 »
If you have custom. tpl files you will need to update them accordingly.  If you have no idea what we are talking about :) you don't have them.

If not try this:  Kloxo panel.  Switch Programs.  Change Webserver to a different webserver.  Wait for it to update properly.  Switch back to your webserver.  Update.

So: if use apache: try
nginx then back to apache.

This old trick sometimes fixes problems :)
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline suplover

  • Junior Member
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: lxphp.exe: command not found
« Reply #8 on: 2013-08-08, 22:07:58 »
Quote from: "chrisf"
If you have custom. tpl files you will need to update them accordingly.  If you have no idea what we are talking about :) you don't have them.

If not try this:  Kloxo panel.  Switch Programs.  Change Webserver to a different webserver.  Wait for it to update properly.  Switch back to your webserver.  Update.

So: if use apache: try
nginx then back to apache.

This old trick sometimes fixes problems :)

Yes mine was "i have no idea" :) now i'm playing with those settings as you suggest thanks
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline suplover

  • Junior Member
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: lxphp.exe: command not found
« Reply #9 on: 2013-08-08, 22:25:15 »
Ok i tried nginx then back to apache also reverse and different Php Branch and i also run sh /script/fixweb and sh /script/restart-all  to be sure but still same
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: lxphp.exe: command not found
« Reply #10 on: 2013-08-08, 23:56:30 »
Try looking here please:

www.nginxtips.com/502-bad-gateway-using-nginx/

Let me know if any of that helps.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: lxphp.exe: command not found
« Reply #11 on: 2013-08-09, 00:01:24 »
Does apache run?  Try suphp.  Does any other combination work?

I am not familiar with nginx.  But it appears to be a php-fpm issue.  Try running straight apache.

If nothing.  Try apache / suphp.  Be sure to click fix all permissions at bottom of webconfig area.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline suplover

  • Junior Member
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: lxphp.exe: command not found
« Reply #12 on: 2013-08-09, 00:17:49 »
Quote from: "chrisf"
Does apache run?  Try suphp.  Does any other combination work?

I am not familiar with nginx.  But it appears to be a php-fpm issue.  Try running straight apache.

If nothing.  Try apache / suphp.  Be sure to click fix all permissions at bottom of webconfig area.

before i was using nginx but i can use apache too no problem just both doesn't work. I set apache and then when i try to set suphp it says " httpd_restart_failed" and remain as it is.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: lxphp.exe: command not found
« Reply #13 on: 2013-08-09, 01:15:50 »
What does the error logs say?  Mustafa WILL know better than me since he has ran into many problems and solved them!

Interesting that appache won't start.  Sounds like a conf problem.

Was this a fresh install or upgrade?
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
Re: lxphp.exe: command not found
« Reply #14 on: 2013-08-09, 01:27:05 »
I have the same problem with nginx but apache runs fine... Already tried all the known solutions.. nginx wont work...
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.033 seconds with 21 queries.

web stats analysis