Add new comment
|
Trouble Shoot & INSTALL - APACHE/MYSQL/PHP from scratch
------------------------------------------------------- Since the apache2 that comes with debian proves to be a bitch when it comes to configuration lets do this... Reinstall apache2 and also get it to work such that it points to /var/www DANGEROUS COMMAND SO HANDLE WITH CARE... ---------------------------------------- dpkg --purge --force-depends apache2-common dpkg --purge --force-depends apache2 MAKE SURE YOU INSTALL OR DEPENDECIES WILL BREAK ------------------------------------------------ apt-get install apache2-common apt-get install apache2 PHP5 SUPPORT ------------ add the below to "/etc/apt/sources.list" deb http://people.debian.org/~dexter php5 sarge install the necessary packages apt-get install php5 libapache2-mod-php5 php5-mysql php5-curl php5-gd For a full list of PHP5 modules apt-cache search php5. to install php and mysql modules use the below cd /etc/apache2/mods-enabled/ ln -s /etc/apache2/mods-available/php5.load ln -s /etc/apache2/mods-available/php5.conf Now start the beast.... /etc/init.d/apache2 start now in /var/www run your first php script... Please no "Hello World!!!" <? phpinfo() ?> IF THERE IS SOMETHING TOO OBVIOUS OR IF THERE ARE SOME REDUNANT STEPS PLEASE CORRECT THEM !!! DON'T COMPLAIN ;)
Reply |




Recent comments
3 hours 33 min ago
4 hours 8 min ago
5 hours 47 min ago
7 hours 8 min ago
10 hours 23 min ago
11 hours 11 min ago
13 hours 7 min ago
13 hours 13 min ago
14 hours 37 min ago
15 hours 24 min ago