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!

Keith

In theory, theory and practice are the same;
In practice they are not. 

On Fri, 3 Mar 2006, Sasha Dolgy wrote:

> To: php-install@lists.php.net
> From: Sasha Dolgy <[EMAIL PROTECTED]>
> Subject: Re: [PHP-INSTALL] apxs Error: related to libphp5.so
> 
> 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 the only one with the problem.
> 
> http://forums.fedoraforum.org/archive/index.php/t-23665.html
> 
> Hope these links help.  Don't sacrifice system security for the sake
> of getting something installed :)
> 
> On 3/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > Sounds like php has a problem trying to install the
> > php module into the apache modules directory, which it will
> > do by default.
> >
> > Did you compile/install Apache as root user?
> > Are you compiling php5 as root user?
> >
> > Did you do a 'make clean' after installing apache 2? I don't
> > think you need to unless you want to recompile Apache again.
> >
> > Is the apache modules directory writable by php5?
> >
> > try
> >
> > #: /usr/local/ chmod -R 777 apache2
> >
> > and then do make install in the php5 source directory.
> > You will need to reset the apache2 permissions again.
> >
> > HTH
> >
> > Keith
> >
> > In theory, theory and practice are the same;
> > In practice they are not.
> >
> > On Thu, 2 Mar 2006, Tara wrote:
> >
> > > To: php-install@lists.php.net
> > > From: Tara <[EMAIL PROTECTED]>
> > > Subject: [PHP-INSTALL] apxs Error: related to libphp5.so
> > >
> > > Hi,
> > >
> > > I have successfully installed Apache 2.2, and MySQL 5. on RHEL 4. 
> > > However, having problems when installing php5. Your insights and help are 
> > > greatly appreciated.
> > >
> > > The following steps were successful
> > > > ./configure --with-apxs2=/usr/local/apache2/bin/apxs 
> > > > --with-mysql=/usr/share/mysql
> > > > make
> > >
> > > I'm getting the following error during php5 'make
> > > install'. /usr/local/apache2/build/instdso.sh
> > > SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la
> > > /usr/local/apache2/modules libtool: install: warning:
> > > remember to run `libtool --finish
> > > /home/compliance/php-5.1.2/libs' chmod 755
> > > /usr/local/apache2/modules/libphp5.so chmod: cannot access
> > > `/usr/local/apache2/modules/libphp5.so': No such file or
> > > directory apxs:Error: Command failed with rc=65536 ..
> > > make: *** [install-sapi] Error 1
> > >
> > > Thanks in advance,
> > > Tara
> >
> 
> 
> --
> Sasha Dolgy
> [EMAIL PROTECTED]
> 

Reply via email to