How to , and other stuff about linux, photo, php … A linux, photography blog. To remember some linux situation, and fix them quickly.

August 13, 2012

Failed to download pecl/ssh2 within preferred state “stable”, latest release is version 0.11.3

Filed under: Linux — Tags: , , , , — admin @ 11:49 am

Today I was trying to upgrade a php on centos 5.4 from php 5.2 to php 5.3
The upgrade was run using

rpm -Uvh
yum --enablerepo=webtatic update php

Well everythins was ok, however after upgrade I see that if I run php -v i got some errors, memcache and ssh2 was installed using pecl and they should be reinstalled.
Well the pecl install memcache work well however
pecl install ssh2
return this error
Failed to download pecl/ssh2 within preferred state “stable”, latest release is version 0.11.3,

Well I did manage to install it by using
pecl install “channel://”


July 30, 2012

PHP Fatal error: Class ‘PHPUnit_Extensions_Database_TestCase’ not found

Filed under: Linux — Tags: , , , — admin @ 10:05 am

Well today I was playing with continous integration jenkins method, and I have this error at some point. First I was thinking that I miss some files from repositories however, from what I see it was missing DbUnit.

So to install it just run
pear -d preferred_state=beta install phpunit/DbUnit


February 7, 2012

service php-fpm restart with error after upgrade from 5.3.8 to 5.3.10

Filed under: Linux — Tags: , , , , , , , — admin @ 4:32 pm

I have to upgrade a server from php 5.3.8 to 5.3.10 on a centos server.
After this the service php-fpm restart didn’t work.
Stopping php-fpm: [FAILED]

So after a short look to the problem, what I discover is that problem is on this file

What I have was
and this line should be

September 6, 2010

Real Estate Script

Filed under: Scrambled — Tags: , , — admin @ 2:33 pm

Today I test a Real Estate Script that I really like it. You will wonder why ?  Well, first because is very intuitive, is very simple to install,  and is very very fast, and use lower resource that other script that I tested.

The link is

Real Estate Script

Hope it will be useful for someone this information.

« Newer Posts

Powered by WordPress