Php cannot be installed on linux - newbie

This is a discussion on Php cannot be installed on linux - newbie within the PHP Language forums, part of the PHP Programming Forums category; Hi! I had to uninstall the php 4.2.2(that came along with linux installation) to install 4.3....


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-09-2003
Ann
 
Posts: n/a
Default Php cannot be installed on linux - newbie

Hi!

I had to uninstall the php 4.2.2(that came along with linux
installation) to install 4.3.3 for some of my new applications to
work. The uninstallation went fine and the installation of 4.3.3 was
done in the following sequence after cd'ing into the php directory

../configure
make
make install

every thing seemed to go fine..

When i tried to see if package php is installed using
rpm -q php

I get the following message
package php not installed..

Why is this so? Can any one help pls?
Thanks..
Nisha
Reply With Quote
  #2 (permalink)  
Old 11-09-2003
Lysergic Acid
 
Posts: n/a
Default Re: Php cannot be installed on linux - newbie

nsajus@yahoo.com (Ann) say:

> Hi!
>
> I had to uninstall the php 4.2.2(that came along with linux
> installation) to install 4.3.3 for some of my new applications to
> work. The uninstallation went fine and the installation of 4.3.3 was
> done in the following sequence after cd'ing into the php directory
>
> ./configure
> make
> make install


the rpm install and make install are two
different things.

rpm has a database of installed packages.

if you don't install using rpm (and a version
of p2p that has been built into an rpm
package ) then it won't
get added to the rpm database.

that doesn't mean you can't use it --

you may want to try using apt-get and
synaptic in the future ( automated package
download and install ) HOWEVER, their packages
aren't always the latest and greatest.

>
> every thing seemed to go fine..
>
> When i tried to see if package php is installed using
> rpm -q php
>
> I get the following message
> package php not installed..
>
> Why is this so? Can any one help pls?
> Thanks..
> Nisha


Reply With Quote
  #3 (permalink)  
Old 11-09-2003
Peter Köhlmann
 
Posts: n/a
Default Re: Php cannot be installed on linux - newbie

Ann wrote:

> Hi!
>
> I had to uninstall the php 4.2.2(that came along with linux
> installation) to install 4.3.3 for some of my new applications to
> work. The uninstallation went fine and the installation of 4.3.3 was
> done in the following sequence after cd'ing into the php directory
>
> ./configure
> make
> make install
>
> every thing seemed to go fine..
>
> When i tried to see if package php is installed using
> rpm -q php
>
> I get the following message
> package php not installed..
>
> Why is this so? Can any one help pls?
> Thanks..
> Nisha


Use "checkinstall" instead of "make install".
You get an rpm than
--
Another name for a Windows tutorial is crash course

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:54 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0