Difference between revisions of "Instalasi PHPMotion"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (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...) |
Onnowpurbo (talk | contribs) |
||
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 | ||
− | + | 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 | ||
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