Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Pear.DB???

Status
Not open for further replies.

Apollo6

Technical User
Jan 27, 2000
418
0
0
US
I've have Apache/PHP4.3.1 setup on an NT Server. I am trying to attach to a Pervasive.SQL database on the NT Server. From the research I've been doing, it appears that I will need to be using Pear due to there not being any Pervasive specific functions in PHP.

First, is my assumption correct so far? Second, I've read some aricles that mention a specific directory called Pear that is created when PHP is installed. I do not see any such directory, should I? Or should I just be able to start using the Pear syntax to attempt to connect?

Thanks in advance for any help/suggestions.
 
I'm not sure about requiring PEAR for your database (Pervasive) but if php is installed and configured with Pear (run a phpinfo() script to find out) then you should be able to install PEAR from the command line such as:


Code:
pear install <package>

or, if php is not configured with pear, windows users can the install manager from go-pear.org and then run the command

Code:
php go-pear

From there, use the above command line to install a package such as DB

Erin Quick-Laughlin
DBA, PHP/MySQL programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top