Jump to content

PHP Error during System Check


1wraith1

Recommended Posts

Posted

When trying to install the latest version of IPB, during the System Check phase, I get the following message:

Quote

The installer uses PHP sessions to store data, however PHP sessions are currently not working correctly on your server. This is an issue you will need to contact your host about. 5C348/1

Can you please assist me?

My server has the following spec:

Plesk 12.5.30 on CentOS 6.9, PHP version 7.0.19, MySQL 5.1.73

Posted

I'm running into the same issue right now trying to install a Dev instance of 4.2 (Edit: 4.1.19.4 is doing the same thing)

I've tried it on PHP 7.1, 7.0, and 5.6.

This is my 5.6 Sessions settings, but all three are otherwise identical. My sessions folder permissions are 777

Directive Local Value Master Value
session.auto_start Off Off
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_httponly Off Off
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file /dev/urandom /dev/urandom
session.entropy_length 32 32
session.gc_divisor 0 0
session.gc_maxlifetime 1440 1440
session.gc_probability 0 0
session.hash_bits_per_character 5 5
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /tmp /tmp
session.serialize_handler php php
session.upload_progress.cleanup On On
session.upload_progress.enabled On On
session.upload_progress.freq 1% 1%
session.upload_progress.min_freq 1 1
session.upload_progress.name PHP_SESSION_UPLOAD_PROGRESS PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.prefix upload_progress_ upload_progress_
session.use_cookies On On
session.use_only_cookies On On
session.use_strict_mode Off Off
session.use_trans_sid 0 0
Posted
1 hour ago, Adlago said:

I think your MySQL version is very low

It doesn't have anything to do with MySQL. It is a PHP check. 

 

But yes... he might hit a wall there too.  However, my MySQL version is 10.0.31-MariaDB and the install checker detects it incorrectly saying that my version is too low. 

Posted

This is what i have:

session

Session Support enabled
Registered save handlers files user memcached
Registered serializer handlers php_serialize php php_binary wddx igbinary msgpack
Directive Local Value Master Value
session.auto_start Off Off
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_httponly On Off
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure On Off
session.gc_divisor 1000 1000
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.lazy_write On On
session.name ips4_IPSSessionAdmin PHPSESSID
session.referer_check no value no value
session.save_handler user files
session.save_path no value no value
session.serialize_handler php php
session.sid_bits_per_character 5 5
session.sid_length 26 26
session.upload_progress.cleanup On On
session.upload_progress.enabled On On
session.upload_progress.freq 1% 1%
session.upload_progress.min_freq 1 1
session.upload_progress.name PHP_SESSION_UPLOAD_PROGRESS PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.prefix upload_progress_ upload_progress_
session.use_cookies On On
session.use_only_cookies On On
session.use_strict_mode Off Off
session.use_trans_sid 0 0
Posted

So this is a PHP configuration problem, right? Or a permissions one?

I will try to cross-check with your phpinfo outputs to see what it may be wrong...

My output:

session

Session Support enabled
Registered save handlers files user redis
Registered serializer handlers php_serialize php php_binary
Directive Local Value Master Value
session.auto_start Off Off
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_httponly Off Off
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file /dev/urandom /dev/urandom
session.entropy_length 32 32
session.gc_divisor 1000 1000
session.gc_maxlifetime 1440 1440
session.gc_probability 0 0
session.hash_bits_per_character 5 5
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /var/lib/php/session /var/lib/php/session
session.serialize_handler php php
session.upload_progress.cleanup On On
session.upload_progress.enabled On On
session.upload_progress.freq 1% 1%
session.upload_progress.min_freq 1 1
session.upload_progress.name PHP_SESSION_UPLOAD_PROGRESS PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.prefix upload_progress_ upload_progress_
session.use_cookies On On
session.use_only_cookies On On
session.use_strict_mode Off Off
session.use_trans_sid 0 0
Posted
1 hour ago, Stuart Silvester said:

The most common issue here is that PHP cannot write to the define `session.save_path` make sure that it's writable.

I changed from plesk the session.save_path to /tmp and worked like a charm!

Thank you all for your answers!

Posted
2 hours ago, Stuart Silvester said:

The most common issue here is that PHP cannot write to the define `session.save_path` make sure that it's writable.

Any other less common issues you know of that I can check?

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...