Old PHP on new Debian

2009-03-04 Thread Pet
Hi all,

I'd like to install newest version of Debian available, but with one
of older releases of PHP (5.1.6). Is it possible? How can I accomplish
this?

Thanks, Pet


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Old PHP on new Debian

2009-03-07 Thread Pet
On Sat, Mar 7, 2009 at 1:37 PM, Andrew Malcolmson  wrote:
> On Wed, Mar 4, 2009 at 10:59 AM, Stephan  wrote:
>> Install the version of Debian you'd like (Lenny I assume, unless you're
>> looking for unstable or volatile versions) then
>>
>> aptitude remove php5
>>
>> then install the version of php you want.
>>
>> Pet wrote:
>>>
>>> Hi all,
>>>
>>> I'd like to install newest version of Debian available, but with one
>>> of older releases of PHP (5.1.6). Is it possible? How can I accomplish
>>> this?
>
> I believe this version would have been released under Sarge.
> Searching packages.debian.org doesn't help as it doesn't search back
> further than 'oldstable' or Etch.
>
> I see my mirror no longer provides Sarge package lists.
>
> Maybe the OP should download this older version from the PHP site and
> unpack to /usr/local.
>
>

I've installed Lenny without PHP and then compiled the needed version
from sources.

> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>
>


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Old PHP on new Debian

2009-03-07 Thread Pet
On Sat, Mar 7, 2009 at 4:22 PM, Florian Weimer  wrote:
> * Pet:
>
>> I'd like to install newest version of Debian available, but with one
>> of older releases of PHP (5.1.6). Is it possible? How can I accomplish
>> this?
>
> For a while, PHP 5.1.6 hasn't been available in a released Debian
> distribution.
>
> Could you post your /etc/apt/sources.list file?
>

sure

/etc/apt/sources.list

#
# deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 DVD
Binary-1 20090214-16:54]/ lenny contrib main

#deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 DVD
Binary-1 20090214-16:54]/ lenny contrib main

deb http://ftp.de.debian.org/debian/ lenny main
deb-src http://ftp.de.debian.org/debian/ lenny main

deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib

deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib
~
~

I've downloaded .tar from www.php.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Old PHP on new Debian

2009-03-08 Thread Pet
On Sat, Mar 7, 2009 at 10:47 PM, Adrian Levi  wrote:
> 2009/3/8 Florian Weimer :
>> * Pet:
>>
>>> /etc/apt/sources.list
>>
>> This looks fine.  How did you figure out that you had installed PHP
>> 5.1.6?

:~$ php -v

PHP 5.1.6 (cgi) (built: Mar  5 2009 18:02:04)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies


>
> He doesn't have it installed, he wants it installed.
>
> Adrian
>
> --
> 24x7x365 != 24x7x52 Stupid or bad maths?
>  hm. I've lost a machine.. literally _lost_. it responds to
> ping, it works completely, I just can't figure out where in my
> apartment it is.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>
>


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Old PHP on new Debian

2009-03-08 Thread Pet
On Sun, Mar 8, 2009 at 1:24 PM, Florian Weimer  wrote:
> * Adrian Levi:
>
>> 2009/3/8 Florian Weimer :
>>> * Pet:
>>>
>>>> /etc/apt/sources.list
>>>
>>> This looks fine.  How did you figure out that you had installed PHP
>>> 5.1.6?
>>
>> He doesn't have it installed, he wants it installed.
>
> Ah, stupid me.
>
> Pet, PHP 5.1.6 is out of security support by upstream.  You might run
> into significant issues by using it.
>


yes, I know, but some of apps will not running on newer versions.

Unfortunately, installation doesn't work with apache together. Apache
doesn't load php module. I don't really know what to do now. After
some google I've tried to ./configure --with-apxs2=/usr/bin/apxs2. But
it is not there. Output

Sorry, I cannot run apxs.  Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)




>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>
>


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



can't reinstall php

2009-03-16 Thread Pet
Hi,

what I did:

1. apt-get remove php5
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

I just wont now working apache with php, but if I run an php file in
browser, it offers download it.
No idea now hot to repair my apache+php installation.

Any help would be appreciated


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



nfs not mounting, lock /var/run/network/mountnfs exist

2009-03-17 Thread Pet
Hi,

I have mount on nfs, which doesn't work. Error:

lock /var/run/network/mountnfs exist, not mounting failed!

Can it be fixed?
Thanks for any help!

Pet


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



PHP5 Warning: pg_connect() Cannot create new link.

2009-03-17 Thread Pet
Hi,

I've php5-pgsql installed, but php-scripts throw

Warning: pg_connect() [function.pg-connect]: Cannot create new link.

For any help, many thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Delete 4 million files

2009-03-18 Thread Pet
2009/3/18 Jörg-Volker Peetz :
> kj wrote:
>>
>> Now, I've been running the usual find . -type f -exec rm {} \;
>> but this is going at about 700,000 per day.  Would simply doing an rm
>> -rf on the Maildir be quicker?  Or is there a better way?

worse reading

http://translate.google.com/translate?prev=_t&hl=en&ie=UTF-8&u=http://www.linux-club.de/viewtopic.php%3Ff%3D21%26t%3D101912&sl=de&tl=en&history_state0=


>
> As already said, this calls rm for every file. Another alternative is with 
> newer
> versions of find:
>
>  find . -type f -exec rm {} \+
>
> This calls rm for as many files as fit on the command line.
> But probably "rm -rf" is the fastest.
> --
> Regards,
> Jörg-Volker.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>
>


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org