Re: can't reinstall php
On Mon, Mar 16, 2009 at 06:11:13PM +0100, Pet wrote:
> Hi,
>
> what I did:
>
> 1. apt-get remove php5
But you haven't purged anything.
> 2. installed php5.1.6 from sources (just needed it for old scripts)
> 3. then removed 5.1.6 manually
> 4. tried to install apt-get install php5 again
> 5. now php -v produce: bash: php: command not found
> 6. tried apt-get install php5-cli error:Not replacing deleted config
> file /etc/php5/cli/php.ini
One possible way: purge php-cli and re-install it.
apt-get --purge remove php-cli
apt-get install php-cli
>
> I just wont now working apache with php, but if I run an php file in
> browser, it offers download it.
This is not related to php-cli, though may be from a similar cause.
For starters:
a2enmod mod_php5
--
Tzafrir Cohen | tzafrir@jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir@cohens.org.il | | best
ICQ# 16849754 | | friend
Reply to: