Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
fixed typo in version
Source Link

I asked this on stackoverflow, but I think it was the wrong audience/forum

Recently installed php5.3.22 on Ubuntu 12.04 from an excellent install script. This works perfectly.

The issue I have is that I now want to also install phpunit. When i try apt-get install phpunit - It wants to also include a bunch of dependencies such as php5-common, etc. (I suspect apt-get does not already know that I have php5.3.22 installed and wants to install php5.4x.x - since it is the distro release version.)

I do not want to conflict/overwrite my (already tuned) php5.3.22 install.

I thought about using a php phar file to run php unit. but first want to know if anyone knows simple step by step instructions to inform apt-get about the existing php5.3.22 install so that I can use apt-get in the future to configure php for upgrades, add modules, etc.

There are many questions about installing older versions of software on Ubuntu, but I am looking specifically to inform the package management system about which is the installed current version.

I asked this on stackoverflow, but I think it was the wrong audience/forum

Recently installed php5.3.22 on Ubuntu 12.04 from an excellent install script. This works perfectly.

The issue I have is that I now want to also install phpunit. When i try apt-get install phpunit - It wants to also include a bunch of dependencies such as php5-common, etc. (I suspect apt-get does not already know that I have php5.3.22 installed and wants to install php5.4.x - since it is the distro release version.)

I do not want to conflict/overwrite my (already tuned) php5.3.22 install.

I thought about using a php phar file to run php unit. but first want to know if anyone knows simple step by step instructions to inform apt-get about the existing php5.3.22 install so that I can use apt-get in the future to configure php for upgrades, add modules, etc.

There are many questions about installing older versions of software on Ubuntu, but I am looking specifically to inform the package management system about which is the installed current version.

I asked this on stackoverflow, but I think it was the wrong audience/forum

Recently installed php5.3.22 on Ubuntu 12.04 from an excellent install script. This works perfectly.

The issue I have is that I now want to also install phpunit. When i try apt-get install phpunit - It wants to also include a bunch of dependencies such as php5-common, etc. (I suspect apt-get does not already know that I have php5.3.22 installed and wants to install php5.x.x - since it is the distro release version.)

I do not want to conflict/overwrite my (already tuned) php5.3.22 install.

I thought about using a php phar file to run php unit. but first want to know if anyone knows simple step by step instructions to inform apt-get about the existing php5.3.22 install so that I can use apt-get in the future to configure php for upgrades, add modules, etc.

There are many questions about installing older versions of software on Ubuntu, but I am looking specifically to inform the package management system about which is the installed current version.

Link
Source Link
mgorven
  • 31.5k
  • 7
  • 85
  • 126

Hi _I asked this on stackoverflow, but I think it was the wrong audience/forum

Recently installed php5.3.22 on Ubuntu 12.04 from an excellent install script provided by git://github.com/vladgh/VladGh.com-LEMP.gitexcellent install script. This works perfectly.

The issue I have is that I now want to also install phpunit. When i try apt-get install phpunit - It wants to also include a bunch of dependencies such as php5-common, etc. (I suspect apt-get does not already know that I have php5.3.22 installed and wants to install php5.4.x - since it is the distro release version.)

I do not want to conflict/overwrite my (already tuned) php5.3.22 install.

I thought about using a php phar file to run php unit. but first want to know if anyone knows simple step by step instructions to inform apt-get about the existing php5.3.22 install so that I can use apt-get in the future to configure php for upgrades, add modules, etc.

There are many questions about installing older versions of software on Ubuntu, but I am looking specifically to inform the package management system about which is the installed current version.

Hi _ asked this on stackoverflow, but I think it was the wrong audience/forum

Recently installed php5.3.22 on Ubuntu 12.04 from an excellent install script provided by git://github.com/vladgh/VladGh.com-LEMP.git. This works perfectly.

The issue I have is that I now want to also install phpunit. When i try apt-get install phpunit - It wants to also include a bunch of dependencies such as php5-common, etc. (I suspect apt-get does not already know that I have php5.3.22 installed and wants to install php5.4.x - since it is the distro release version.)

I do not want to conflict/overwrite my (already tuned) php5.3.22 install.

I thought about using a php phar file to run php unit. but first want to know if anyone knows simple step by step instructions to inform apt-get about the existing php5.3.22 install so that I can use apt-get in the future to configure php for upgrades, add modules, etc.

There are many questions about installing older versions of software on Ubuntu, but I am looking specifically to inform the package management system about which is the installed current version.

I asked this on stackoverflow, but I think it was the wrong audience/forum

Recently installed php5.3.22 on Ubuntu 12.04 from an excellent install script. This works perfectly.

The issue I have is that I now want to also install phpunit. When i try apt-get install phpunit - It wants to also include a bunch of dependencies such as php5-common, etc. (I suspect apt-get does not already know that I have php5.3.22 installed and wants to install php5.4.x - since it is the distro release version.)

I do not want to conflict/overwrite my (already tuned) php5.3.22 install.

I thought about using a php phar file to run php unit. but first want to know if anyone knows simple step by step instructions to inform apt-get about the existing php5.3.22 install so that I can use apt-get in the future to configure php for upgrades, add modules, etc.

There are many questions about installing older versions of software on Ubuntu, but I am looking specifically to inform the package management system about which is the installed current version.

Source Link

How to inform Ubuntu 12.04 apt-get about older installed version of php

Hi _ asked this on stackoverflow, but I think it was the wrong audience/forum

Recently installed php5.3.22 on Ubuntu 12.04 from an excellent install script provided by git://github.com/vladgh/VladGh.com-LEMP.git. This works perfectly.

The issue I have is that I now want to also install phpunit. When i try apt-get install phpunit - It wants to also include a bunch of dependencies such as php5-common, etc. (I suspect apt-get does not already know that I have php5.3.22 installed and wants to install php5.4.x - since it is the distro release version.)

I do not want to conflict/overwrite my (already tuned) php5.3.22 install.

I thought about using a php phar file to run php unit. but first want to know if anyone knows simple step by step instructions to inform apt-get about the existing php5.3.22 install so that I can use apt-get in the future to configure php for upgrades, add modules, etc.

There are many questions about installing older versions of software on Ubuntu, but I am looking specifically to inform the package management system about which is the installed current version.