Pencarian

Rss Posts

 

 

 

Berita pada kategori ‘Aplikasi’

Summer of WordPress 2010: Act I

Mar 21, 2010

Scene: A college classroom
Professor: Is anyone here applying for Google Summer of Code this year? If so, see me after class to discuss getting independent study credit toward your degree.
Jack, a student: Isn’t that a really hard program to get into? Like, hard like getting to level 70 in Modern Warfare 2?
Sophie, a student: I [...]

Latest Open-Xchange Groupware Offers Integrated VoIP

Mar 16, 2010

p class=MsoBodyText style=text-align: center; margin: 0in 0in 0pt; align=centernbsp;/pbr/p class=MsoBodyText style=text-align: center; margin: 0in 0in 0pt; align=centerUser interface, calendar also enhanced in open source Exchange alternative/pbr/p class=MsoBodyText style=text-align: center; margin: 0in 0in 0pt; align=centernbsp;/pbr/p class=MsoBodyText style=margin: 0in 0in 0pt;NUREMBERG, Germany, March 16, 2010 ndash; Open-Xchange, a provider of business-class Read More…

Running Apache with a dozen PHP versions – Christian Weiske

Mar 12, 2010

After showing you how to set up
multiple PHP versions on a single
machine
, it’s time to explain how to stuff all those compiled
php-cgi executables into a single Apache web server instance.

Idea

  • Instead of using mod_php, mod_fastcgi is going
    to be utilized.
  • Every single PHP version runs its own CGI server
  • Configuration of used PHP version is made per virtual host.

Installation of FastCGI

Debian

The Debian setup is painless:

aptitude install libapache2-mod-fastcgi apache2-mpm-worker apache2-suexec
a2enmod actions fastcgi suexec

CentOS

The open source version of Redhat’s operating system does not provide
the fastcgi module for Apache, which is why one needs to install it
by hand. It’s trivial.

Assuming phpfarm is installed in /root/phpfarm,
you need to chmod +x /root. Last but not least is
setting up permissions for the fastcgi state files:
chmod +x /var/log/httpd.

FastCGI setup

After mod_fastcgi is available, we need to prepare the FastCGI
servers. Open /etc/{apache2,httpd}/{apache2,httpd}.conf
and make it load conf/php-cgisetup.conf before including
server.conf. Put the following
lines into conf/php-cgisetup.conf:

#php-cgi setup
#used for multiple php versions
FastCgiServer /var/www/cgi-bin/php-cgi-5.2.12
FastCgiServer /var/www/cgi-bin/php-cgi-5.3.0
FastCgiServer /var/www/cgi-bin/php-cgi-5.3.1
ScriptAlias /cgi-bin-php/ /var/www/cgi-bin/

PHP-CGI setup

For each single php version you installed with
phpfarm,
you need to create a file
/var/www/cgi-bin/php-cgi-$version and make
it executable. Example for php-cgi-5.3.2:

#!/bin/sh
PHPRC="/etc/php5/cgi/5.3.2/"
export PHPRC

PHP_FCGI_CHILDREN=3
export PHP_FCGI_CHILDREN

PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_MAX_REQUESTS

exec /root/phpfarm/inst/bin/php-cgi-5.3.2

Activating a PHP version in a virtual host

If you followed all of the previous steps, everything is
setup now and ready to be used. In your
/etc/{apache2,httpd}/conf/server.conf, put the following
code in each section that you
like to switch to a certain version of PHP:

  
    AddHandler php-cgi .php
    Action php-cgi /cgi-bin-php/php-cgi-5.3.2
  

Conclusion

With the simple steps listed above and the help of phpfarm,
you are able to test your web applications in a dozens or more
PHP versions easily.

As as side note: The CGI versions of PHP are only used on the vhosts
that you determine. All others are still served by mod_php
that was probably setup before, making it trivially easy to keep your
server’s main web sites up-to date with your distribution’s
package manager.

Filsh.net video clip converter….

Mar 12, 2010

pFilsh.net is a video clip converter. It works with all OS’s. I believe it’s an add on to Firefox.nbsp; A friend in Germany sent it to me.nbsp; (www.filsh.net).nbsp; I haven’t tried it. But for those who are into doing video clips with You tube, etc.nbsp; it’s worth a try. It has a lot of good reviews. Seems easy to download, and use.nbsp;/p

Catatan Proses Restore Mailbox Zimbra

Mar 11, 2010

Beberapa waktu yang lalu, Dudi Gurnadi-sosok yang saya hormati karena kecerdasan dan apresiasinya, meski saya belum pernah bertemu muka-membuatkan sebuah script sederhana untuk backup Zimbra mailbox secara live. Script ini sangat bermanfaat untuk melakukan proses backup mailbox Zimbra tanpa harus melakukan stop dan start service Zimbra.
Pada artikelnya disampaikan bahwa proses restore bisa dilakukan melalui menu [...]

Manajemen Paket dengan YUM

Mar 11, 2010

Mendengar kata YUM mungkin sedikit asing bagi pengguna Linux Debian Base, seperti ubuntu dan semua turunannya. YUM (Yellowdog Updater Modifier) adalah paket manajemen open source berbasis command line yang menghandle file-file RPM, biasanya secara default terinstall pada distro-distro redhat base, seperti CentOS, Fedora dan kawan-kawannya :D .

Penggunaan yum sebenarnya tidak jauh berbeda dengan apt-get pada sistem debian base berikut contoh-contoh command dalam penggunaan yum.

read more

Willy Sudiarto Raharjo: Security Update: Pidgin

Mar 11, 2010

Pidgin is finally upgraded on the last update and this time, it is considered a security fix as it fixed several critical vulnerabilities, as described in the Changelog of Pidgin Project.

Ok guys, grab it while it’s hot Yahoo

Mobile World Congress 2010 – Mark Dennehy

Mar 02, 2010

Two years ago while I was working at dotMobi, I was one of the programmers working on the DeviceAtlas project, which launched at Mobile World Congress 2008. At the time, it was the largest launch I?d been involved in and it was quite a ride towards the end ? when you?re launching to 60,000 people [...]

BuddyPress for One (and All!)

Feb 26, 2010

Back in April of last year, Matt posted here on the dev blog about the release of BuddyPress 1.0, a plugin that adds a social networking layer to an installation of WordPress MU. Many people were excited about the idea, but were unable to experiment with BuddyPress because they ran single installations of WordPress rather [...]

Charlie Anthony: Mencoba Mode Jendela Tunggal pada GIMP

Feb 14, 2010


tanya siapa?

GIMP dengan mode jendela tunggal

Dulu sebelum saya mengenal Ubuntu, saya sering menggunakan aplikasi Paint.NET atau Adobe Photoshop (versi bajakan tentunya ^^) untuk menyunting gambar. Nah, saat saya menggunakan Ubuntu, saya merasa kurang nyaman menggunakan aplikasi penyunting gambar bawaannya, yaitu GIMP. Mengapa? Karena pengaturan jendela di GIMP agak kacau (menurut saya), tidak seperti pada Paint.NET atau Photoshop yang menggunakan gaya single window (jendela tunggal).

Nah, beberapa minggu lalu saya membaca sebuah kabar bahwa GIMP akan mengimplementasikan mode jendela tunggal pada versi 2.8 nanti. Ya, para tim pengembang dan desainer tampilan sedang melakukan diskusi intensif mengenai hal ini. Karena penasaran, akhirnya saya mencoba melakukan instalasi GIMP versi 2.7 beta dari sebuah repositori PPA milik matthaeus123.

gimp-single-2

Setelah instalasi (atau lebih tepatnya upgrade ^^) selesai, saya langsung membuka GIMP. Saya disambut dengan sebuah tampilan splash-screen GIMP baru. Hmm ? tampilannya masih tetap multi-jendela seperti GIMP 2.6. Setelah beberapa saat mencari-cari opsi atau konfigurasi untuk mengatur tampilan, akhirnya saya menemukan opsi untuk mode jendela tunggal pada menu Windows. Saya aktifkan mode tersebut dan ? VOILA! Jendela toolbar langsung merapat ke kiri, sedangkan jendela Layers dan Brushes merapat ke kanan. Gambar-gambar yang saya buka juga tertata dengan sistem tabbed. Wow! Akhirnya saya bisa menikmati mode jendela tunggal pada GIMP!! ^^

Namun seperti rilis beta pada aplikasi lain, GIMP 2.7 ini juga masih memiliki sejumlah bug. Beberapa yang saya rasakan adalah kinerja aplikasi yang sedikit lebih lambat pada mode jendela tunggal, dan pengaturan jendela yang terkadang kacau saat saya menonaktifkan mode jendela tunggal. Bagi anda yang tertarik mencobanya, pastikan anda tahu apa yang anda lakukan karena GIMP 2.7 ini bukan versi stabil. Kalau anda ingin “main aman”, silakan tunggu rilis stabil GIMP 2.8 nanti. ^^

Related Posts: