Help Mysql 5 , Php 5 and Abyss 2

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
darrenfinch
-


Joined: 19 Jan 2006
Posts: 6

PostPosted: Tue Feb 07, 2006 4:36 pm    Post subject: Help Mysql 5 , Php 5 and Abyss 2 Reply with quote

Hi all,

I have gone through one of two threads already about getting Mysql and PHP to work etc.,

I can get into the db fine from command line but now through webservices, my problem seems to be that php.ini does know/like the mysql install.

if I try and invoke $con = mysql_connect("localhost","xxxx","yyyy")

I get the same failure message:

<b>Fatal error</b>. Call to underfined funtion mysql_connect() in ......

I have copied the libmysql.dll into /php which is path'd up correctly (as is the mysql/bin directory).

I have edited the php.ini (in /windows) and uncommented out support for mysql and restarted the PC (rebooted actually!)

I can run mysql -u xxxx -p from anywhere and be presented with a password, after which I get into the mysql shell

Oh phpinfo() cannt see anything except that mysql is in the systempath

any ideas?
_________________
Red Alert Sir? You know that would mean changing the lightbulb! (RedDwarf)
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Tue Feb 07, 2006 6:03 pm    Post subject: Reply with quote

Download the preconfigured php5 package below:

http://files.abyssunderground.co.uk/php5.exe


PS: Your red dwarf quote, its slightly wrong (im a RD fan myself :-) ) it should be: "Sir, are absolutely sure? It does mean changing the bulb" *audience laughs*

just thought Id correct you :-)
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
darrenfinch
-


Joined: 19 Jan 2006
Posts: 6

PostPosted: Wed Feb 08, 2006 10:30 am    Post subject: Help Mysql 5 , Php 5 and Abyss 2 Reply with quote

Your a star!

Many thanks, just had to repoint the web server for the php-cgi path and restarted - works a treat!

and thanks for the RD correction - just shows how much you rely on the old grey matter (would recommend a few beers, followed by back to back D this weekend - not forgetting the Vindaloo though!)

Many thanks again
_________________
Red Alert Sir? You know that would mean changing the lightbulb! (RedDwarf)
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group