Thursday, July 29, 2010

PHPGRAPHY

http://phpgraphy.sourceforge.net/download.php

wget link location
gunzip version
untar version

stop old httpd and start new oneby

/usr/local/apache/bin/apachectl start

change permissions in step 3-----eg: chmod -R 777 pictures/

/etc/init.d/mysql start
mysql
>create database phpgraphy;
>show databases ;
>quit



/usr/local/apache/bin/apachectl restart

mysql
>create user 'username' @'localhos' identified by 'password'
>grant all privileges on phpgraphy.* to 'username' @'localhost' identified by 'password'
>flush privileges
>quit

give username and password in frontend and next step

http://linux.softpedia.com/progDownload/libjpeg-Download-160.html
wget libjpeg version(strable)

cd libjpeg version
./configure


make install

http://www.libpng.org/pub/png/libpng.html
wget link location
uzip and untar
./configure
make
make install



./configure --with-apxs=/usr/local/apache/bin/apxs --enable-cgi=/usr/local/php --with-mysql --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-curl=/usr/local/curl

No comments:

Post a Comment