Warning:session_start () [Function.session-start]: open_base_php Tutorial

Source: Internet
Author: User
Warning:session_start () [Function.session-start]: Open_basedir restriction in effect. File workaround

Warning:include () [function.include]: Open_basedir restriction in effect. File (/www/webpublic_html/admin/inc/inc.php tutorial) is not within the allowed path (s): (/www/webpublic_html/searchhight:/ TMP) in/www/webpublic_html/searchhight/index.php on line 2

Warning:include (/www/webpublic_html/admin/inc/inc.php) [function.include]: failed to open stream:operation not Permitted in/www/webpublic_html/searchhight/index.php on line 2

Warning:include () [function.include]: Failed opening '/www/webpublic_html/admin/inc/inc.php ' for inclusion (Include_ Path= '.:/ Www/wdlinux/php-5.2.17/lib/php ') in/www/webpublic_html/searchhight/index.php on line 2

Fatal error:class ' Db ' not found in/www/webpublic_html/searchhight/index.php on line 3


Fatal Error:session_start () [Function.session-start]: Failed to initialize Storage module:files (path:) in E:footlogin login.php on line 4

This problem occurs after session_start () is turned on.
Add C:windowstemp to the open_basedir of php.ini

, modifying the. ini file is very error-prone. Because the profile is not just service a program, so modify the configuration file, bring the consequences

may have a big impact. Pass

Ini_set (' Session.save_path ', DirName (__file__). '/.. /dirname/');

http://www.bkjia.com/PHPjc/632292.html www.bkjia.com true http://www.bkjia.com/PHPjc/632292.html techarticle Warning:session_start () [Function.session-start]: Open_basedir restriction in effect. File workaround Warning:include () [function.include]: Open_basedir restriction in effect. F ...

  • 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.