1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP extentions

Discussion in 'Server Configuration and Hosting' started by epic_ninj4, May 11, 2015.

  1. epic_ninj4

    epic_ninj4 Member

    Hey guys, how do i change install the php extensions required on a linux centos system?
    • PHP extensions: MySQLi, GD (with JPEG support), PCRE, SPL, SimpleXML, DOM, JSON, iconv, ctype
     
  2. Slavik

    Slavik XenForo Moderator Staff Member

    Upload the test script to see if they are already installed (99% of hosts will have them pre-installed for you)
     
  3. epic_ninj4

    epic_ninj4 Member

    what are the commands to install them, i think that would be easier. Also how do i use the test script, bit of a noob.
     
  4. epic_ninj4

    epic_ninj4 Member

    I also had this error when trying to import my old database.

    Code:
    Error
    SQL query:
    
    --
    -- Database: `shady_Xenforo`
    --
    -- --------------------------------------------------------
    --
    -- Table structure for table `EWRporta_blocks`
    --
    CREATE TABLE IF NOT EXISTS `EWRporta_blocks` (
    
    `block_id` VARCHAR( 25 ) NOT NULL ,
    `title` VARCHAR( 75 ) NOT NULL ,
    `version_string` VARCHAR( 30 ) NOT NULL ,
    `version_id` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0',
    `url` VARCHAR( 100 ) NOT NULL ,
    `install_callback_class` VARCHAR( 75 ) NOT NULL ,
    `install_callback_method` VARCHAR( 75 ) NOT NULL ,
    `uninstall_callback_class` VARCHAR( 75 ) NOT NULL ,
    `uninstall_callback_method` VARCHAR( 75 ) NOT NULL ,
    `cache` VARCHAR( 255 ) NOT NULL DEFAULT '+10 minutes',
    `display` ENUM( 'show', 'hide' ) NOT NULL ,
    `groups` VARCHAR( 255 ) NOT NULL ,
    `locked` TINYINT( 3 ) UNSIGNED NOT NULL DEFAULT '0',
    `active` TINYINT( 3 ) UNSIGNED NOT NULL DEFAULT '1'
    ) ENGINE = INNODB DEFAULT CHARSET = utf8;
    
    
    
    MySQL said: Documentation
    
    #1046 - No database selected 
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    You need to select the database first.
     
  6. epic_ninj4

    epic_ninj4 Member

    how? i just used the export and import functions on phpmyadmin...
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    Select the database in the left sidebar first.
     
  8. epic_ninj4

    epic_ninj4 Member

    it still doesnt work it just says 'No activity within 1800 seconds; please log in again' at the end and didnt import anything.
     

Share This Page