April 11, 2009

PHP install with XAMPP

We try so many time to make php code work well with puppylinux, which we had got assistance from puppylinux chat room, so we found XAMPP, which make puppylinux work well.
Where download XAMPP

http://www.apachefriends.org/en/xampp-linux.html

http://www.apachefriends.org/en/xampp-linux.html#372

install

cd /folder/where/I/have/xampp

copy xampp-linux-1.7.tar.gz to opt

extract it using this line code: tar xvfz xampp-linux-1.7.tar.gz -C /opt

open an other terminal

and go to /opt/lampp

go to the lampp directory

and type: ./lampp start

for try your php scripts, you must save all it at the htdocs folder inside lampp directory

test:

http://localhost if finish start lampp

(how to create short cut to start xampp)

create script to make a shortcut

#!/bin/sh

cd /

cd opt/lampp

./lampp start


No comments: