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-28, 10:33:49

Author Topic: Php not working  (Read 15790 times)

0 Members and 1 Guest are viewing this topic.

Offline costa1988sv

  • Junior Member
  • *
  • Posts: 40
  • Karma: +0/-0
    • View Profile
Php not working
« on: 2013-02-18, 21:07:25 »
The php page is displayed as plain/text
i tried all php version

PHP Warning:  PHP Startup: eAccelerator: Unable to initialize module
Module compiled with module API=20060613
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP 5.4.11 (cli) (built: Jan 17 2013 12:40:11)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
« 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: Php not working
« Reply #1 on: 2013-02-18, 21:12:41 »
Look like php 5.4 from ius repo (Kloxo-MR taken php from this repo) have many issue. Try php53u (when using centos 5) or php (also 5.3 version; when using centos 6)
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Php not working
« Reply #2 on: 2013-02-18, 21:14:00 »
Try xcache instead eAccelerator.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline costa1988sv

  • Junior Member
  • *
  • Posts: 40
  • Karma: +0/-0
    • View Profile
Re: Php not working
« Reply #3 on: 2013-02-18, 21:17:55 »
i tried 5.2 5.3 5.4 all the same
how i disable eaccelator to see if is the problem
« 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: Php not working
« Reply #4 on: 2013-02-18, 21:19:58 »
Try 'yum remove php*-eaccelerator'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Php not working
« Reply #5 on: 2013-02-18, 21:21:54 »
It's look like eaccelerator version not match with php. Xcache more compatible than eaccelerator.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline costa1988sv

  • Junior Member
  • *
  • Posts: 40
  • Karma: +0/-0
    • View Profile
Re: Php not working
« Reply #6 on: 2013-02-18, 21:22:50 »
Package(s) php*-eaccelerator available, but not installed.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline costa1988sv

  • Junior Member
  • *
  • Posts: 40
  • Karma: +0/-0
    • View Profile
Re: Php not working
« Reply #7 on: 2013-02-18, 21:32:25 »
in the php.ini i can't fild eaccelerator to disable
« 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: Php not working
« Reply #8 on: 2013-02-18, 21:48:02 »
Look inside /etc/php.d for module ini. Inform here with 'dir /etc/php.d'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline costa1988sv

  • Junior Member
  • *
  • Posts: 40
  • Karma: +0/-0
    • View Profile
Re: Php not working
« Reply #9 on: 2013-02-18, 21:50:46 »
i find out but nothing changed, still, 500 error, bank page, or plain text
i can give access to see yourself if you have time
« 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: Php not working
« Reply #10 on: 2013-02-18, 22:25:33 »
What the reason to choose '/home/admin/tv' as root dir.

In normal condition will be '/home/admin/<domain>'. When add domain enough no enter on 'document root'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline costa1988sv

  • Junior Member
  • *
  • Posts: 40
  • Karma: +0/-0
    • View Profile
Re: Php not working
« Reply #11 on: 2013-02-18, 22:32:18 »
the file is found, i deleted index.php and i have index.php with a iframe to a temporary server, but php don't works
« 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: Php not working
« Reply #12 on: 2013-02-18, 22:37:35 »
Try create phpinfo.php with content '<?php phpinfo(); ?>' and then access this file via web.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Php not working
« Reply #13 on: 2013-02-18, 22:47:23 »
I think it's not relate to your issue, but better running 'yum downgrade apr*'.

Try:
Code: [Select]
sh /script/fixweb
service httpd restart; service nginx restart; service php-fpm restart
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline costa1988sv

  • Junior Member
  • *
  • Posts: 40
  • Karma: +0/-0
    • View Profile
Re: Php not working
« Reply #14 on: 2013-02-18, 22:59:28 »
now phpinfo.php works, but the script tot working
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


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

Page created in 0.037 seconds with 21 queries.

web stats analysis