CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Pre-installation Questions (Moderator: Dave Greenberg) »
  • PHP5.3
Pages: [1]

Author Topic: PHP5.3  (Read 5951 times)

rogerco

  • I post occasionally
  • **
  • Posts: 66
  • Karma: 5
PHP5.3
December 27, 2009, 07:29:27 am
I was just getting started on updating my CiviUser addon for Joomla installations to work with Civi3.x when I discover a note on the requirements that Civi3.x does not work with PHP5.3 - only PHP5.2

Minor problem as the MacBook I'm using for development comes with PHP5.3 installed by default.

What is the nature of the PHP5.3 problem - is it a showstopper and when will it be fixed. I imagine we will start to see hosts offering PHP5.3 increasingly commonly, does this mean that CiviCRM can't be used on them?

There is a beautiful irony to this as for a long time I was stuck with an earlier version of CiviCRM as one of my clients hosts refused to update their servers to PHP5 from PHP4 - now I find I am stuck ahead of the curve waiting for Civi to catch up rather than bitching on here about lack of backwards compatibility  ::)

Anyway - what is the problem with PHP5.3, what does it affect, when will it be fixed, what needs to be done?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: PHP5.3
December 27, 2009, 08:25:16 am

v3.2 will support PHP 5.3. we need to fix a few packages, deprecated functions etc for 5.3 compatibility

for macs you can use macports to install php52

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

rogerco

  • I post occasionally
  • **
  • Posts: 66
  • Karma: 5
Re: PHP5.3
December 27, 2009, 09:44:41 am
Many thanks for the speedy response Donald. For now I can use another old server for dev testing rather than my laptop. Good to know that PHP5.3 compatibility is coming with v3.2 - mid 2010?

repostor

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
Re: PHP5.3
March 01, 2010, 12:47:56 pm
Thanks in advance for an excellent program.
I hope you can speed up the release of 3.2 since I have sever problems using CiviCRM on SuSE 11.2.
It used to work in previously versions of SuSE (10.2)

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: PHP5.3
March 02, 2010, 02:47:06 am
I seem to remember there was a Drupal issue with any PHP version higher than 5.2.8, it is worth while checking if that has been fixed (if you use Drupal that is :-))
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

mrl586

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.0
  • MySQL version: 5.5.9
  • PHP version: 5.3.5
Re: PHP5.3
March 02, 2010, 04:57:57 pm
Upcoming Ubuntu 10.04 uses php 5.3.1 in this time.
Code: [Select]
mrl586@ACER:~$ lsb_release -rd
Description:    Ubuntu lucid (development branch)
Release:        10.04
mrl586@ACER:~$ apt-cache policy php5
php5:
  Asennettu: (ei mitään)
  Ehdokas: 5.3.1-5ubuntu1
  Versiotaulukko:
     5.3.1-5ubuntu1 0
        500 http://archive.ubuntu.com lucid/main Packages

repostor

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
Re: PHP5.3
March 08, 2010, 01:25:49 pm
I use joomla 1.5.15.
And I got the following errors:

http://www.repostor.com/joomla/index.php?option=com_civicrm&task=civicrm/contribute/transact&
--------
     Sorry. A non-recoverable error has occurred.

    QuickForm Error: unknown error

    Return to home page.

Error Details:

Array
(
    [callback] => Array
        (
           
  • => CRM_Core_Error
  • [1] => handle
            )

       
Code: [Select]
=> -1
    [message] => QuickForm Error: unknown error
    [mode] => 16
    [debug_info] => Form rule callback returned invalid value in HTML_QuickForm::validate()
    [type] => HTML_QuickForm_Error
    [user_info] => Form rule callback returned invalid value in HTML_QuickForm::validate()
    [to_string] => [html_quickform_error: message="unknown error" code=-1 mode=callback callback=CRM_Core_Error::handle prefix="QuickForm Error: " info="Form rule callback returned invalid value in HTML_QuickForm::validate()"]
)

which I did not get on my SuSE 10.2 with php 5.2; I have now OpenSuSE 11.2 with phph 5.3

2020media

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
    • 2020Media
Re: PHP5.3
October 08, 2010, 07:23:32 am
Donald, you indicated that 3.2 would support PHP5.3. Is that the case now? The install guide says not.
CiviCRM Hosting: [http://www.2020media.com/civicrm]

Slovak

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 3
    • My website
  • CiviCRM version: 3.4.x, 4.2.x
  • CMS version: Drupal 6.x, 7.x
  • MySQL version: 5.5.29
  • PHP version: 5.3.10
Re: PHP5.3
October 08, 2010, 07:27:23 am
Quote from: 2020media on October 08, 2010, 07:23:32 am
Donald, you indicated that 3.2 would support PHP5.3. Is that the case now? The install guide says not.

I'm successfully using version 3.2.3 with PHP 5.3

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: PHP5.3
October 08, 2010, 08:30:21 am
I am too :-)
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Pre-installation Questions (Moderator: Dave Greenberg) »
  • PHP5.3

This forum was archived on 2017-11-26.