theman
May 22 2004, 01:22 AM
I need some help compiling php. Not that I can't read the docs, but I don't know what it was compiled with initially with EV1. Meaning the exact ./configure command + all options used. I don't know that or how to find out how it was done before.
Is it needed if I simply have some options to add to it?
This what I need to add:
--with-freetype-dir=/usr/local --with-png-dir=/usr/local --with-gd=/usr/local --enable-gd-native-ttf --with-ttf --with-gdbm --with-jpeg-dir=/usr/local
Then after the ./config command I would run
make
make install
and restart php... right? would that be all?
Any info on the process, additionaly details, implications or procedures would be much appreciated.
Oh... reason for this addition is to get a cart called cube working. Thanks!
roguemind
May 22 2004, 09:57 AM
Create a file "phpinfo.php" amd put in the following 3 lines;
phpinfo();
?>
and then call it in you browser. This will show all the php options your looking for.
char
May 22 2004, 10:14 AM
Alternatively you can get that information using:
QUOTE
php -i | grep 'configure'
at the command line.
theman
May 22 2004, 08:01 PM
I don't know what it was compiled with initially with EV1. Meaning the exact ./configure command + all options used. I don't know that or how to find out how it was done before.
Is it needed if I simply have some options to add to it?
This what I need to add:
--with-freetype-dir=/usr/local --with-png-dir=/usr/local --with-gd=/usr/local --enable-gd-native-ttf --with-ttf --with-gdbm --with-jpeg-dir=/usr/local
phinfo doesnt tell me how to compile php... nor is it the line that ev1 used initially.
thanks again.
theman
May 22 2004, 10:05 PM
sorry bout that... it seems it does.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.