Instalasi PHPMotion

From OnnoCenterWiki
Jump to: navigation, search

Instalasi software pendukung

Download source code

http://phpmotion.com
http://phpmotion.com/content/view/1/180/
http://phpmotion.com/forum/index.php/topic,11485.0.html

copy source code

cp phpmotion.zip /var/www/
cd /var/www/
unzip phpmotion.zip 
chown -Rf www-data.www-data /var/www/phpmotion
chmod -Rf 744 /var/www/phpmotion
chmod -Rf 755 /var/www/phpmotion/cgi-bin

Siapkan database untuk PHPmotion

# mysql -u root -p
Enter password:
create database phpmotion;
grant ALL on root.* to phpmotion@localhost;
grant ALL on phpmotion.* to phpmotion@localhost identified by 'phpmotion';
grant ALL on phpmotion.* to phpmotion identified by 'phpmotion';
exit

Set php.ini (keamanan menjadi terbuka disini)

vi /etc/php5/apache2/php.ini
open_basedir = <kosong>
upload_max_filesize = 100M
post_max_size = 100M
max_execution_time = 1500
session.gc_maxlifetime = 14000
safe_mode = off
Thread saftery = disabled
enable_dl = On 

Akses [[Web] melalui alamat

http://localhost/phpmotion/setup

Pranala Menarik