The session cannot be created when an exception occurs. check the PHP or website server logs and correctly configure PHP installation.

Source: Internet
Author: User
Tags php error
You cannot create a session when an error occurs. check the PHP or website server logs and correctly configure PHP installation. During local installation and debugging of Zencart, the curlnotcompiled‑php error occurs. it turns out that the curl module is not installed. I used the appserv suite, so the configuration is as follows: 1. search for the following three dll files in the PHP installation directory of Appserv (ssleay32.dll and libea cannot create a session when an error occurs. check the PHP or website server logs and correctly configure PHP installation.
During local installation and debugging of Zencart, the CURL not compiled into PHP error occurs. it turns out that the curl module is not installed. I used the appserv suite, so the configuration is as follows:

1. search for the following three dll (ssleay32.dll, libeay32.dll, and php_curl.dll) under the PHP installation directory of Appserv ).

2. copy all three files to the system32 folder in the system directory;

3. go to the ";" in front of "extension = php_curl.dll" in php. ini.

However, this problem still occurs after the above steps. You can use the following methods:
By default, max_execution_time = 30; Maximum execution time of each script in php. ini, in seconds means that the Maximum execution time of the script is 30 seconds,
Therefore, change it to 60 or greater, so that the problem can be solved.
If not, your space does not support cURL at all. contact the host service provider.

Id = "blog_text" class = "cnt"> 1. open my computer-system installation disk (c usually)-open the WINDOWS folder-and find the Temp directory;
Right-click "open properties" and click "security options". if you do not have any options, click "tools"> "Folder Options"> "View" at the top of the window to share "single files" (recommended) "The money is removed;
2. to put it simply, windows has a temporary TEMP folder in the windows system folder under WIN. you only need to set the USER permission of this folder to full control. If this error persists, all the items in the original folder will be deleted.
3. Another method is to run php. ini in the windows directory of drive C.
For example, you can find this row of session. save_path = "a path"
Change to session. save_path = "D: \ webserver \ phpsession"
Then create the directory D: \ webserver \ phpsession

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.