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-04-19, 04:35:42

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

0 Members and 1 Guest are viewing this topic.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: lxphp.exe: command not found
« Reply #30 on: 2013-08-09, 15:54:01 »
In many situation, change to another webserver (better lighttpd) and change back to previous (apache or nginx-proxy) will be fix apache issue.
« 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 #31 on: 2013-08-09, 16:11:30 »
Quote from: "MRatWork"
In many situation, change to another webserver (better lighttpd) and change back to previous (apache or nginx-proxy) will be fix apache issue.

i try many time but unfortunately it didn't worked for me...
« 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 #32 on: 2013-08-09, 16:15:01 »
Quote from: "MRatWork"
Try copy /home/apache/etc/conf/httpd.conf to /etc/httpd/conf/httpd.conf. It's because because use 'modified' httpd.conf and Kloxo-MR think this 'modified' file already overwrite 'original' httpd.conf.

I did it but still have issue

on sh /script/fixphp i'm getting this for every clients
Code: [Select]
PHP Fatal error:  Directive 'register_long_arrays' is no longer available in PHP in Unknown on line 0
« 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 #33 on: 2013-08-09, 17:21:38 »
Look like your php.ini still using from php 5.2 where in your server using php 5.3/5.4.

I don't know what happens until you found this situation. Usually run 'sh /script/fixweb' will be fixed web server, php.ini and php-fpm configs.
« 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 #34 on: 2013-08-09, 17:46:07 »
Quote from: "MRatWork"
Look like your php.ini still using from php 5.2 where in your server using php 5.3/5.4.

I don't know what happens until you found this situation. Usually run 'sh /script/fixweb' will be fixed web server, php.ini and php-fpm configs.

Well everything was fine, i was using nginx, djbdns, php53u, php-fpm_event then i had problem with webmail and to fix it updated kloxo then i had a problem with dns server, all i did is using those fix comments and yum update
« 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 #35 on: 2013-08-09, 17:59:17 »
after update and then always run 'sh /script/cleanup' and then restart services and kloxo with 'sh /script/restart-all'.
« 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 #36 on: 2013-08-09, 18:10:53 »
Looks like apache mod_suphp is missing for some reason.

Try
Code: [Select]
yum install mod_suphp

And when restart services if you get another http error like: cannot load mod_rewrite... or whatever mod_???  just install them UNTIL you can get httpd to start.

Then use Kloxo to switch php branch.  Version. Then web server switch.

I agree with Mustafa - usually all problems can be fixed with switch webserver / sh/script/cleanup.

Something went bad :(  If you still cannot get it to work you may need to yum remove both webservers - manually delete all config files (not kloxo files) then re-install.  sh/script/cleanup.  It appears your config files are not getting fixed.
« 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 starbolt

  • Junior Member
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: lxphp.exe: command not found
« Reply #37 on: 2013-08-10, 07:48:28 »
I'm still not able to use lxphp. If I install it using yum, when I run /script/cleanup, it will automatically vanish lxphp.

What's the fix for this issue?
« 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 #38 on: 2013-08-10, 08:02:55 »
There is no lxphp any longer.  Mustafa replaced it with php52s.
« 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 starbolt

  • Junior Member
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: lxphp.exe: command not found
« Reply #39 on: 2013-08-10, 09:20:25 »
Yes, I read that. But /script/upcp tries to run lxphp.exe when executing some scripts like fixdns. I'm wondering if my scripts are outdated or I'm missing something.

If anyone was able to fix the same issue, please share :)
« 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 #40 on: 2013-08-10, 12:46:26 »
It sounds like you didn't update your repo file.  I would suggest doing that first:

Code: [Select]
cd /etc/yum.repos.d/
rm -rf kloxo-mr.repo
wget https://raw.github.com/mustafaramadhan/kloxo/release/kloxo-mr.repo
yum update
yum reinstall kloxomr
yum remove lxphp
yum install php52s
sh /script/cleanup
sh /script/restart-all

That should do it.
« 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 #41 on: 2013-08-10, 16:14:10 »
Everything works fine on me now thanks to Mustafa, just have one question; when i run sh /script/restart-all there is problem with one client
Code: [Select]
Stopping php-fpm:                                          [FAILED]
Starting php-fpm: [10-Aug-2013 10:55:46] ERROR: An another FPM instance seems to already listen on /home/php-fpm/sock/nefiarda.sock
[10-Aug-2013 10:55:46] ERROR: FPM initialization failed
                                                           [FAILED]

i deleted this user from kloxo and run
Code: [Select]
adduser nefiarda; sh /script/fixweb; service php-fpm restart;

but still same do you guys have any idea what can i do about it?
« 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 #42 on: 2013-08-10, 16:56:28 »
Try run 'service php-fpm stop; rm -rf /home/php-fpm/sock/nefiarda.sock; sh /script/fix-phpfpm; service php-fpm start'.

So, it's delete file first and then fixweb and restart php-fpm. If not work, try delete client the name nefiarda.
« 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 #43 on: 2013-08-10, 17:03:58 »
Quote from: "MRatWork"
Try run 'service php-fpm stop; rm -rf /home/php-fpm/sock/nefiarda.sock; sh /script/fix-phpfpm; service php-fpm start'.

So, it's delete file first and then fixweb and restart php-fpm. If not work, try delete client the name nefiarda.

Code: [Select]
[root@simonov ~]# service php-fpm stop; rm -rf /home/php-fpm/sock/nefiarda.sock; sh /script/fix-phpfpm; ser                vice php-fpm start
Stopping php-fpm:                                          [FAILED]
sh: /script/fix-phpfpm: No such file or directory
Starting php-fpm: [10-Aug-2013 11:50:40] ERROR: An another FPM instance seems to already listen on /home/ph                p-fpm/sock/moche.sock
[10-Aug-2013 11:50:40] ERROR: FPM initialization failed
                                                           [FAILED]
[root@simonov ~]#
« 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 #44 on: 2013-08-10, 17:20:17 »
Sorry, wrong. Use 'sh /script/fixphpfpm'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.056 seconds with 22 queries.

web stats analysis