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
Help!!! My boss is breathing down my neck (>_<)
Moderator: General Moderators
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
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
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..
...should at least extract the contents of the downloaded file.
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.tarThank you everyone!! You've made my Monday a little better.
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.
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.
- AVATAr
- Forum Regular
- Posts: 524
- Joined: Tue Jul 16, 2002 4:19 pm
- Location: Uruguay -- Montevideo
- Contact:
Modified
After you decompress with gunzip and you un-extract with tar -xvf you can do the make thing.redmonkey wrote:...should at least extract the contents of the downloaded file.Code: Select all
gunzip php-5.0.2.tar.gz tar -xvf php-5.0.2.tar