Answer the question
In order to leave comments, you need to log in
How to solve the problem with bitrix installation related to session support?
I can not install 1-s Bitrix.
Writes in session support:
No. Probably the directory used to save the session parameters is not writable
In .htaccess at the root of the site
Options -Indexes
ErrorDocument 404 /404.php
<IfModule mod_php5.c>
#php_flag session.use_trans_sid off
php_value display_errors 1
#php_value mbstring.func_overload 2
#php_value mbstring.internal_encoding UTF-8
</IfModule>
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/bitrix/urlrewrite.php$
RewriteRule ^(.*)$ /bitrix/urlrewrite.php [L]
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.php index.html
</IfModule>
<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType image/jpeg "access plus 3 day"
ExpiresByType image/gif "access plus 3 day"
ExpiresByType image/png "access plus 3 day"
ExpiresByType text/css "access plus 3 day"
ExpiresByType application/javascript "access plus 3 day"
</IfModule>
; for php 5.2.x
;zend_extension = /usr/local/php52/lib/php/extensions/no-debug-non-zts-20060613/ioncube_loader_lin_5.2.so
;zend_extension = /usr/local/php52/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so
;zend_extension = /usr/local/php52/lib/php/extensions/no-debug-non-zts-20060613/ZendOptimizer.so
; for php 5.3.x
;zend_extension = /usr/local/php53/lib/php/extensions/no-debug-non-zts-20090626/ioncube_loader_lin_5.3.so
;zend_extension = /usr/local/php53/lib/php/extensions/no-debug-non-zts-20090626/eaccelerator.so
;zend_extension = /usr/local/php53/lib/php/extensions/no-debug-non-zts-20090626/ZendGuardLoader.so
; for php 5.4.x
;zend_extension = /usr/local/php54/lib/php/extensions/no-debug-non-zts-20100525/ioncube_loader_lin_5.4.so
;zend_extension = /usr/local/php54/lib/php/extensions/no-debug-non-zts-20100525/eaccelerator.so
;zend_extension = /usr/local/php54/lib/php/extensions/no-debug-non-zts-20100525/ZendGuardLoader.so
; for php 5.5.x
;zend_extension = /usr/local/php55/lib/php/extensions/no-debug-non-zts-20121212/opcache.so
extension=session.so
mbstring.func_overload = 2
mbstring.internal_encoding = UTF-8
register_globals = Off
register_long_arrays = Off
magic_quotes_gpc = Off
eaccelerator.debug = 0
eaccelerator.optimizer = 0
eaccelerator.shm_size = 16
date.timezone = Europe/Moscow
disable_functions = exec,passthru,proc_close,proc_get_status,proc_nice,proc_terminate,system,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,dl,posix_access,posix_ctermid,posix_get_last_error,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_kill,posix_mkfifo,posix_mknod,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_strerror,posix_times,posix_ttyname,posix_uname,mb_send_mail
eaccelerator.cache_dir = /home/p394743/tmp/php-eaccelerator
session.save_path = /home/p394743/tmp/session
Answer the question
In order to leave comments, you need to log in
I decided! extension=session.so in the php.ini file should have been put after session.save_path = /home/p394743/tmp/session
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question