Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-11-2003, 09:12 AM   #1
Registered: Mar 2003
Location: Washington DC, USA
Distribution: Redhat
Posts: 212

Rep: Reputation: 30
Angry (include_path='.:/usr/share/pear) ????

I am farily new to PHP, but getting the hang of it. However this one is stumping me:

Warning: Failed opening 'zina/index.php' for inclusion (include_path='.:/usr/share/pear')

What does this mean? How do I fix it? I would appreciate any help.

What I am trying to do is include a PHP into another one and am getting this error. Thank you
Old 07-11-2003, 12:10 PM   #2
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
I have good news and bad news. The good news is that it mean zina/index.php could not be found by looking in two places: the current working directory (that is what the . means) nor could it be found in /usr/share/pear. The colon : is simply the separator character for the seach path.

The bad news is that I am cluless about fixing it, other that to tell you to find "zina/index.php' and put it in /usr/share/pear/

Old 07-11-2003, 03:09 PM   #3
Registered: Mar 2003
Location: Washington DC, USA
Distribution: Redhat
Posts: 212

Original Poster
Rep: Reputation: 30
Thank you very much...I will try that out.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
deleted /usr/share jmoschetti45 Linux - General 1 11-20-2004 05:02 PM
Failed opening '../main/mainconfig.php' for inclusion (include_path='.:/usr/local/lib ryancoolest Linux - Newbie 3 09-29-2004 10:10 PM
/usr/share - What's the point? Makaelin Slackware 5 09-02-2004 07:05 PM
'PEAR.php' (include_path=''.:/usr/local/lib/php'') SOLVED SOLVED adengua Linux - Software 0 04-02-2004 04:34 AM
/usr/share/locale chrismiceli Linux - General 1 08-09-2003 11:39 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration