Halaman

Kamis, 12 Juni 2014

Gak bisa upload theme wp, plugin dan library ke ISPconfig

Mas bro ane nyoba WP di server lokal dia gak bisa upload theme wp, plugin dan library gugling dapet jawaban ini.. (http://www.howtoforge.com/forums/showthread.php?t=43100)
1. Switch php mode of this site to php-fcgi or php-cgi and enable suexec
ada lagi yg gini ..(http://www.evilbox.ro/linux/remove-ispconfig-maximum-upload-size-of-2m-for-wordpress/)

To solve this you need to edit the php.ini file located in /etc/php5/cgi/php.ini instead of the classic /etc/php5/apache2/php.ini.
Edit the lines below and change 2M to 50M:
1
2
3
4
5
6
7
; Maximum allowed size for uploaded files.
upload_max_filesize = 50M
...
; Maximum size of POST data that PHP will accept.
post_max_size = 50M
Restart Apache2, then relogin to WordPress.
kalo pake PHP-FPM baca disini http://www.evilbox.ro/linux/ispconfig-internal-server-error-500/

akhirnya bisa euy..

Tentang mode PHP di ISPConfig

Copy paste aja dah ya...Sumber : http://www.howtoforge.com/forums/showthread.php?t=33167
The php option depends on traffic that you expect for the site and if the site e.g. uploads or creates images or files on the server.

mod_php:

- fast
- runs not under admin user of the site
- well suited for low and high traffic sites, but not for cms systems like joomla.

suphp:

- not so fast
- script runs under web admin
- secure
- well suited for low traffic sites

fastcgi

- fast
- script runs under web admin
- secure
- well suited for high traffic sites

so basicalley the decision is, if a site is low traffic, use suphp. suphp spawns a new cgi process for every page request, but it does not use resources when no pages are requested. On the opposite fastcgi, the php processes are running permanently even if no page is requested, this is faster and fine for a high traffic site but for a small homepage with 100 pageviews per hour you would waste resources.

Rabu, 04 Juni 2014

kalo lupa password webmin

aduh masbro mang admin lupa password webmin heheh…

pake putty cukup begini :

/usr/share/webmin/changepass.pl /etc/webmin root eFNULfDeNYKsd8Yf

beres!