Web Hosting Talk







View Full Version : Php


Darth
11-02-2002, 08:20 PM
I'll be adding mcrypt support tomorrow so heres what I have planned

tar -zxvf phpfile
cd file
./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--with-gd=../gd-2.0.4' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-imap' '--with-imap-ssl' '--with-kerberos' '--enable-magic-quotes' '--with-mysql' '--with-pear' '--enable-sockets' '--enable-track-vars' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--enable-versioning' '--with-zlib' '--with-mcrypt'
make
make install
service httpd restart

does this look ok?

Thanks :D

The Prohacker
11-02-2002, 10:05 PM
Hmm it looks like your doing this on a cpanel server by the looks of the configure line..

Just use buildapache.sea to add mcrypt.. your paths to things like gd won't work right unless you have your GD source files the directory bellow the php dir..

Also remove all your ' ' from the config line

Darth
11-03-2002, 09:05 AM
Ok, so just download buildapache.sea and run ./buildapache.sea? :)

bobcares
11-03-2002, 10:59 AM
Hi!
Your lines look good enough...
Have a great day :)

regards
amar

Darth
11-03-2002, 11:46 AM
Thanks guys :D

terrastudios
11-03-2002, 11:47 AM
Or Darth, do it as i have advised to you previously quite a few times now!

Apache2 version:-

wget http://url/to/apache/source
wget http://url/to/php/source
gzip -d apachefilename.tar.gz
gzip -d phpfilename.tar.gz
tar -xf apachefilename.tar
tar -xf phpfilename.tar
cd apachefoldername
./configure --enable-so
make
male install
cd ..
cd phpsourcedir
./configure --with-apxs2=/path/to/apxs2 --other-install-options--here
make
make install

Andrew
11-03-2002, 11:57 AM
Originally posted by Darth
Ok, so just download buildapache.sea and run ./buildapache.sea? :)

just do /scripts/easyapache

or wget http://layer1.cpanel.net/buildapache.sea