Unable to create session when exception occurs, check PHP or Web server logs and properly configure PHP installation
Source: Internet
Author: User
Unable to create the session in the event of an error, check the PHP or Web server logs and properly configure the PHP installation.
Local installation Debugging Zencart, there is curl not compiled into PHP error, the original is the Curl module is not installed, I use the appserv kit, so it is configured as follows:
1. Search for the following three DLLs (Ssleay32.dll, Libeay32.dll, and Php_curl.dll) in the PHP installation directory of Appserv.
2. Copy all three files to the System32 folder under the system directory;
3. Go to PHP.ini "Extension=php_curl.dll" in front of ";"
But that's still the problem. You can use the following methods:
By default, Max_execution_time = 30 in php.ini; Maximum execution time of each script, in seconds that is, the script executes for a maximum of 30 seconds,
So, change it to 60 or larger, so the problem can be solved.
If not, your space does not support curl at all, to contact the host service.
Id= "Blog_text" class= "CNT" >1. Open My Computer-system installation disk (usually C-drive)-Open Windows folder-Find temp directory;
Right-click to open Properties, point to security options, if not you can open the tool in the top of the window-Folder Options-View-the "use of single file sharing (recommended)" The money tick off there;
2. Say the simple point is: Win under the System folder windows there is a temp folder, just set this folder user permissions to Full control can be resolved. If there is still this error, the original file with its contents are removed.
3. There is another way to do this: PHP.ini in the C-drive Windows directory
For example, you can find this line Session.save_path = "some path"
Change to Session.save_path = "D:\webserver\phpsession"
Then you want to create this directory D:\webserver\phpsession
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.