Re: Connection problems - PHP MySQL



Schmalz wrote:
Hi all. Probably not an original posting but I have searched high and low for a satisfactory resolution to this problem. I am using Windows XP, IIS 5.1, PHP 5.1.4 and MySQL 5.0.23 and Dreamweaver 8. When I try to create a database connection I get the "Your PHP server doesn't have the MySQL module loaded or you can't use the mysql_(p)connect functions" error. I have downloaded the latest mysqli and mysql extensions (PHP 5.1.6 and MySQL Server 5.0.24a) and copied these into my C:\PHP\ext directory. I believe I have already made the required changes to the php.ini file however this may not be 100% right. Any further advice and/or assistance would be greatly appreciated.



Did you stop and restart your server?

For the mysql connections, you need the following in your php.ini file:

extension=php_mysql.dll

If you want to use mysqli, you need:

extension=php_mysqli.dll

(you can specify both).

And watch for any errors when you start your server. Check your server log to see if there are any errors, also.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.



Relevant Pages

  • RE: MySQL/PHPMyAdmin on FC3 Connection Problem
    ... // You can disable a server config entry by setting host to ''. ... MySQL server ... MySQL control user settings ... table to describe the display fields ...
    (Fedora)
  • Re: KDE is now broken (Fwd: Heads-up: KDE4 hitting testing tonight (UTC) )
    ... don't want to run an akonadi server either, ... KDE 4.0 was available. ... kmail) and I do not have a mysql server installed. ...
    (Debian-User)
  • Re: Using Access for web application?
    ... Any suggestions as to which newsgroup would be more ... The server that the web app will use in this case, ... > which technology you will decide to use as the Web server (Linux or Windows) ... Instead MySQL is being ...
    (microsoft.public.access.dataaccess.pages)
  • [UNIX] phpMyAdmin PHP Code Injection (left.php)
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... phpMyAdmin is "web-based MySQL ... does not prevent a malicious user from altering the servers configuration ... server configurations to the list of servers configuration by adding ...
    (Securiteam)
  • Re: KDE is now broken (Fwd: Heads-up: KDE4 hitting testing tonight (UTC) )
    ... don't want to run an akonadi server either, ... doesn't ask if I want to use a mysql server on another host. ... Not if the file format was public. ... There seems to be too much windoze thinking entering Debian: ...
    (Debian-User)