Difference between revisions of "InstallingAboutUsOnLinux/InstallPhp"

Line 1: Line 1:
 +
==Installing FreeType==
 
<pre>
 
<pre>
==Installing FreeType==
 
 
curl -O http://download.savannah.gnu.org/releases/freetype/freetype-2.1.10.pre-20050511.tar.bz2
 
curl -O http://download.savannah.gnu.org/releases/freetype/freetype-2.1.10.pre-20050511.tar.bz2
 
tar jxvf freetype-2.1.10.pre-20050511.tar.bz2
 
tar jxvf freetype-2.1.10.pre-20050511.tar.bz2
Line 7: Line 7:
 
make
 
make
 
make install
 
make install
 +
</pre>
  
 
==Installing PHP==
 
==Installing PHP==
 
+
<pre>
 
cd /www/source
 
cd /www/source
 
curl -O http://us.php.net/distributions/php-5.2.5.tar.bz2
 
curl -O http://us.php.net/distributions/php-5.2.5.tar.bz2

Revision as of 13:02, 9 January 2008

Installing FreeType

curl -O http://download.savannah.gnu.org/releases/freetype/freetype-2.1.10.pre-20050511.tar.bz2
tar jxvf freetype-2.1.10.pre-20050511.tar.bz2
cd freetype-2.1.10.pre-20050511
./configure --prefix=/www
make
make install

Installing PHP

cd /www/source
curl -O http://us.php.net/distributions/php-5.2.5.tar.bz2
tar jxvf php-5.2.5.tar.bz2
cd php-5.2.5/
./configure --with-apxs2=/www/bin/apxs \
  --with-mysql \
  --prefix=/www \
  --with-config-file-path=/www/lib \
  --with-zlib \
  --enable-soap  \
  --with-gmp  \
  --enable-bcmath \
  --with-gd  \
  --with-png-dir=/www \
  --with-zlib-dir=/www \
  --with-freetype-dir=/www
make
make install

echo "AddType application/x-httpd-php .php" >>/www/conf/apache2.conf

Install OpenId

cd /www/source
curl -O http://openidenabled.com/files/php-openid/packages/php-openid-2.0.0.tar.bz2
tar jzvf php-openid-2.0.0.tar.bz2
cd php-openid-2.0.0
cp -r Auth /www/lib/php/


Retrieved from "http://aboutus.com/index.php?title=InstallingAboutUsOnLinux/InstallPhp&oldid=13998891"