MySQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMySQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old July 24th, 2000, 10:42 PM
ScottBP ScottBP is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Location: CA US
Posts: 62 ScottBP User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
RE: Fatal error: Call to unsupported or undefined function mysql_connect() in ....

Possible Solution for mysql_connect() Error

I had this problem and the solution for me was to modify the php3.ini file. My configuration is for a test machine running Win98, PWS, PHP3, and MySQL. I don't know if this changes the solution but here it goes:

Under Section:
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
extension_dir="php3" ; directory in which the loadable extensions (modules) reside

My .ini files is located in my windows directory so I changed the location of the extension directory and it worked. The default was to ./ and this puts PHP looking in Windows directory.

I hope this helps ...

Thanks,

Scott



------------------
-----------------------
Scott B. Pier
ScottBP@amalla.com

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > Possible Solution for mysql_connect() Error


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway