Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Installing Extensions ( php5.02 )
Hello !...

I am sure this is a common question: I am trying to install extensions (
MySql support ), for php5 - and cant seem to get them loaded / running.

Here is what I've done so far:

1) ran the installer ( php-5.0.2-installerFull.exe ), ( tested php - which
works )
2) downloaded the php-5.0.2-Win32.zip file with extensions and copied that
over to the php folder...
3) set extension_dir = "C:\Program Files\PHP\ext" in "c:\windows\php.ini"

at this point ( when i restart IIS ), none of the extensions load... so I
though I should enable them by uncommenting

extension=php_mssql.dll
extension=php_msql.dll
extension=php_mysql.dll

when restarting IIS I get error messages for each extension:

PHP Startup: Unable to load dynamic library "c:\program
files\PHP\ext\php_mysql.dll" ... ( and so on for the others )...

The strange thing is that is seems to load the extensions anyway as I can
successfully connect to mysql

$link = mysql_connect("localhost", "user", "pass")
or die("Could not connect: " . mysql_error());
print ("Connected successfully");
mysql_close($link);

... any ideas whats going on here?
 


Cheers


karim



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.778 / Virus Database: 525 - Release Date: 15/10/2004



Report this thread to moderator Post Follow-up to this message
Old Post
Karim Beyrouti
10-17-04 01:57 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Installation archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:54 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.