Jump to content


session save problem in Plesk (solution)

plesk 500 error save_path

  • Please log in to reply
No replies to this topic

#1 dale



  • Members
  • Pip
  • 7 posts
  • LocationCanada

Posted 02 August 2018 - 07:27 AM

Installing on a server running the Plesk control panel (websavers.ca).


The requirements script showed an error - The path defined in session.save_path (/var/lib/php/session) is not writable.

Checked with the host and it was writable, and included current sessions by the web user.


Installed anyway as it seemed a false positive.


No errors to the user but a 500 error when logging in as admin:

Error Message: is_file(): open_basedir restriction in effect. File(/opt/plesk/php/7.1/share/pear/Opportunities.php) is not within the allowed path(s):


The solution is on the Plesk site:



PHP script is trying to access the folder for which access is not allowed. This restriction is limited by the PHP open_basedir variable for each virtual host separately. By default, open_basedir is set to allows access for PHP files to the tmp and httpdocs directories.


I used the



It worked.


Opportunities.php seems to be in the message section of each language.


Comment from a host tech:

"I’m wondering if X2 may be written with a certain expectation of available paths instead of querying the system."


Initially installed X2 from a softdelicious on a host running cpanel. Successfully move the install. 


Hope this helps someone or the code can be updated.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users