Support » Installing WordPress » missing MySQL?

  • I cannot install wordpress 1.5. The error message is “Your PHP installation appears to be missing the MySQL which is required for WordPress.”

    I am using a friend’s server. It is using:

    php v. 5.0.3
    apache 1.3.33 with mod_rewrite
    mysql 4.0.22

    php works and mysql works. Is there anyway to tell if they work together?

    The config file is copied below, with the variable values changed.

    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wordpress’); // The name of the database
    define(‘DB_USER’, ‘foo’-user’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘foo-password’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    // Change the prefix if you want to have multiple blogs in a single database.
    $table_prefix = ‘wp_’; // example: ‘wp_’ or ‘b2’ or ‘mylogin_’

    // Change this to localize WordPress. A corresponding MO file for the
    // chosen language must be installed to wp-includes/languages.
    // For example, install to wp-includes/languages and set WPLANG to ‘de’
    // to enable German language support.
    define (‘WPLANG’, ”);

    /* Stop editing */

    define(‘ABSPATH’, dirname(__FILE__).’/’);

Viewing 3 replies - 1 through 3 (of 3 total)
  • Your friend most likely needs to install the php extensions (/usr/ports/lang/php5-extensions from the FreeBSD ports collection. Make sure MySQL support is among the options enabled, which I believe it is by default. There may or may not also have to be some hcanges made in the web server’s config file (httpd.conf). Due to that, it would almost be easier to uninstall php as it exists right now and install mod_php5, which will make those changes for you automatically, but in either case, the php extensions will still have to be installed, I’m pretty sure.

    Also for me I can not use local host I must put in path like

    Well, I used phpinfo() and mod_php5 seems to be installed on the apache server. From the documentation on the php site, mysql support is not automatically enabled for php5. I have also tried with domainname = serverdomainname.

    Right now, I’m talking to my friend about the php configuration.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘missing MySQL?’ is closed to new replies.