How to Install Apache2 webserver with PHP,CGI and Perl Support in Ubuntu Server

Posted by suvi under Apache, PHP, Server, Webserver

The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems including UNIX and Windows NT. The goal of this project is to provide a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards.Apache v2 is the next generation [...]

No Comments

Integrating APC (Alternative PHP Cache) Into PHP5 And Lighttpd (Fedora 9)

Posted by suvi under Fedora, PHP

This guide explains how to integrate APC
(Alternative PHP Cache) into PHP5 and lighttpd on a Fedora 9 system.
APC is a free and open PHP opcode cacher for caching and optimizing PHP
intermediate code. It’s similar to other PHP opcode cachers, such as eAccelerator and XCache.
Read more at HowtoForge

No Comments

Integrating eAccelerator Into PHP5 And Lighttpd (Fedora 9)

Posted by suvi under Fedora, PHP, Webserver

This guide explains how to integrate eAccelerator into PHP5 and lighttpd on a Fedora 9 system. From the eAccelerator project page: “eAccelerator
is a free open-source PHP accelerator, optimizer, and dynamic content
cache. It increases the performance of PHP scripts by caching them in
their compiled state, so that the overhead of compiling is almost
completely eliminated. It also [...]

No Comments

Installing memcached And The PHP5 memcache Module On Debian Etch (Apache2)

Posted by suvi under Apache, Debian, PHP

This guide explains how to install memcached
and the PHP5 memcache module on a Debian Etch system with Apache2.
memcached is a daemon that can store objects in the system’s memory
(e.g. results of database queries) which can speed up your web site
tremendously. You can use memcached over a network (i.e., install your
web application on one server and [...]

No Comments

Integrating eAccelerator Into PHP5 And Lighttpd (Debian Etch)

Posted by suvi under Debian, PHP, Webserver

This guide explains how to integrate eAccelerator into PHP5 and lighttpd on a Debian Etch system. From the eAccelerator project page: “eAccelerator
is a free open-source PHP accelerator, optimizer, and dynamic content
cache. It increases the performance of PHP scripts by caching them in
their compiled state, so that the overhead of compiling is almost
completely eliminated. It also [...]

No Comments

Displaying RSS And Atom Feeds On Your Web Site With SimplePie

Posted by suvi under PHP

SimplePie is a
PHP library that can fetch, cache, parse, and normalize RSS and Atom
feeds. It allows you to display the newest articles from websites with
RSS or Atom feeds on your own site. This is a great way to add new,
fresh, and relevant information to your site. This guide shows how you
can set it up for [...]

No Comments

VNStat On FreeBSD 7 With A PHP GUI

Posted by suvi under BSD, PHP, Software

I installed VNStat and the PHP GUI to be able to view basic information regarding incoming and outgoing traffic per interface. I am using FreeBSD 7 with PHP4, as I had problems setting the GUI up with PHP5. If you can get it to work in PHP5, please do let me know.
To install PHP4, type [...]

No Comments

Installing The PHP WebDAV Extension On Debian Etch

Posted by suvi under PHP

This article shows how you can install the PHP WebDAV extension for PHP5 on a Debian Etch system. The PHP WebDAV extension allows easy access to remote resources through the DAV protocol from PHP scripts.
I do not issue any guarantee that this will work for you!
1 Preliminary Note
I’m using a Debian Etch server here. I’m [...]

No Comments

Add a Google map to your PHP site

Posted by suvi under Google, PHP

With the GoogleMapAPI project, you can easily add a Google Map to your PHP Web site.
GoogleMapAPI is not packaged for Ubuntu, Fedora or openSUSE. For this article I’ll use a 64-bit Fedora 9 machine with version 2.5 of GoogleMapAPI. The commands shown below install the main PHP file in a site-accessible directory, with the remainder [...]

No Comments

Setting up LAMP on FreeBSD

Posted by suvi under Apache, BSD, Database, MySQL, PHP, Server, Webserver

Setting up a LAMP server is a common task for systems administrators, and FreeBSD is one of the most reliable and stable operating systems available. Why not combine both LAMP and FreeBSD to build a fast and reliable Web server?

Read more at Linux.com

No Comments

Set Up Eclipse PDT 2.0 On Eclipse 3.4 (Ganymede)

Posted by suvi under PHP

This is a howto about setting up a proffessional PHP IDE using Eclipse by hand. I’ll be using Eclipse PDT
for PHP support. The PDT project provides a PHP Development Tools
framework for the Eclipse platform. This project encompasses all
development components necessary to develop PHP and facilitate
extensibility. It leverages the existing Web Tools Project in providing
developers with [...]

No Comments

Howto: build and install the intl PECL extension for PHP5 in Debian

Posted by suvi under Debian, PHP, Programming

For the past few days I have been looking for a proper i18n (internationalisation) and l10n (localisation) method for PHP. PHP has quite a few locale aware functions such as strftime and sprintf. In combination with gettext this can work quite well. The major downside is that you need to install all the locales that [...]

No Comments

Debugging PHP Applications with Xdebug and Eclipse PDT

Posted by suvi under PHP, Programming

OK, so I have x64 Eclipse successfully installed and running with all the plugins I use for Web Application Development. But what about debugging? Sure, var_dump(), echo, print and so on are all valuable to me when debugging a script, but it’s always good to have more information.
Xdebug is a fantastic PHP extension, which is [...]

No Comments

Intrusion Detection For PHP Applications With PHPIDS

Posted by suvi under PHP, Security

This tutorial explains how to set up PHPIDS
on a web server with Apache2 and PHP5. PHPIDS (PHP-Intrusion Detection
System) is a simple to use, well structured, fast and state-of-the-art
security layer for your PHP based web application. The IDS neither
strips, sanitizes nor filters any malicious input, it simply recognizes
when an attacker tries to break your site and [...]

No Comments

Ubuntu 8.04 (Hardy Heron) LAMP Server Setup

Posted by suvi under Apache, PHP, Server, Ubuntu, Webserver

In around 15 minutes, the time it takes to install Ubuntu Server Edition, you can have a LAMP (Linux, Apache, MySQL and PHP) server up and ready to go. This feature, exclusive to Ubuntu Server Edition, is available at the time of installation.
Read more at Ubuntu Geek

No Comments