You need to enable the Mysql extension in your php.ini file. First, make sure the c:\php\ext\php_mysql.dll file exists. If it doesn't go to php.net/downloads and download the Windows binary zip file. It's in there.

Next, open up your php.ini file (probably at c:\windows\php.ini or c:\php\php.ini) and find this line:

;extension=php_mysql.dll                         [note the semicolon at the beginning of the line]

which will be about halfway down through the (default) file. Delete the semicolon at the beginning of the line. Finally, save and close this file, and restart the web server. After that, your MySQL scripts should start working, or at least connecting, and your phpinfo() page should display a new section detailing your MySQL configuration.

Good luck and post back with any other problems.
-Nick

----- Original Message ----
From: Ian R-P <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, May 3, 2006 9:54:33 PM
Subject: Re: [php-list] Having a problem with coding from a book

   Ok well i found out my problem with:

<?php
php_info()
?>

that there isn't supposed to be a _ between php and info, so i got the
results, saved the page and it's located here:
*http://home.cogeco.ca/~iarp/phpinfo.htm
*hope that helps some.**


--
Thanks
Ian R-P
Patience is a virtue.


[Non-text portions of this message have been removed]

    

  Community email addresses:
   Post message: [email protected]
   Subscribe:    [EMAIL PROTECTED]
   Unsubscribe:  [EMAIL PROTECTED]
   List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
   http://groups.yahoo.com/group/php-list

             

        SPONSORED LINKS  
                                                    Php mysql                                       Job postings                                                 
         YAHOO! GROUPS LINKS

     Visit your group "php-list" on the web.
     To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
     Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
    

    



[Non-text portions of this message have been removed]



Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list




SPONSORED LINKS
Php mysql Job postings


YAHOO! GROUPS LINKS




Reply via email to