PHP 5 is the newest iteration of the scripting language PHP—it breaks backwards compatability with PHP 4, however it offers far more in the way of object oriented programming and other features such as XML support.
http://www.adamsinfo.com/php-mysql-apache2-install-howto-on-debian/
Setting up a PHP/MySQL/Apache2 environment on Debian is really easy. I’ll walk through a quick setup and optimization process. I’ve optimized it for a 1.5Gb to 2GB RAM machine with reasonable load. apt-get install apache2 php5 mysql-server-5.0 mysql-client-5.0 libapache2-mod-php5 php5-mysql php5-curl php5-cli php5-dev make gcc libc6-dev automake
mysqladmin password ‘NEWPASSWORD’
Now download eaccelerator from http://eaccelerator.net tar -xjf eaccelerator.tar.bz2 phpize ./configure make sudo make install
Edit /etc/php5/apache2/php.ini and add the following at the bottom: extension=”eaccelerator.so” eaccelerator.shm_size=”64″ eaccelerator.cache_dir=”/tmp/eaccellerator” eaccelerator.enable=”1″ eaccelerator.optimizer=”1″ eaccelerator.check_mtime=”1″ eaccelerator.debug=”0″ eaccelerator.filter=”” eaccelerator.shm_max=”0″ eaccelerator.shm_ttl=”0″ eaccelerator.shm_prune_period=”0″ eaccelerator.shm_only=”0″ eaccelerator.compress=”1″ eaccelerator.compress_level=”9″
Edit /etc/mysql/my.cnf #Restart services: /etc/init.d/apache2 restart /etc/init.d/mysql restart
LAMP
apache2
developer
optimization
php5
MySQL
PHP
Debian
Development
programmer
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 of the omnipresent Apache web server. This version - a total rewrite - introduces many new improvements, such as threading, a new API, IPv6 support, request/response filtering, and more.
(...)
Read the rest of How to Install Apache2 webserver with PHP,CGI and Perl Support in Ubuntu Server (504 words)
© admin for Ubuntu Geek, 2008. |
Permalink |
One comment |
Add to
del.icio.us
digg
Who's linking ?
Technorati
BlogPulse
Google
Want more on these topics ? Browse the archive of posts filed under Server.
Ubuntu: Ubuntu Geek - Ubuntu Tutorials,Howto's,Tips and Tricks