Any help would be greatly appreciated, I have spent way too many hours getting nowhere.

Initial install page shows:
Warning: ini_set(): A session is active. You cannot change the session module's ini settings at this time in drupal_environment_initialize() (line 707 of /path changed/includes/bootstrap.inc).

I have tried installing files via Drush, SCP from local and plain old FTP... same results for each.

Settings:

  • drupal-7.12
  • Apache/2.2.3 (Red Hat)
  • PHP/5.3.8

PHP settings I've looked at and adjusted (htaccess and php.ini) to no avail:

  • session.auto_start Off
  • register_globals Off

Other:

  • It's not a missing .htaccess
  • File permissions are all set to 755
  • settings file in place
  • files directory in order

Comments

chales’s picture

I would think it would be your session.auto_start setting but there could be other issues. Your ini file is likely /etc/php.ini but if in doubt do a search and see, $ find / -name "php.ini" -type f or run phpinfo() from a page and check the output to confirm.

The easiest place to make the change is in your settings.php file or htacces/vhost to make it Drupal specific but if you do not have any other PHP apps that might be effected then the php.ini file is fine. Be sure to reload apache after any ini changes.

Make sure you are using the correct format in in the right places -
settings.php: ini_set('session.auto_start', 0);
htaccess or vhost: php_value session.auto_start 0
php.ini: session.auto_start = 0

If that doesn't solve it post your phpinfo() output.


DrupalVoodoo
bgetkin’s picture

Thanks so much for the reply...I should have expected as much from a local Mediacurrent guy, tell Dave and Paul that Brian Getkin said hello!!

I learned today that it was there was a conflict with the zend auto loader being used in the document root, while I was trying to install Drupal in a sub-directory. Not exactly sure what the conflict was yet, but a sub-domain and new document root got me up and running.

I really appreciate the suggestions, and I did run through your auto_start checks/suggestions before finally figuring it out.

Thanks again.

-Brian

chales’s picture

No problem, glad you got the issue worked out. I've had more than a few odd issues when Zend was in the mix.


DrupalVoodoo