Language Selection

English French German Italian Portuguese Spanish

LAMP vs. LAMP Rematch

Filed under
Software

Two very popular and widely used languages for building dynamic web sites are Perl and PHP. They make up two thirds of the "P" in the Linux Apache, MySQL, Perl/PHP/Python (LAMP) stack. How does their performance, using mod_perl and mod_php, compare for everyday web programming? I attempted to find out.

New in the rematch

In the rematch, I updated the Perl HTML code based on suggestions from comments to the orignal article. It should create a more accurate comparison with PHP. Though the main goal is to compare the performance of mod_perl and mod_php, I added a TCL CGI program to compare against Perl CGI. Finally, the hardware used for testing was significantly faster.

The machine

My new test bed was a DELL PowerEdge 2850 server with the following specifications and software:

3.2 Ghz Intel Xeon
4G RAM
Red Hat Enterprise Linux 3
Apache 2.0.46
MySQL 3.23.58
Perl 5.8.0
PHP 4.3.2
TCL 8.3.5

This system is a monster compared to the 700 Mhz server from the original test. I expected the results to reflect it.

The method

Full Story.

More in Tux Machines

Cinnamon Developers Working to Improve Loading Times for the Desktop

The Linux Mint developers are also working on the Cinammon desktop environment, so the distribution is not their entire focus. They are now trying to make it load faster and they say they already had some success. Read more

Plasma 5 with KDE Telepathy 0.9

While every effort in KDE Telepathy went to the Qt5/KDE Frameworks 5 porting and KAccounts migration, there are still distros/users that have KDE Telepathy 0.9 (the kde4 one) running in Plasma 5 session. All the applications of KDE Telepathy work just fine, the only problem are the Plasma applets, those are totally incompatible. So for those cases I've created a small Plasma 5 applet which works with KDE Telepathy 0.9. It can bring your accounts online or offline or open the contact list and accounts settings, just as you're used to and the only dependency is TelepathyQt5. However because of changes in Plasma 5 stuff, it's not perfect. Read more

Debian Won't Replace Ubuntu as the Base for Linux Mint, Says Project Leader

Linux Mint is based on Ubuntu, but its makers are also working on a Debian-based one. The leader of the project has confirmed that they have no intention to replace one with the other unless the Debian edition becomes immensely popular. Read more

Ubuntu Touch to Receive New OTA Update with Battery Improvements

A new update for the RTM branch of Ubuntu Touch is in the works, and the developers are making the final adjustments. Users should see improvements in battery life, among other changes. Read more