Jumat, 06 Januari 2012

instalasi phpmotion di slackware

iseng-iseng instalasi phpmotion di localhost, daripada bengong :D
rencanannya buat share film atau video seru-seruan antar warga se RT ..
karena kebetulan warga di tempat saya, biaya koneksi internetnya "swadaya"
alias "patungan" istilah bekennya "internet RTRW"


Bumbu :

slackware 13.37 (full install)
apache2
mysql 5
php 5.3.6
flvtool2
ffmpeg
mencoder
lame

phpmotion 5.3.x (sesuai dgn versi php )
phpshield loader 5.3 (sesuai dgn versi phpmotion)

mulai ...

- konfigurasi php.ini
# nano /etc/httpd/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
enable_dl = On
extension="ixed.5.3"

- konfigurasi httpd.conf
# nano /etc/httpd/httpd.conf

<VirtualHost *:80>
ServerAdmin ariyasa@yahoo.com
DocumentRoot /var/www/htdocs/phpmotion
ServerName ariyasa
ErrorLog /var/log/httpd/ariyasa-error_log
CustomLog /var/log/httpd/ariyasa-access_log common
<Directory "/var/www/htdocs/phpmotion">
Options Indexes FollowSymLinks
AllowOverride None
</Directory>
ScriptAlias /cgi-bin/ "/srv/httpd/cgi-bin/"
</VirtualHost>

save, lalu restart apache,
# /usr/sbin/apachectl -k restart

- register dan download phpmotion (sesuaikan dgn versi php)
http://phpmotion.com/

- download lalu unzip phpmotion ke root directory webserver
# unzip /home/ariyasa/Downloads/phpmotion.zip -d /var/www/htdocs

- buat mysql database,
# mysql -u root -p
mysql> create database phpmotion;
mysql> exit

- instalasi phpshield loader (include di folder phpmotion V3.5 )

# cp /var/www/htdocs/phpmotion/phpshield/Linux_x86-32/ixed.5.3ts.lin /usr/lib/php/extensions



- saatnya instalasi phpmotion itu sendiri.


buka browser, ketikan http://localhost.
ikuti langkah-langkanya.



pastikan "everything is ok" hehehe...




chmod 777 (kecuali untuk folder "cgi-bin" chmod 755)



beres..


- hapus instalasi folder

# cd /var/www/htdocs/phpmotion

# rm -r setup



SELESAI..., silahkan buka pada browser http://localhost,


= masalah yang saya temukan,setelah instalasi =


1. tidak bisa upload, dengan pesan



"The Requested URL /cgi-bin/uu_upload.pl Cannot be found on this server."

solusi : http://phpmotion.com/forum/index.php?topic=12782.0 ( lihat "frankie" comment)

2. Error - Page not Found (404) << biasanya yang instalasi di sub-directory

solusi : http://wiki.phpmotion.com/PageNotFound

3. Item could not be found or has been deleted

solusi : http://phpmotion.com/forum/index.php?topic=21215.msg111402#msg111402 (lihat "frankie" reply)
4. Common errors and solutions << seputar error PHPShield

http://wiki.phpmotion.com/PHPShield

== "udah ahh" ==


tulisan di atas hanya untuk catatan saya, mohon maaf dan koreksi
bila ada kesalahan ..


semoga, bermanfaat bagi saya dan sobat..

sumber : http://www.phpmotion.com

1 komentar: