Skip to content

Instantly share code, notes, and snippets.

View pengmaradi's full-sized avatar

Xiaoling pengmaradi

View GitHub Profile
@pengmaradi
pengmaradi / typo3-extbase-ajax.md
Created April 23, 2016 19:41
TYPO3 extbase use eID

TYPO3 Extbase Ajax

ext_localconf.php

<?php
if (!defined('TYPO3_MODE')) {
	die('Access denied.');
}
@pengmaradi
pengmaradi / chmod.md
Last active December 9, 2016 20:20
Do secure chmod.

change the folder or file permission

chgrp -R apache fileadmin typo3conf typo3temp uploads 
chmod -R g+rwX,o-w fileadmin typo3temp typo3conf uploads

su
chown -R root:apache typo3_src
chmod -R 755 typo3_src
chgrp -R www typo3_src

mysql

mysql create database with utf-8

mysql> CREATE DATABASE `mydb` CHARACTER SET utf8 COLLATE utf8_general_ci;

mysql dump and import