In my admittedly limited experience, I would have to support Keith.
I wear several hats, one is sys admin, one is dba and one is developer.
If I am doing sys admin stuff I will log in and su unless it is system related (ie compiling and installing software.) In this case I log in as root.
erg, you missed my point. you can do all compilations and do
everything except make install as a normal un-priviledged user. try
it.
download php to /tmp and unzip it, configure it, make it
you can do it all not as root. only when you need to type 'make
install' is root required. honest.
I have chosen to install and compile software for that very
reason Sasha. Normally a sys admin would install user
packages once, as root, to make the packages available
globally to all other users, which is how I chose to do it.
So I cannot really comment on installing packages as a
'normal'
Hi Keith.
"Also, some other packages will refuse to install without working as root user"
I am not disagreeing with this. Infact, if you want the application
available to other users other then yourself and without making your
home directory open to the rest of the users on the system, it is
req
Ooooh funny that..
Checkout the name of the poster on that first link you mentioned:
http://www.codecomments.com/archive214-2005-11-671834.html
How odd!
Same name!
Funny that Perhaps... Just perhaps OOOh it IS me!!
Yes, all wise and caring ones, I can guide you towards a working
Hi Duncan.
Go to the this address:
http://www.php.net/mailing-lists.php
Check the bullet under the NORMAL Heading, next to this
section (the fourth list down from the top of the page):
Installation issues and problems
How to install PHP with partiucular configurations,
and servers
Then enter
Maybe it's a bad habit Sasha, but I generally always work as
root user - I get fed up having to su to get something done.
Also, some other packages will refuse to install without
working as root user ;-)
If I am going to trash a system, may as well do it at home
and learn by my mistakes!
Kei
Well, I managed to get things sorted with the following
./configure command
contents of config.nice
#! /bin/sh
#
# Created by configure
'./configure' \
'--with-apxs2=/usr/local/apache-2.2.0/bin/apxs' \
'--prefix=/usr/local/php-5.1.2' \
'--with-mysql=shared,/downloads/mysql/bin/mysql-standard-5
I would tend to disagree with some of the suggestions that Keith has made.
1. You shouldn't use root until you do a make install.
2. There isn't a need to chmod 777 a directory for the installation
to be successful.
http://www.codecomments.com/archive214-2005-11-671834.html
Seems you aren't th