The PHP/mySQL issue

    Date: 06/07/05 (PHP Development)    Keywords: php, mysql, sql, apache

    Here's what I have
    Apache 1.3.33
    PHP 5.0.4
    MySQL 4.1.12a
    Operating System: Windows 98

    The error that I got when I tried using mysql_connect() on a php page:

    Fatal error: Call to undefined function mysql_connect()

    Things that I have done so far:
    Apache, mySQL, and PHP are in directories on the C drive, named accordingly

    in php.ini, this is what I changed (change in italics)
    doc_root = "C:\Apache\htdocs"
    extension_dir "C:\php\ext"

    Removed the ";" in front of extension = php_mysql.dll (Is there supposed to be quotation marks on this line?)

    Saved a copy of php.ini (after these changes) in the C:\Windows directory
    Saved copies of c:\php\libmysql.dll & c:\php\ext\php_mysql.dll to the C:\Windows directory


    --------------
    What else am I missing?

    Source: http://www.livejournal.com/community/php_dev/58220.html

« Photo Manipulation || clickable url's & emails »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home