RE: php installation in different location

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Could you explain/clarify what you are trying to accomplish.

You initially asked how to install a second version of php in a
different location. In your more recent post you asked how to
uninstall the older/existing install in order to install the latest
one.

Why are you interested in installing the new version in a "different
location" if you are going to uninstall the existing version?
Installing the version you intend to use in a different location has
effects on other bits - like the apache php module - so something to
be avoided if you don't need to.

Are you trying to install a new version from a repository or source?
If source, why, what "must have" capability is unavailable in a
packaged release? If package, why do you want to install it in a
different location? 

There may be value/need to build from source, but in general the best
approach is to keep things within your package management system by
building a package and installing that, rather than having the source
build do the installing.


> Date: Tuesday, March 29, 2016 02:59:37 +0000
> From: Richard
>
> The options mostly relate to where different things are installed on
> your system. You can generally look at the outputs from the
> ./configure to see what it didn't pick up and you need to explicitly
> specify. These options relate to your system and other packages you
> have installed. 
> 
> You should really be using your OSs package management environment
> and getting your php package from the appropriate repositories. It
> is *possible* that you really need a feature that is in a more
> recent release than what is available from your repositories, but
> in general that is unlikely. 
> 
> It is highly unlikely that you need to be installing from source. A
> package from a repository will update the installed release so you
> don't have to worry about uninstalling anything.
> 
> 
> 
>> Date: Tuesday, March 29, 2016 01:52:24 +0000
>> From: Christos Moustakakis <moustakakis@xxxxxxxx>
>> 
>> ./configure --prefix=/opt <other options>
>> 1. What other options? I need an installation for running websites.
>> Could you tell me the full command I have to run?  2. How can I
>> uninstall a php version in order to install the latest one? Thank
>> you. 
>> 
>>  
>>   On Tue, Mar 29, 2016 at 3:10, Jim Lucas<lists@xxxxxxxxx> wrote:
>>   
>> 
>> 
>> -------- Original message --------
>> From: Christos Moustakakis <moustakakis@xxxxxxxx> 
>> Date: 03/28/2016 13:07 (GMT-08:00) 
>> 
>> 
>> Could you tell me how can I install a second version of php in a
>> different location in ubuntu 14.04? 
>> 
>> ./configure --prefix=/opt <other options>
>> --Jim lucas  
> 
> ------------ End Original Message ------------

------------ End Original Message ------------



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux