MonkeyData OpenCart module requirements

  1. PHP 5.3.0 or higher is required
  2. PDO module for PHP must be installed and enabled
  3. Default timezone must be set

Note: If you have modified any OpenCart core files then please contact us via email support@monkeydata.com before proceeding with the installation.
 

1. PHP 5.3.0 or higher is required (PHP Download)

 

2. PDO module for PHP must be installed and enabled (see the PHP manual for more information)

If you are using cPanel read the cPanel documentation for more information.  
  • Linux users
  • PDO is enabled by default as of php 5.1.0 on most Linux systems. There is documentation to enable PDO for a mysql specific-driver.

    Ubuntu

    As with most Linux systems, PDO support is present in PHP5 in all recent Ubuntu distributions, and certainly in PHP 5.3 which is required for MonkeyData. If you find that PDO support is not enabled, install the following packages:

    sudo apt-get install php5-common php5-mysql

    Before restarting the server, make sure that extension=pdo.so and extension=pdo_mysql.so are being loaded, either in the php.ini file or in their own .ini files inside /etc/php5/conf.d.


  • Windows users
  • For Apache, you will need to make sure php_pdo.dll and php_pdo_mysql.dll exist in the php/ext directory, un-comment or add the appropriate lines in php.ini, and restart the web server.

    Under Windows, it may no longer be required to enable PDO when using newer versions of PHP, namely, PHP version 5.3 and later. This refers to php_pdo.dll. However, you still need to activate php_pdo_mysql.dll for MySQL or for whichever database you're using.

    For IIS, PDO DLLs are not enabled by default. The preferred method for enabling them is to go to the Control Panel | Add/Remove Programs, highlight your PHP installation and click "Change" (Change/Remove - XP). Specify "FastCGI", then modify the installed extensions to include these two, then restart your server.


  • Macintosh users
  • OS X 10.6: OS 10.6 comes with the PDO extension enabled by default.

     

    3. Default timezone must be set (see the PHP manual for more information)


  • Function date_default_timezone_set
  • (PHP 5 >= 5.1.0, PHP 7)

    bool date_default_timezone_set ( string $timezone_identifier )

    date_default_timezone_set() sets the default timezone used by all date/time functions in a script.

    Note:

    Since PHP 5.1.0 (when the date/time functions were rewritten), every call to a date/time function will generate a E_NOTICE if the timezone isn't valid, and/or a E_WARNING message if using the system settings or the TZ environment variable. Instead of using this function to set the default timezone in your script, you can also use the INI setting date.timezone to set the default timezone.


  • Adding a line of code to your php.ini file
  • Open your php.ini file

    Add the following line of code to top of your php.ini file

    date.timezone = "US/Central"

    Replace "US/Central" with the timezone you want to display - List of Supported Timezones.

    Once you have entered the desired timezone, click the Save Changes button to save the file.

    Now, you can check your phpinfo.php page to verify the change took place.