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-20, 07:40:51

Author Topic: PHP 5.5 with Drupal  (Read 14236 times)

0 Members and 1 Guest are viewing this topic.

Offline sandipcd

  • Senior Member
  • *
  • Posts: 167
  • Karma: +0/-0
    • View Profile
PHP 5.5 with Drupal
« on: 2016-04-24, 08:10:08 »
I am using Drupal 7. It needs php 5.5. 

So do I use php55u_ or php55w_ ?
And what is the difference ?

And which PHP type is suitable ? suphp, suphp_event, php-fpm_event or others ?
I have read php requirements for drupal, but not found these - https://www.drupal.org/requirements/php#7

Please help.
« Last Edit: 2016-04-24, 14:25:54 by sandipcd »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: PHP 5.5 with Drupal
« Reply #1 on: 2016-04-25, 01:23:51 »
Depend on Kloxo-MR version. In Kloxo-MR 7.0, just install 'multiple php', select 'php55m' in 'php used' where 'php branch' stay in 'php 5.4u'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline sandipcd

  • Senior Member
  • *
  • Posts: 167
  • Karma: +0/-0
    • View Profile
Re: PHP 5.5 with Drupal
« Reply #2 on: 2016-05-31, 07:29:25 »
Inside Customer account in 'PHP Configure', under 'Multiple PHP Already Installed', now it is showing 'php54m php55m'. But under Domain in the 'Web / PHP Selector' it is only showing Default PHP selected. It is not showing to select PHP version. So, how to do this ?

Have run the script 'sh /script/fixphp', 'sh /script/restart-web -y', 'service httpd restart'. But not successful.
« Last Edit: 2016-05-31, 07:43:33 by sandipcd »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: PHP 5.5 with Drupal
« Reply #3 on: 2016-05-31, 07:46:45 »
Add php in 'multiple php install' under 'webserver configure'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline sandipcd

  • Senior Member
  • *
  • Posts: 167
  • Karma: +0/-0
    • View Profile
Re: PHP 5.5 with Drupal
« Reply #4 on: 2016-05-31, 07:51:35 »
Already added. Please see the print screen.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: PHP 5.5 with Drupal
« Reply #5 on: 2016-05-31, 09:40:06 »
Update your Kloxo-MR 7.0 to latest one until you found 'web / php selector' change to 'web options'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline sandipcd

  • Senior Member
  • *
  • Posts: 167
  • Karma: +0/-0
    • View Profile
Re: PHP 5.5 with Drupal
« Reply #6 on: 2016-05-31, 12:39:31 »
Using Kloxo-MR: 7.0.0.b-2016050403 version. Is there any new release after this ?

Let me know the command to update Kloxo-Mr ?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: PHP 5.5 with Drupal
« Reply #7 on: 2016-05-31, 13:40:18 »
Using Kloxo-MR: 7.0.0.b-2016050403 version. Is there any new release after this ?

Let me know the command to update Kloxo-Mr ?
Yum clean all; yum update -y; sh /script/cleanup.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline sandipcd

  • Senior Member
  • *
  • Posts: 167
  • Karma: +0/-0
    • View Profile
Re: PHP 5.5 with Drupal
« Reply #8 on: 2016-05-31, 16:07:24 »
I have run the command 3 times 'yum clean all; yum update -y; sh /script/cleanup'.

Now it is showing  'web features' under 'Domain Home'. Also have selected in 'PHP Selected' 'php55m'. When a phpinfo.php file is created under this domain name, still it is showing that using php 5.4.45. Here you can see - http://openid11.tk/phpinfo.php

So, now how to use this php55m in drupal website ?

Offline Wibowo

  • Master
  • **
  • Posts: 391
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: PHP 5.5 with Drupal
« Reply #9 on: 2016-05-31, 20:02:09 »
I have run the command 3 times 'yum clean all; yum update -y; sh /script/cleanup'.

Now it is showing  'web features' under 'Domain Home'. Also have selected in 'PHP Selected' 'php55m'. When a phpinfo.php file is created under this domain name, still it is showing that using php 5.4.45. Here you can see - http://openid11.tk/phpinfo.php

So, now how to use this php55m in drupal website ?

try to restart the web server with 'sh /script/restart-web -y'

Offline sandipcd

  • Senior Member
  • *
  • Posts: 167
  • Karma: +0/-0
    • View Profile
Re: PHP 5.5 with Drupal
« Reply #10 on: 2016-06-01, 07:41:37 »
Have run the command 'sh /script/restart-web -y'.
And also have run 'sh /script/fixphp'; 'sh /script/fixweb-all'; 'sh /script/fixwebcache'; 'sh /script/restart-php-fpm'; 'sh /script/restart-web'.
But still it does not fix, it is showing using php 5.4.45. Here you can see - http://openid11.tk/phpinfo.php. Please see the print screen attached.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: PHP 5.5 with Drupal
« Reply #11 on: 2016-06-01, 09:03:48 »
Have run the command 'sh /script/restart-web -y'.
And also have run 'sh /script/fixphp'; 'sh /script/fixweb-all'; 'sh /script/fixwebcache'; 'sh /script/restart-php-fpm'; 'sh /script/restart-web'.
But still it does not fix, it is showing using php 5.4.45. Here you can see - http://openid11.tk/phpinfo.php. Please see the print screen attached.
Did you tick 'enable multiple php' in 'admin > servers > localhost > php configure'?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline sandipcd

  • Senior Member
  • *
  • Posts: 167
  • Karma: +0/-0
    • View Profile
Re: PHP 5.5 with Drupal
« Reply #12 on: 2016-06-01, 12:08:11 »
Yes, I have tick 'Multiple PHP Enable (for 'php-fpm')' in admin > Servers > localhost > PHP Configure.
Also I have tick 'Enable Multiple PHP As Secondary PHP' under 'PHP Type' in admin > Servers > localhost > Webserver Configure.

But still it is not working.


Offline kahanbey

  • Junior Member
  • *
  • Posts: 11
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: PHP 5.5 with Drupal
« Reply #13 on: 2016-06-01, 12:19:52 »
check your .htaccess file

Offline sandipcd

  • Senior Member
  • *
  • Posts: 167
  • Karma: +0/-0
    • View Profile
Re: PHP 5.5 with Drupal
« Reply #14 on: 2016-06-01, 12:47:59 »
.htaccess file code is given below. Is this alright ?

Code: [Select]
###Start Kloxo PHP config Area

### begin content - please not remove this line

#<IfModule mod_rewrite.c>
# ## MR -- authentically for letsencrypt for webroot-based
# RewriteRule /\.|^\.(?!well-known/) - [F]
#</FilesMatch>

### MR -- using php version different with default php
### 1. Using suphp
### - Copy between '#<FilesMatch \.php$>' to '#</FilesMatch>' and
###   then remove '#' from '#<FilesMatch', '#</FilesMatch>' and one of '#SetHandler'

#<FilesMatch \.php$>
#SetHandler x-httpd-php
#SetHandler x-httpd-php52
#SetHandler x-httpd-php53
#SetHandler x-httpd-php54
#SetHandler x-httpd-php55
#SetHandler x-httpd-php56
#SetHandler x-httpd-php70
#</FilesMatch>

### OR

### 2. Using fcgid
### - Copy from '#Options' to '#FCGIWrapper' and
###   then remove '#' for one of '#FCGIWrapper'

#Options +ExecCGI
#<FilesMatch \.php$>
# SetHandler fcgid-script
#</FilesMatch>
#FCGIWrapper /usr/bin/php-cgi .php
#FCGIWrapper /usr/bin/php52m-cgi .php
#FCGIWrapper /usr/bin/php53m-cgi .php
#FCGIWrapper /usr/bin/php54m-cgi .php
#FCGIWrapper /usr/bin/php55m-cgi .php
#FCGIWrapper /usr/bin/php56m-cgi .php
#FCGIWrapper /usr/bin/php70m-cgi .php

### end content - please not remove this line

###End Kloxo PHP config Area


 


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

Page created in 0.066 seconds with 18 queries.

web stats analysis