Board index   FAQ   Search  
Register  Login
Board index PHP PEAR and PECL

Include path not working?

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

Moderators: macek, egami, gesf

Include path not working?

Postby JanDal » 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: 11
Joined: Sun Jun 12, 2011 12:02 pm

Re: Include path not working?

Postby JanDal » 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.
JanDal
New php-forum User
New php-forum User
 
Posts: 11
Joined: Sun Jun 12, 2011 12:02 pm


Return to PEAR and PECL

Who is online

Users browsing this forum: No registered users and 0 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron