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-05-12, 14:09:37

Author Topic: PHP Problem  (Read 5612 times)

0 Members and 1 Guest are viewing this topic.

Offline DJRadi

  • Junior Member
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
    • http://radiclub.info
PHP Problem
« on: 2013-04-05, 19:41:01 »
I tried installing Kloxo-MR according to this instructions: https://github.com/mustafaramadhan/klox ... nstall.txt , chose B.2. For Final Release, but got a strange problem. PHP doesn't work. Instead of showing page, it shows the code. For example, I added a domain, and when clicked on PHP info icon, it showed me code. Tried to add a subdomain to this domain, uploaded Wordpress to it, and again it showed me code, instead of pages.
What could it be?
It was a clean install on Centos 6.3.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
http://radiclub.info - Best site, out there! \":D\"

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: PHP Problem
« Reply #1 on: 2013-04-05, 19:44:13 »
Read viewtopic.php?f=4&t=684 and inform here 'sh /script/sysinfo' (running from ssh).
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline DJRadi

  • Junior Member
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
    • http://radiclub.info
Re: PHP Problem
« Reply #2 on: 2013-04-05, 20:09:54 »
A. Kloxo-MR: 6.5.0.f-2013031808

B. OS: CentOS release 6.4 (Final) i686

C. Apps:
   1. MySQL: mysql-5.5.29-1.el6.i686
   2. PHP: php-5.3.23-1.el6.i686
   3. Httpd: httpd-2.2.23-1.el6.i686
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.22.mr.el6.i686
   7. Dns: bind-9.9.2-3.P2.el6.i686

D. Php-type (for Httpd/proxy):

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:           498        251        247          0         11        139
   -/+ buffers/cache:         99        398
   Swap:         1023          0       1023
« Last Edit: 1970-01-01, 01:00:00 by Guest »
http://radiclub.info - Best site, out there! \":D\"

Offline insanity

  • Senior Member
  • *
  • Posts: 215
  • Karma: +0/-0
    • View Profile
Re: PHP Problem
« Reply #3 on: 2013-04-05, 20:18:32 »
try
Code: [Select]
sh /script/fixphp; /script/fixweb; sh /script/restart-services
??. ??? ??? ??????? ???? ?? ????? ? ? ?? ????????. ??? ??? ?? ??????? ? ??????? ?????????? kloxo
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline DJRadi

  • Junior Member
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
    • http://radiclub.info
Re: PHP Problem
« Reply #4 on: 2013-04-05, 20:21:31 »
Thanks. Trying it now.
Edit: Still problematic, on phpinfo in control panel(haven't uploaded anything yet).

???, ?????? ?? ?? ???? ? ??????? ??? :).
« Last Edit: 1970-01-01, 01:00:00 by Guest »
http://radiclub.info - Best site, out there! \":D\"

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: PHP Problem
« Reply #5 on: 2013-04-05, 20:25:39 »
Php-type (on 'webserver configs') look like still default (as 'mod_php_ruid2'). Change to other (try 'php-fpm_event') and than you can change back to 'mod_php_ruid2' if you want.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline DJRadi

  • Junior Member
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
    • http://radiclub.info
Re: PHP Problem
« Reply #6 on: 2013-04-05, 20:27:59 »
Million thanks!!!!
Now phpinfo in control panel for domain works. I am going to upload wordpress on the domain to see if it will work too.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
http://radiclub.info - Best site, out there! \":D\"

Offline insanity

  • Senior Member
  • *
  • Posts: 215
  • Karma: +0/-0
    • View Profile
Re: PHP Problem
« Reply #7 on: 2013-04-05, 20:29:24 »
Quote from: "DJRadi"
Million thanks!!!!
Now phpinfo in control panel for domain works. I am going to upload wordpress on the domain to see if it will work too.

It will. If you can see your phpinfo you will be able to see and WP :)
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline DJRadi

  • Junior Member
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
    • http://radiclub.info
Re: PHP Problem
« Reply #8 on: 2013-04-05, 20:30:58 »
I've worked only with official Kloxo and cPanel. Kloxo-MR is new ground for me. :D
« Last Edit: 1970-01-01, 01:00:00 by Guest »
http://radiclub.info - Best site, out there! \":D\"

Offline insanity

  • Senior Member
  • *
  • Posts: 215
  • Karma: +0/-0
    • View Profile
Re: PHP Problem
« Reply #9 on: 2013-04-05, 20:32:22 »
Quote from: "DJRadi"
I've worked only with official Kloxo and cPanel. Kloxo-MR is new ground for me. :D

It is same like kloxo official but with much more improvements :)
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline DJRadi

  • Junior Member
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
    • http://radiclub.info
Re: PHP Problem
« Reply #10 on: 2013-04-05, 20:33:08 »
?? ?? ?????? ?? ???????? "?? ?? ? ?? ????????." :D
« Last Edit: 1970-01-01, 01:00:00 by Guest »
http://radiclub.info - Best site, out there! \":D\"

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.055 seconds with 19 queries.

web stats analysis