Include_path= ' c:php5pear ' exception solution

Source: Internet
Author: User
Include_path= '.; C:\php5\pear ' Wrong solution

After buying the Chinese port of the VPS host, want to build a DZ forum,WordPress and a dream weaving portal site, but in the process of use, there has been a very tangled problem :

Install PHP programs (such as discuss,WordPress , etc.) hint "include_path=".; C:\php5\pear' " error, the following is a Discuz an error.

Fatal error:require_once () [function.require]: Failed opening required

'./source/class/class_core.php ' (include_path= '.; C:\php5\pear ') in D:\web\BBS\index.php on line 14

The problem is described in detail below:

For the sake of writing , I will first say my directory structure

1. D:\FreeHost for the site root directory, under it to place the DZ Forum,wordpress blog and weaving dream Portal;

2. to the DZ Forum example,D:\FreeHost\webdz2013_JD3QC6, this is the root directory of DZ program, which is placed in the DZ program.

A, My site just started as set up,administrators and system have Full control over the site root freehos .

B, Webdz2013_jd3qc6 the Setup permissions for the program root are:administrators complete,system full,IIS Guest account iusr_dzusr Read and run, list file directories, and read , theNetwork Service has full control of permissions and is not inherited from the parent directory.

The final step of the forum results in the above error.

Here's how to fix it

A, Add the IIS Guest account iusr_dzusr Read permission to the site root directory freehos"Only this folder"

This will solve the problem.

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