Operating System - Linux
1752679 Members
4986 Online
108789 Solutions
New Discussion юеВ

Apache Mysql and PHP installation and config

 
SOLVED
Go to solution
Taulant Shamo
Frequent Advisor

Apache Mysql and PHP installation and config

Hi all,

how can I install and configure the apache web server and MYSQL and PHP. And coud yoy suggest any webpage where to get apache.

Thanks
5 REPLIES 5
Chris Xu
Trusted Contributor
Solution

Re: Apache Mysql and PHP installation and config

Those softwares should come with your Linux distribution. What's your distribution? And, there is a possibility that they are already installed on your Linux box. Use the following command to find out:

rpm -qa | grep -i httpd
rpm -qa | grep -i mysql
rpm -qa | grep -i php

Go to http://www.apache.org to get apache.
Also http://dag.wieers.com/ to get all sorts of packages.

Chris
Taulant Shamo
Frequent Advisor

Re: Apache Mysql and PHP installation and config

Thanks for your help

Taulant

Re: Apache Mysql and PHP installation and config

See a package call XAMPP, it stands for Apache, Mysql, PHP and Perl...
It's setup to install all the above packages on Unix/Linux/Windows...
Use this if you choose 'desktop' during your package install...

See and IBM article http://www-106.ibm.com/developerworks/linux/library/l-xampp/?ca=dgr-lnxw02XAMPP

or download at: http://www.apachefriends.org/en/xampp.html

regards
larry
Jan Sladky
Trusted Contributor

Re: Apache Mysql and PHP installation and config

Hi Taulant,

you can also dowload sources and compile them, don't be afraid of that !;-)

example for apache
./configure --enable-so --prefix=/usr/local/httpd-2.0.43

(prefix means dir where install will be done)

make
make install

example for PHP
./configure --with-mysql --with-oracle=/u01/app/oracle/product/9.2.0/ --with-
apxs2=/usr/local/httpd-2.0.43/bin/apxs --enable-dba --enable-memory-limit --
enable-sigchild --with-oci8=/u01/app/oracle/product/9.2.0/ --with-gd --with-zlib

(if you do not have oracle, exclude oracle parameters)

make
make install

restart apache and that's all

rgds Jan

GSM, Intelligent Networks, UNIX
Taulant Shamo
Frequent Advisor

Re: Apache Mysql and PHP installation and config

Thanks a lot everybody .

Taulant