Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-31-2006, 10:06 AM   #1
LQ Newbie
Registered: May 2006
Posts: 9

Rep: Reputation: 0
php include path

I installed a package on ubuntu, which told me that my php include path has changed.

i am now unable to test my database connection via a php file (got that from link below)
I get the following error at hxxp://localhost/testdb.php
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Warning: Unknown: Failed opening '/var/www/testdb.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0

i then went to hxxp://localhost/testphp.php
and saw a line under PHP CORE section that read
include_path .:/usr/share/php:/usr/share/pear

So my question is ... where can i change that to /usr/share/adodb --- as instructed by the screenshot above..
Old 05-31-2006, 12:53 PM   #2
Registered: Apr 2005
Location: Ohio
Distribution: Slackware && freeBSD
Posts: 676

Rep: Reputation: 30
On my system php.ini is in /usr/local/etc
You can test your database connection with
mysql -u USERNAME -p
Hope that helps some.


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
Include path in kdevelop t_t_h Programming 3 04-10-2006 02:08 PM
where did my include path go aot2002 Linux - Wireless Networking 2 01-24-2004 06:02 AM
Path to include? Mazen Alzogbi Red Hat 1 11-15-2003 07:25 AM
PHP Path include ..:eMa:.. Programming 4 09-25-2003 02:59 AM
adding include path hfawzy Linux - Newbie 3 02-01-2003 08:01 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:36 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration