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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Can't Install (CiviCRM thinks my PHP is not the right version)
Pages: [1]

Author Topic: Can't Install (CiviCRM thinks my PHP is not the right version)  (Read 1313 times)

osarusan

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
  • CiviCRM version: 4.4.2
  • CMS version: Drupal 7.26
  • MySQL version: 5.4.13
  • PHP version: 5.5.31
Can't Install (CiviCRM thinks my PHP is not the right version)
September 18, 2012, 06:45:13 am
I have PHP 5.3.16 installed on my server and I am trying to install CiviCRM.

Everything on the install page checks out, except I get this error: PHP5 installed ---- You need PHP version 5.3.0 or later, only 5.2.17 is installed. Please upgrade your server, or ask your web-host to do so.

My PHP is definitely not 5.2.17. My cPanel confirms that it is 5.3.16. What can I do to install CiviCRM?

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: Can't Install (CiviCRM thinks my PHP is not the right version)
September 18, 2012, 08:01:30 pm
Put a file with the following in the drupal root folder and call it from a browser. It will tell you what's going on. Don't leave this sitting on a live site permanently though.

Code: [Select]
<?php
phpinfo
();
?>


osarusan

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
  • CiviCRM version: 4.4.2
  • CMS version: Drupal 7.26
  • MySQL version: 5.4.13
  • PHP version: 5.5.31
Re: Can't Install (CiviCRM thinks my PHP is not the right version)
September 19, 2012, 06:26:17 am
Oddly enough, that folder does seem to be using php 5.2.

However, if I load that same file in my site's root directory, it tells me php 5.3.

What is going on??

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: Can't Install (CiviCRM thinks my PHP is not the right version)
September 19, 2012, 07:36:30 pm
Your hosting provider's tech support is probably the best place to go from here. They probably allow you to choose separately for different applications/domains.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Can't Install (CiviCRM thinks my PHP is not the right version)

This forum was archived on 2017-11-26.