Include path not working?

Do you have questions regarding Pecl or Pear? ask here!

Moderators: egami, macek, gesf

Post Reply
JanDal
New php-forum User
New php-forum User
Posts: 9
Joined: Sun Jun 12, 2011 12:02 pm

Sun Jun 26, 2011 12:50 am

Hello,

I don't know why (if I would, I wouldn't have asked here), but my PHP doesn't seam to see the include path in my php.ini file.

I get the following error:

Code: Select all

Warning: require(HTML/QuickForm.php) [function.require]: failed to open stream: No such file or directory in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\header.php on line 23
For this line:

Code: Select all

require("HTML/QuickForm.php");
My php.ini looks like this:

Code: Select all

include_path = ".c:\php\includes;c:\php\PEAR"
And the QuickForm.php is stored under:

Code: Select all

C:\php\PEAR\HTML
Can anyone help me?

Jan

JanDal
New php-forum User
New php-forum User
Posts: 9
Joined: Sun Jun 12, 2011 12:02 pm

Thu Jun 30, 2011 12:20 am

Hello? Anyone?

EDIT: So, I got it working now. I do not know what I did, I just changed some thing in the php.ini file and then it worked.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest