Results 1 to 2 of 2
First install apache 2:
#apt-get install apache2
Install php support:
#apt-get install libapache2-mod-php4 php4-cli php4-common php4-cgi
Add following in apache2.conf:
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php
DirectoryIndex index.html index.cgi index.pl ...
- 02-06-2006 #1Just Joined!
- Join Date
- Feb 2006
- Posts
- 2
LAMP: Is this right?
First install apache 2:
#apt-get install apache2
Install php support:
#apt-get install libapache2-mod-php4 php4-cli php4-common php4-cgi
Add following in apache2.conf:
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php
DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.shtml
/etc/init.d/apache2 restart
Create phpinfo.php, containing the following code, and place under Apache's webroot directory...
<?php phpinfo(); ?>
Test:
http://youripaddress/phpinfo.php
Mysql:
#apt-get install mysql-server-4.1 mysql-client-4.1
mysqladmin -u root password 'passwordyouwant'
/etc/init.d/mysql start
Will it work, is it right?
- 02-15-2006 #2Just Joined!
- Join Date
- Nov 2005
- Posts
- 59
lamp tutorial
try to follow this tutorials very good one
LAMP Installation in Debian


Reply With Quote
