Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2006
    Posts
    2
    Plugin Contributions
    0

    Default MySQL and PHP inconsistency Install problem

    Hi,

    Just getting started on a new installation of Zen Cart. I am using a new install of Fedora Core 5, with MySQL 5.0.22 and PHP5. The precheck before installation shows the follow error:

    MySQL Support is Off.
    The database type you have selected does not appear to be supported by the PHP version you have installed. You may need to check with your hosting provider to check that the database type you have selected is supported. If this is your own server, then please ensure that support for the database type has been compiled into PHP, and that the necessary extensions/modules/dll files are being loaded (esp check php.ini for extension=mysql.so, etc).

    I'm not sure where to look to solve this. Any help would be apprciated.

    I have already created a MySQL database, and restored some previous values to it. I can use the mysql admin function to see the database, and the values, so I believe mysql is up and running.

  2. #2
    Join Date
    Jul 2006
    Location
    Johannesburg
    Posts
    447
    Plugin Contributions
    1

    Default Re: MySQL and PHP inconsistency Install problem

    This must me switched on in your PHP.ini file. The entry can be found in EXTENSIONS section. Just remove the semi-colon in front of MYSQL (See Below)

    PHP Code:
    Windows Extensions
    Note that ODBC support is built inso no dll is needed for it.
    Note that many DLL files are located in the extensions/ (PHP 4ext/ (PHP 5)
    extension folders as well as the separate PECL DLL download (PHP 5).
    Be sure to appropriately set the extension_dir directive.

    ;
    extension=php_mbstring.dll
    ;extension=php_bz2.dll
    ;extension=php_curl.dll
    ;extension=php_dba.dll
    ;extension=php_dbase.dll
    ;extension=php_exif.dll
    ;extension=php_fdf.dll
    ;extension=php_filepro.dll
    ;extension=php_gd2.dll
    ;extension=php_gettext.dll
    ;extension=php_ifx.dll
    ;extension=php_imap.dll
    ;extension=php_interbase.dll
    ;extension=php_ldap.dll
    ;extension=php_mcrypt.dll
    ;extension=php_mhash.dll
    ;extension=php_mime_magic.dll
    ;extension=php_ming.dll
    ;extension=php_mssql.dll
    ;extension=php_msql.dll
    ;extension=php_mysql.dll
    ;extension=php_oci8.dll
    ;extension=php_openssl.dll
    ;extension=php_oracle.dll
    ;extension=php_pgsql.dll
    ;extension=php_shmop.dll
    ;extension=php_snmp.dll
    ;extension=php_sockets.dll
    ;extension=php_sqlite.dll
    ;extension=php_sybase_ct.dll
    ;extension=php_tidy.dll
    ;extension=php_xmlrpc.dll
    ;extension=php_xsl.dll 

  3. #3
    Join Date
    Dec 2005
    Location
    My Own Fluffy Place, Pangea
    Posts
    420
    Plugin Contributions
    0

    Default Re: MySQL and PHP inconsistency Install problem

    in /etc/php.ini there's a couple of settings that define your default mySQL socket location. If you installed PHP and MySQL rpm then you shouldn't have a problem. If you compiled your own, set the appropriate for your mysql5. That will allow PHP to connect to MySQL as the default localhost.

    mysql.default_socket=/location/to/your/mysql.sock
    Yeah! I'm small! I'm Fluffy! *Stick tongue out*

  4. #4
    Join Date
    Sep 2006
    Posts
    2
    Plugin Contributions
    0

    Default Re: MySQL and PHP inconsistency Install problem

    Louis,

    Thanks, that did it. My php.ini file was a little different than your example, but all I did was add an

    extensions=mysql.so

    and that solved the problem. Installed and up and running.

    Thanks again.

  5. #5
    Join Date
    Jul 2006
    Location
    Johannesburg
    Posts
    447
    Plugin Contributions
    1

    Default Re: MySQL and PHP inconsistency Install problem

    Pleasure, always happy to assist where I can.

 

 

Similar Threads

  1. v151 New Install on php 5.4, MySQL 5.1
    By bkrajmalnik in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 6 Nov 2013, 04:29 PM
  2. lay out inconsistency between index.php and alt_nav.php
    By Lucky1968 in forum Customization from the Admin
    Replies: 2
    Last Post: 4 Mar 2011, 09:23 PM
  3. Backup MySQL Plug-in - install problem
    By pixelwrangler in forum All Other Contributions/Addons
    Replies: 19
    Last Post: 4 May 2009, 07:07 PM
  4. Install Error: MySQL Support is turned off in PHP
    By tbruning in forum Installing on a Windows Server
    Replies: 2
    Last Post: 26 Nov 2008, 03:16 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR