PHP5/Apache2/MySQL - Undefined Function mysql_connect

    Date: 02/02/06 (PHP Community)    Keywords: php, mysql, sql, apache

    Hi,

    I'm trying to set up WAMP. I've got Apache and MySQL running. PHP installed into Apache.

    PHPInfo() renders correctly, but there are no MySQL modules installed.

    Apache's httpd.conf contains:


    LoadModule php5_module /development/php/php5apache2.dll
    addtype application/x-httpd-php .php .php4 .php5 .php3 .htm .inc
    addtype application/x-httpd-php-source .phps
    PHPIniDir "/development/php/php.ini"


    Php.ini contains:


    extension_dir = "./ext"
    extension=php_mysql.dll


    It's on windows, but on a USB key, so I'm using relative paths (/development is in the root of the USB drive and appears to correctly point to the right location whenever the usb key is mounted in any machine)

    Any suggestions?

    Source: http://community.livejournal.com/php/406456.html

« First time here || Accurint/LexisNexis »


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