Skip to content
This repository was archived by the owner on Apr 22, 2019. It is now read-only.

Commit

Permalink
maybe it's possible fix for changed requiring php7? :)
Browse files Browse the repository at this point in the history
  • Loading branch information
MekDrop committed Apr 24, 2016
1 parent 2f3fb8f commit d42bbee
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
7 changes: 7 additions & 0 deletions data/sql/icms.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";

FLUSH PRIVILEGES;
CREATE USER icms@localhost IDENTIFIED BY 'icms';
FLUSH PRIVILEGES;
GRANT ALL PRIVILEGES ON icms.* TO icms@localhost WITH GRANT OPTION;
FLUSH PRIVILEGES;
GRANT ALL PRIVILEGES ON *.* TO icms@localhost WITH GRANT OPTION;
FLUSH PRIVILEGES;

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@

// Database Username
// Your database user account on the host
define( 'SDATA_DB_USER', 'root' );
define( 'SDATA_DB_USER', 'icms' );

// Database Password
// Password for your database user account
define( 'SDATA_DB_PASS', '' );
define( 'SDATA_DB_PASS', 'icms' );

// Database Name
// The name of database on the host. The installer will attempt to create the database if not exist
Expand Down
2 changes: 1 addition & 1 deletion data/web-config/impresscms/htdocs/mainfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

// Database
// Choose the database to be used
define( 'XOOPS_DB_TYPE', 'mysql' );
define( 'XOOPS_DB_TYPE', 'pdo.mysql' );

// Set the database charset if applicable
if (defined('XOOPS_DB_CHARSET')) die();
Expand Down
2 changes: 2 additions & 0 deletions data/web-config/phpmyadmin/config.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
$cfg['Servers'][$i]['auth_type'] = 'config';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['user'] = 'icms';
$cfg['Servers'][$i]['password'] = 'icms';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = true;
Expand Down
4 changes: 2 additions & 2 deletions scripts/dep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ echo "Installing some usefull tools for development..."
apt-get -y install keychain coreutils mc rar unrar zip unzip nano curl lynx git subversion links

echo "Installing MySQL server, client and some tools..."
apt-get -q -y install mysql-server mysql-client mysqltuner memcached
apt-get -q -y install mysql-server mysql-client mysqltuner memcached php7.0-sqlite3 php-memcache

echo "Installing web default dependencies..."
apt-get -q -y install apache2 php php-cli php-gd mysql-client php-mysqlnd php-xdebug php-memcached php-mcrypt php-curl php-json
apt-get -q -y install apache2 libapache2-mod-php php php-cli php-gd mysql-client php-gettext php-mbstring php-mysqlnd php-xdebug php-memcached php-mcrypt php-curl php-json

echo "Installing some extra PHP libs..."
apt-get -q -y install php-codesniffer php-imagick php-pear php-memcache php-sqlite php-mongo
Expand Down

0 comments on commit d42bbee

Please sign in to comment.