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-16, 19:44:17

Author Topic: Php not working  (Read 15884 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: Php not working
« Reply #15 on: 2013-02-18, 23:07:20 »
Quote from: "costa1988sv"
now phpinfo.php works, but the script tot working
If phpinfo work that mean php is ok. About your script, it's depend on your need something where not permit by php. It's like exec function. You can see disable_permission in panel dan please compare to your script content.
« 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 #16 on: 2013-02-18, 23:28:15 »
i think is mysql problem, but error _ reporting is not working
« 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 #17 on: 2013-02-18, 23:45:21 »
is from mysql the problem, misql and mysqli tot working

/usr/libexec/mysqld, Version: 5.0.96-log (Source distribution). started with:
Tcp port: 0  Unix socket: /var/lib/mysql/mysql.sock
Time                 Id Command    Argument
130218 20:45:42 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.0.96-log'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution
130218 20:45:43         1 Connect     UNKNOWN_MYSQL_US@localhost as anonymous on
            1 Quit
« 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 #18 on: 2013-02-19, 00:11:54 »
Have you see '/var/log/mysqld.log' or from 'log manager' from panel?
« 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 #19 on: 2013-02-19, 00:29:55 »
130218 20:41:07 [Note] /usr/libexec/mysqld: Normal shutdown

130218 20:41:08 [Note] /usr/libexec/mysqld: Shutdown complete

130218 20:41:08  mysqld ended

130218 20:41:08  mysqld started
^G/usr/libexec/mysqld: File '/var/log/mysqlupdate.log' not found (Errcode: 13)
130218 20:41:08 [ERROR] Could not use /var/log/mysqlupdate.log for logging (error 13). Turning logging off for the whole duration of the MySQL server process. To turn it on aga$
130218 20:41:08 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.0.96-log'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution
130218 20:45:41 [Note] /usr/libexec/mysqld: Normal shutdown

130218 20:45:42 [Note] /usr/libexec/mysqld: Shutdown complete

130218 20:45:42  mysqld ended

130218 20:45:42  mysqld started

php is not connecting to mysql server
« 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 #20 on: 2013-02-19, 00:34:58 »
Look like mysql running well but maybe something wrong with php*.mysql and php*.mysqli. Look like php54 not including this module when install or replace from other version.

Try 'yum install php54-mysql php54-mysqli'
« 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 #21 on: 2013-02-19, 00:39:28 »
Transaction Check Error:
  file /etc/php.ini from install of php54-common-5.4.11-1.ius.el5.i386 conflicts with file from package php53u-common-5.3.21-1.ius.el5.i386
  file /usr/lib/php/modules/curl.so from install of php54-common-5.4.11-1.ius.el5.i386 conflicts with file from package php53u-common-5.3.21-1.ius.el5.i386
  file /usr/lib/php/modules/fileinfo.so from install of php54-common-5.4.11-1.ius.el5.i386 conflicts with file from package php53u-common-5.3.21-1.ius.el5.i386
  file /usr/lib/php/modules/json.so from install of php54-common-5.4.11-1.ius.el5.i386 conflicts with file from package php53u-common-5.3.21-1.ius.el5.i386
  file /usr/lib/php/modules/phar.so from install of php54-common-5.4.11-1.ius.el5.i386 conflicts with file from package php53u-common-5.3.21-1.ius.el5.i386
  file /usr/lib/php/modules/zip.so from install of php54-common-5.4.11-1.ius.el5.i386 conflicts with file from package php53u-common-5.3.21-1.ius.el5.i386
  file /usr/lib/php/modules/pdo.so from install of php54-pdo-5.4.11-1.ius.el5.i386 conflicts with file from package php53u-pdo-5.3.21-1.ius.el5.i386
  file /usr/lib/php/modules/pdo_sqlite.so from install of php54-pdo-5.4.11-1.ius.el5.i386 conflicts with file from package php53u-pdo-5.3.21-1.ius.el5.i386
« 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 #22 on: 2013-02-19, 00:42:52 »
if using php53u, run 'yum install php53u-fpm'.

We can't use php-fpm from php53 to php54 and vice-versa.
« 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 #23 on: 2013-02-19, 00:44:42 »
i work's thank you very much
« 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 #24 on: 2013-02-19, 00:48:34 »
There are something wrong with latest version of php54. Install/replace to php54 not including install php54-rpm.
« 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 #25 on: 2013-02-19, 18:19:38 »
the error_reporting is not working
 Display Errors is on
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


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

Page created in 0.03 seconds with 18 queries.

web stats analysis