MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: suplover on 2013-06-01, 16:46:06
-
Hi Guys i know there is some issues related with last update i'm a also having a problem after update when i open any website on any browser they just shown content of index.php file. But actually i was very happy with new kloxo-mr before that so is there anyway to just reverse last update or how to fix this problem and i must tell that none of this problem could stop me to loving Kloxo or Kloxo-MR!
-
Have you run 'sh /script/fixweb' after update?
-
Have you run 'sh /script/fixweb' after update?
i tried sh /script/cleanup but now trying this too
-
Don't forget 'sh /script/restart-services' because your update also update php.
-
Don't forget 'sh /script/restart-services' because your update also update php.
i done all also rebooted to be sure but still same maybe i should have a right combination on "Webserver Config" i'm also playing with to see if there is any chance
-
Try click update for 'php-type' and or change to another php-type and then change back.
-
Try click update for 'php-type' and or change to another php-type and then change back.
I did but it was same also i keep played with php-type and on fcgid_event i get "HTTP Error 500 (Internal Server Error)" on anotherone i get "Database Error: Unable to connect to the database:The MySQL adapter "mysql" is not available"
Maybe it's best to re install Kloxo-MR? I still have my old VPS running with Kloxo i was just moving clients one by one i can do it again, no problem with it nothing to lose.
-
Try click update for 'php-type' and or change to another php-type and then change back.
I did but it was same also i keep played with php-type and on fcgid_event i get "HTTP Error 500 (Internal Server Error)" on anotherone i get "Database Error: Unable to connect to the database:The MySQL adapter "mysql" is not available"
Maybe it's best to re install Kloxo-MR? I still have my old VPS running with Kloxo i was just moving clients one by one i can do it again, no problem with it nothing to lose.
Give me your ssh and kloxo password (send to pm or talk to YM/GTalk). I want to check.
-
Reinstall php:
yum replace phpxx --replace-with=php54 -y
yum replace php54 --replace-with=phpxx -y
phpxx - You use your php which
I always help such activity as letters php content.
Also today I had a problem with the installation of MySQL but helped:
sh /script/restart-services
-
It's just missing 'php53u-mysql'. Just install again.
-
It's just missing 'php53u-mysql'. Just install again.
Mustafa 'php53u-mysql' is installed and is showing the contents of php I checked and I had the same problem.
-
It's just missing 'php53u-mysql'. Just install again.
Mustafa 'php53u-mysql' is installed and is showing the contents of php I checked and I had the same problem.
Maybe also missing php53u-fpm if you choose php-type as php-fpm_event. Try click 'update' again for 'php-type' in 'webserver configs'.
-
Confirmed I got this too !
php54 does not work in this release !
[root@kelope home]# php -v
[root@kelope home]#
[root@kelope home]# rpm -qi php54-fpm
Name : php54-fpm Relocations: (not relocatable)
Version : 5.4.15 Vendor: (none)
Release : 1.ius.el5 Build Date: Thu 09 May 2013 02:40:20 PM EDT
Install Date: Sat 01 Jun 2013 07:44:52 AM EDT Build Host: 339181-build02.rpmdev.rackspace.com
Group : Development/Languages Source RPM: php54-5.4.15-1.ius.el5.src.rpm
Size : 3981818 License: PHP
Signature : DSA/SHA1, Wed 29 May 2013 01:10:24 AM EDT, Key ID da221cdf9cd4953f
URL : http://www.php.net/ (http://www.php.net/)
Summary : PHP FastCGI Process Manager
Description :
PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI
implementation with some additional features useful for sites of
any size, especially busier sites.
[root@kelope home]# rpm -qi php54
Name : php54 Relocations: (not relocatable)
Version : 5.4.15 Vendor: (none)
Release : 1.ius.el5 Build Date: Thu 09 May 2013 02:40:20 PM EDT
Install Date: Sat 01 Jun 2013 07:43:17 AM EDT Build Host: 339181-build02.rpmdev.rackspace.com
Group : Development/Languages Source RPM: php54-5.4.15-1.ius.el5.src.rpm
Size : 9316917 License: PHP
Signature : DSA/SHA1, Wed 29 May 2013 01:10:06 AM EDT, Key ID da221cdf9cd4953f
URL : http://www.php.net/ (http://www.php.net/)
Summary : PHP scripting language for creating dynamic web sites
Description :
PHP is an HTML-embedded scripting language. PHP attempts to make it
easy for developers to write dynamically generated web pages. PHP also
offers built-in database integration for several commercial and
non-commercial database management systems, so writing a
database-enabled webpage with PHP is fairly simple. The most common
use of PHP coding is probably as a replacement for CGI scripts.
The php package contains the module which adds support for the PHP
language to Apache HTTP Server.
[root@kelope home]#
[root@kelope home]# /etc/init.d/php-fpm restart
Stopping php-fpm: [FAILED]
Starting php-fpm: [FAILED]
-
After I copy my own /etc/php.ini file:
[root@kelope /]# /etc/init.d/php-fpm restart
Stopping php-fpm: [FAILED]
Starting php-fpm:
[01-Jun-2013 07:54:10] ERROR: [/etc/php-fpm.conf:1] unknown entry '<?xml version'
[01-Jun-2013 07:54:10] ERROR: failed to load configuration file '/etc/php-fpm.conf'
[01-Jun-2013 07:54:10] ERROR: FPM initialization failed
[FAILED]
-
Copying /etc/php-fpm.conf.rpmnew to /etc/php-fpm.conf allows me to start php-fpm but I got Internal Server Error on all php pages ;)
-
Copy /home/php-fpm/etc/php53-fpm.conf to /etc/php-fpm.conf.
Error because wrong detect php version.
-
Copy /home/php-fpm/etc/php53-fpm.conf to /etc/php-fpm.conf.
Error because wrong detect php version.
So please fix this !
-
Copy /home/php-fpm/etc/php53-fpm.conf to /etc/php-fpm.conf.
Error because wrong detect php version.
So please fix this !
No change code for detect php version. So, how to fix this code where nothing wrong with previous version?.
No problem when update for Kloxo-MR together with update php.
-
Good - all working but I've switched to php53u and now I'm unable to switch to php54 via panel.
-
Copy /home/php-fpm/etc/php53-fpm.conf to /etc/php-fpm.conf.
Error because wrong detect php version.
So please fix this !
No change code for detect php version. So, how to fix this code where nothing wrong with previous version?.
No problem when update for Kloxo-MR together with update php.
Yep, but switching php version can be now only done manually which seems to be good idea anyway.
-
Good - all working but I've switched to php53u and now I'm unable to switch to php54 via panel.
Try 'yum replace php53u --replace-with=php54'. And inform here 'php -r 'echo phpversion();' after switch to php54.
-
Good - all working but I've switched to php53u and now I'm unable to switch to php54 via panel.
Try 'yum replace php53u --replace-with=php54'. And inform here 'php -r 'echo phpversion();' after switch to php54.
This works well:
php -r 'echo phpversion();'
5.4.15