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-25, 00:21:22

Author Topic: the php files loads like text files  (Read 4114 times)

0 Members and 1 Guest are viewing this topic.

Offline zmatrix

  • Junior Member
  • *
  • Posts: 49
  • Karma: +0/-0
    • View Profile
the php files loads like text files
« on: 2014-03-24, 15:09:13 »
now I use kloxomr 6.5.0f

 with Nginxproxy

and Webserver Config set as php branch php53u , php type mod_php_ruid2

the php files load as text files !!


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: the php files loads like text files
« Reply #1 on: 2014-03-24, 15:15:05 »
Use 'old trick'. Try change web, php-branch and php-type and change back to original.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline zmatrix

  • Junior Member
  • *
  • Posts: 49
  • Karma: +0/-0
    • View Profile
Re: the php files loads like text files
« Reply #2 on: 2014-03-24, 15:39:01 »
now the websites run ok exept one

when I tried  "sh /script/fix-all; sh /script/restart-all"  I got  zone khdmaty.com/IN: not loaded due to errors.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: the php files loads like text files
« Reply #3 on: 2014-03-24, 15:41:16 »
So, something wrong with dns setting for khdmaty.com.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline zmatrix

  • Junior Member
  • *
  • Posts: 49
  • Karma: +0/-0
    • View Profile
Re: the php files loads like text files
« Reply #4 on: 2014-03-24, 16:24:30 »
now I used  " sh /script/upcp -y"
#   reboot


then now I use Nginxproxy

and Webserver Config set as php branch php53u , php type mod_php_ruid2

then I used

#sh /script/cleanup; sh /script/fix-all; sh /script/restart-all

I got


- Install process

Process Time: 00:00:01:09.69828 (dd:hh:mm:ss:xxxxxx)
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
Stopping Djbdns for:
  - axfrdns    [  OK  ]
  - tinydns    [  OK  ]
Starting Djbdns for:
  - axfrdns    [  OK  ]
  - tinydns    [  OK  ]
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
Stopping nginx:.                                           [  OK  ]
Starting nginx:                                            [  OK  ]
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]

then I had rebooted

Finally the websites show "The page you are looking for is temporarily unavailable.
Please try again later. "

:(


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: the php files loads like text files
« Reply #5 on: 2014-03-24, 16:26:49 »
After running 'upcp -y' and then need re-setting web, dns, spam, php-branch and php-type. Because 'upcp -y' act like new install but without destroy data.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline zmatrix

  • Junior Member
  • *
  • Posts: 49
  • Karma: +0/-0
    • View Profile
Re: the php files loads like text files
« Reply #6 on: 2014-03-24, 16:44:45 »
now all the websites is ok except one give me a blank page only for all valid directories

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: the php files loads like text files
« Reply #7 on: 2014-03-24, 16:50:01 »
Better enable display error where you can see error. Most 'blank page' related to 'error 502'.

Try 'sh /script/fix-chownchmod' (if error related to ownership and permissions of files/directories).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline zmatrix

  • Junior Member
  • *
  • Posts: 49
  • Karma: +0/-0
    • View Profile
Re: the php files loads like text files
« Reply #8 on: 2014-03-24, 16:55:10 »
IT was .htaccess file causing this
I tried to download a file from th site and when it started I know that it's .htaccess problem

thank you mustafa

 


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

Page created in 0.062 seconds with 18 queries.

web stats analysis