It’s probably a good idea to start by checking this, maybe your problem has nothing to do with session files. In there you will surely have messages explaining why you can’t log in. This will disrupt ongoing sessions, so make sure nobody’s using the system for work.Īnother thing you can check in your phpinfo is the name of your PHP log file (this is not the same as suitecrm.log). The system searches for php.ini files in the. When it loads a directive that a php.ini file specifies, it loads the first incident of each directive that it finds. The system searches for and reads php.ini files when PHP starts. You can clear these files to attempt fixing your problem. Use this document to ensure that you set the appropriate. If you watch this directory you will see the files being created and deleted as sessions are opened or closed. rw- 1 www-data www-data 0 Dec 18 17:00 sess_tjqolv4bf9r7oo0jfebu1g2e64 rw- 1 www-data www-data 0 Dec 18 16:49 sess_td5suat3q04t0g36imp8gbriir rw- 1 www-data www-data 0 Dec 18 16:48 sess_sgfmf1j8l56mqam70ddfu3d9lt This directory will contain session files, in my case they are called like this: You should set the session file to a specific directory for that purpose, and you need to make sure it is writeable by PHP. It’s probably some default, or just the name of your PHP executable directory. What you’re getting from “phpinfo” is the effective value, so it is what PHP decided to use since you were giving it a blank value. How do I clear these? Please can you explain. I also see when I run the MultiPHP INI Editor for this domain that the session path is blank here also.Īlso, I’m sorry I did not quite understand your comment ‘You can clear the session that dir if necessary…’. Should this contain /var/cpanel/php/sessions/ea-php56. Anyone knows what exactly is this separate php.ini and if I must change it manually or not I have imunify antivirus installed and at the past I see exceptions that refer to imunify. For more information, read our documentation ( )Īs you can see the session path is blank. In my main php.ini file on server that running php7.4 I have enabledl Off and disablefunctions etc. To make changes to this file, use the cPanel MultiPHP INI Editor (Home > Software > MultiPHP INI Editor) Manual editing of this file may result in unexpected behavior. cPanel-generated php ini directives, do not edit In the top level folder for this installation I have a user.ini file which has the following:. For more information about PHP, read the PHP website. When you install cPanel & WHM, the installation process automatically installs PHP with some common PHP options. EasyApache allows you to easily install and modify PHP for your server. I have run the diagnostic and the session.save_path in the PHPinfo file reads this - /var/cpanel/php/sessions/ea-php56. Websites frequently use the PHP scripting language for applications and content. In that situation, you'd want to check the configuration on line 467 and correct the syntax error.First of all many thanks for your reply, I really appreciate your help. PHP: syntax error, unexpected '~' in /opt/cpanel/ea-php56/root/etc/php.ini on line 467 If there is a problem with the configuration you'll see something similar to this: /opt/cpanel/ea-php56/root/usr/bin/php -e -c /opt/cpanel/ea-php56/root/etc/php.ini If there are no errors in the configuration, the command will not produce any output and will hang. Then execute the following command, but replace the PHP version and ini file path to match your specific situation: /opt/cpanel/ea-php56/root/usr/bin/php -e -c /opt/cpanel/ea-php56/root/etc/php.ini Note the version of PHP showing as used in the PHPInfo file as well. Look for the value labeled "Loaded Configuration File". How to use a PHPInfo file for troubleshooting PHP issues You can learn how to set this up in the following guide: Start by locating the path of your PHP configuration files with a PHP Info file. How do I troubleshoot PHP configuration problems?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |