Difference between revisions of "Instalasi PHPMotion"

From OnnoWiki
Jump to navigation Jump to search
(New page: Download source code http://phpmotion.com http://phpmotion.com/content/view/1/180/ Set php.ini - open_basedir = (no value) - upload_max_filesize = 100M - pos...)
 
Line 5: Line 5:
  
  
 +
copy [[source code]]
  
 +
cp PHP5.zip /var/www/
 +
cd /var/www/
 +
unzip PHP5.zip
 +
mv /var/www/PHP5/PHPmotion /var/www/
 +
rm -Rf /var/www/PHP5
 +
 +
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 wordpress@localhost identified by 'phpmotion';
 +
grant ALL on phpmotion.* to wordpress identified by 'phpmotion';
 +
exit
  
 
Set php.ini
 
Set php.ini
  
      - open_basedir = (no value)
+
vi /etc/php5/apache2/php.ini
      - upload_max_filesize = 100M
+
 
      - post_max_size = 100M
+
open_basedir = (no value)
      - max_execution_time = 1500
+
upload_max_filesize = 100M
      - session.gc_maxlifetime = 14000
+
post_max_size = 100M
      - safe_mode = off
+
max_execution_time = 1500
      - Thread saftery = disabled
+
session.gc_maxlifetime = 14000
      - enable_dl = On  
+
safe_mode = off
 +
Thread saftery = disabled
 +
enable_dl = On  
  
  

Revision as of 07:35, 21 November 2009

Download source code

http://phpmotion.com
http://phpmotion.com/content/view/1/180/


copy source code

cp PHP5.zip /var/www/
cd /var/www/
unzip PHP5.zip 
mv /var/www/PHP5/PHPmotion /var/www/
rm -Rf /var/www/PHP5

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 wordpress@localhost identified by 'phpmotion';
grant ALL on phpmotion.* to wordpress identified by 'phpmotion';
exit

Set php.ini

vi /etc/php5/apache2/php.ini
open_basedir = (no value)
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 



Pranala Menarik