Body: <p>I'm having issues just getting CiviCRM installed.</p>
  
  <p>This is a Drupal 7.55 install. I got as far as installing CiviCRM as a module but the next step is to go to the install/index.php file and that is where I get my HTTP 500 error.</p>
  
  <p>Looking at the apache error log it is a PHP parse error</p>
  
  <p>PHP Parse error:  syntax error, unexpected 'clone' (T_CLONE), expecting '('</p>
  
  <p>and then a link to this file</p>
  
  <p>/civicrm/packages/DB/DataObject.php(207) : eval()'d code on line 1</p>
  
  <p>Can someone help me out with this?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-14T20:48:13.583Z
Comments.Text: care to clarify why this is tagged webform-civicrm?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-07-12T13:39:20.267Z
Comments.Text: I got the same problem. Help'd be highly appreciated.
Comments.UserDisplayName: user4858
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-07-13T16:12:18.833Z
Comments.Text: You haven't said which version of CiviCRM you are using.  CiviCRM 4.7.12 and later support PHP 7 so it should work.  This is mentioned in the requirements - https://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+PHP+Requirements
Comments.UserDisplayName: William Mortada
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-07-13T16:21:00.153Z
Comments.Text: See also: https://civicrm.stackexchange.com/questions/8732/is-civicrm-4-6-x-compatible-with-php-7#comment17262_8733
Comments.UserDisplayName: William Mortada
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-12T12:34:22.120Z
Comments.Text: @JohnM, you are right, thanks, I also felt in the same issue and it ran after switching php version to 5.6. 
  Imagining, why it is not running in php 7.
Comments.UserDisplayName: Juyal Jee
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-14T21:36:08.660Z
Comments.Text: I couldn't figure it out the tags as using civicrm in the tag gave a short list that none seemed to be appropriate. Realized not using civicrm in tag gives more options. Really sorry about that. Didn't realize it
Comments.UserDisplayName: John M
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-14T22:23:07.910Z
Comments.Text: no worries, just trying to help.
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-14T22:24:03.883Z
Comments.Text: best if you spell out which set of installation instructions you followed.
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-14T22:39:39.557Z
Comments.Text: I followed these https://wiki.civicrm.org/confluence/display/CRMDOC/Installing+CiviCRM+for+Drupal+7
  
  I've checked all the requirements
  
  Drupal is 7.55
  PHP is 7.0.18 with 512M for memory limit
  MySQL is  Ver 14.14 Distrib 5.7.18 with log_bin showing off
  PCRE shows enabled in phpinfo with library version 8.38 2015-11-23
  
  I have Zend OPcache but no XCache or eAccelerator
  
  Wasn't able to check trigger permission or threat_stack for MySQL
Comments.UserDisplayName: John M
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-15T09:27:23.823Z
Comments.Text: The line that's breaking it is pretty messed up, eval('function clone($t) { $r = $t; if (method_exists($r,"__clone")) { $r->__clone(); } return $r; }');`. Clone is a reserved work ever since I started working with PHP, so I'm guessing this code is pretty old. AFAIK CiviCRM is not fully tested with PHP7, you might save yourself a lot of effort by downgrading to 5.6
Comments.UserDisplayName: mickadoo
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-15T19:28:38.930Z
Comments.Text: I downgraded the version of php to 5.6 and now the link works and I get to a page to start the database config. Hopefully, rest will work fine
  
  The CiviCRM requirements should mention that it doesn't work with 7. I interpreted 5.3.3+ and anything higher than that and 7 was the default for my setup.
  
  Anyway thank you very much
Comments.UserDisplayName: John M
Tags: <installation><php7>
Title: 500 Error on install
ThreadText: # 500 Error on install
  
  (Asked by: username_0 on 2017-06-14)
  
  I'm having issues just getting CiviCRM installed.
  
  This is a Drupal 7.55 install. I got as far as installing CiviCRM as a module but the next step is to go to the install/index.php file and that is where I get my HTTP 500 error.
  
  Looking at the apache error log it is a PHP parse error
  
  PHP Parse error: syntax error, unexpected 'clone' (T\_CLONE), expecting '('
  
  and then a link to this file
  
  /civicrm/packages/DB/DataObject.php(207) : eval()'d code on line 1
  
  Can someone help me out with this?
  
  **Tags:** installation, php7
  
  > **Comments:**
  > **username_1**: care to clarify why this is tagged webform-civicrm?  
  > **username_0**: I couldn't figure it out the tags as using civicrm in the tag gave a short list that none seemed to be appropriate. Realized not using civicrm in tag gives more options. Really sorry about that. Didn't realize it  
  > **username_1**: no worries, just trying to help.  
  > **username_1**: best if you spell out which set of installation instructions you followed.  
  > **username_0**: I followed these https://wiki.civicrm.org/confluence/display/CRMDOC/Installing+CiviCRM+for+Drupal+7  I've checked all the requirements  Drupal is 7.55 PHP is 7.0.18 with 512M for memory limit MySQL is  Ver 14.14 Distrib 5.7.18 with log_bin showing off PCRE shows enabled in phpinfo with library version 8.38 2015-11-23  I have Zend OPcache but no XCache or eAccelerator  Wasn't able to check trigger permission or threat_stack for MySQL  
  > **username_5**: The line that's breaking it is pretty messed up, eval('function clone($t) { $r = $t; if (method_exists($r,"__clone")) { $r->__clone(); } return $r; }');`. Clone is a reserved work ever since I started working with PHP, so I'm guessing this code is pretty old. AFAIK CiviCRM is not fully tested with PHP7, you might save yourself a lot of effort by downgrading to 5.6  
  > **username_0**: I downgraded the version of php to 5.6 and now the link works and I get to a page to start the database config. Hopefully, rest will work fine  The CiviCRM requirements should mention that it doesn't work with 7. I interpreted 5.3.3+ and anything higher than that and 7 was the default for my setup.  Anyway thank you very much  
  > **username_2**: I got the same problem. Help'd be highly appreciated.  
  > **username_3**: You haven't said which version of CiviCRM you are using.  CiviCRM 4.7.12 and later support PHP 7 so it should work.  This is mentioned in the requirements - https://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+PHP+Requirements  
  > **username_3**: See also: https://civicrm.stackexchange.com/questions/8732/is-civicrm-4-6-x-compatible-with-php-7#comment17262_8733  
  > **username_4**: @username_0, you are right, thanks, I also felt in the same issue and it ran after switching php version to 5.6.  Imagining, why it is not running in php 7.  
  
  ---
  
  ## 0 answers
  
  