Page 1 of 1
Help!!! My boss is breathing down my neck (>_<)
Posted: Fri Oct 01, 2004 12:08 am
by Gambit
Hello everyone.
first off I'm totally new to this PHP thing, and second
I dont know didly squat about Solaris. But my boss
wants me to install PHP into Solaris8
What would be best, is if there is a binary installation
for PHP in which I would have to do no compiling.
In other words the easiest way to install PHP into Solaris8 (sparc)
Hoping for a reply
Posted: Fri Oct 01, 2004 12:39 am
by vigge89
PHP and Apache 2?
Posted: Fri Oct 01, 2004 1:58 am
by Steveo31
Posted: Fri Oct 01, 2004 3:05 am
by Gambit
Thank you all for the replys. I was so uptight that
I forgot to fill you in on the details. Sorry
When I looked all over the net, I found some pretty
simple instructions, like the one below:
1, Download the php file from the folllowing site;
http://www.php.net/
2,Then do the following
% tar -xvzf php-4.0.6.tar.gz
% ./configure --enable-mbstring --enable-mbstr-enc-trans --with-pgsql=/usr/local/pgsql --with-apxs=/usr/local/apache/bin/apxs --without-mysql --with-imap
% make
% su
# make install
# cp php.ini-dist /usr/local/lib/php.ini
When I downloaded the file from the URL above, instead of
getting a [tar.gz] file I got the following:
php-5.0.2.tar.tar
Due to my lack of knowledge, I tried to gunzip it, but it didnt work (duh!)
Then comes the hard part, the stuff that comes after [./configure], is just
insane!
What should I do?? All the UNIX gurus in my office are too busy to bother
with me....
waiting for reply
Posted: Fri Oct 01, 2004 4:46 am
by AGISB
Rename the tar.tar file to tar.gz and try again. This happens if windows adds extensions when downloading files.
Posted: Fri Oct 01, 2004 7:02 am
by redmonkey
Unix doesn't care about file extensions so the actual name of the file is irrelevant.
You need to gunzip the file first to extract the tar file then use tar to extract the contents of that.
You will also require that your machine has basic build tools installed e.g.....
gcc
make
flex
bison
automake
autoconf
And probably a few others.....(can't quite remember the exact requiremnts).
So probably..
Code: Select all
gunzip php-5.0.2.tar.tar
tar -xvf php-5.0.2.tar
...should at least extract the contents of the downloaded file.
Thank you everyone!! You've made my Monday a little better.
Posted: Sun Oct 03, 2004 9:12 pm
by Gambit
Thank you everyone for your replies!!!
Its just been such a rough week for me. (I cant get this work done, and
my girlfriend just broke up with me yesterday, which makes it really
difficult to work today).
Its just so much of a relief to find a reply on my question . (^_^)y
Thanks Everyone.
Well I did that changing from ".tar.tar" to "tar.gz", that worked well,
but when I did
bash-2.03$ tar -xvzf php-5.0.2.tar.gz
I got a messeage like this:
tar: z: unknown option (the message was in Japanese)
usage:tar {txruc}[vfbFXhiBEelmopwnq[0-7]] [-k size] [tapefile] [blocksize] [exclude-file] [-I include-file] files ...
Even though it was an error, I went on....., and typed "make," which came up with this:
make: not found
I did "find" command, and sure enough it was there.
Do I need to do some kind of link thing to make this work??
Hoping for a reply.
Posted: Wed Oct 06, 2004 6:49 am
by AVATAr
Modified
redmonkey wrote:
Code: Select all
gunzip php-5.0.2.tar.gz
tar -xvf php-5.0.2.tar
...should at least extract the contents of the downloaded file.
After you decompress with gunzip and you un-extract with tar -xvf you can do the make thing.