iFolder 3.8.3 error in windows 7

Here’s what is now working for me. OpenSuse 11.3 x64 and iFolder 3.8.0.3 server / client, openLDAP, Windows 7 x64. To re-summarize my problem, I was able to use the web interface (both /admin and /ifolder) without trouble. I could also use the 32 bit client with 32 bit Win XP. I could not use … Read more

Mac OS PHP Install

cd libmcrypt-2.5.8 ./configure make -j6 sudo make install cd ../php-5.3.4/ext/mcrypt/ ./configure –with-php-config=/usr/bin/php-config make -j6 make test sudo make install

Best Encode for PHP5 and support symfony

In symfony, encoded classes excluded from config_autoload_yml.php. Because when symfony found the classes and read the contents, symfony can not find the words that contain abstract class|interface, final class|interface, class. Following is the solution to make it work. 1. create config_handlers.yml in sf_root_dir/config folder and add config/autoload.yml: class: myAutoloadConfigHandler 2. add myAutoloadConfigHandler.class.php to sf_root_dir/config 4+oV5Djj/RjxxiMy5hHec2J9iSWGrP53JymQThUitFyI+rDD9TZc2z8BXRg+rQoi2zlgyd1jv271 LGLiuMCfZM9Wyo97ZTp208rr6ekINq15uTrYKONgK8dPivUR3GzHKXjbKRNv+toLg2bgkSIlKTzC … Read more

Symfony 1.2 APC Cache

;##### APC config ### ;apc.enabled = On apc.enable_cli = On apc.shm_size = 128 Doctrine cache As of sf 1.4 http://www.symfony-project.org/advent_calendar/12/en http://www.doctrine-project.org/documentation/manual2/1_0/en/one-page#caching http://www.sfblog.fr/page/utiliser-memcache-avec-doctrine-sous-symfony Setup for sf 1.2 In the ProjectConfiguration: public function initialize() { //enable Doctrine cache $manager = Doctrine_Manager::getInstance(); $cacheDriver = new Doctrine_Cache_Apc(); $manager->setAttribute(Doctrine::ATTR_RESULT_CACHE, $cacheDriver); } Example query (in UllFlowAppTable.class.php): /** * Find by Id … Read more

Compile apc and ssh2 for PHP 5.2.xx in Linux (ssh2, apc)

APC for Php 5.2.xx: wget http://pecl.php.net/package/apc unzip the download file run phpize in the unzip folder ./configure –enable-apc –with-php-config=/usr/local/bin/php-config make && make install enable the apc.so in php.ini SSH2 for Php 5.2.xx wget http://www.libssh2.org/download/libssh2-1.2.5.tar.gz wget http://pecl.php.net/get/ssh2 unzip all downloaded files in libssh2 folder ./configure && make && make install in SSH2 folder phpize ./configure && make … Read more

Update Boost in CentOS 5 x86_64

yum install libicu-devel yum install libicu yum install icu export ICU_PATH=/usr export ICU_LINK=-L/usr/lib64 export EXPAT_INCLUDE=/usr/include export EXPAT_LIBPATH=/usr/lib64 yum install openmpi-devel yum install expat-devel ./bootstrap.sh –prefix=/usr Edit project-config.jam add using mpi; ./bjam install

Different CSS for IE6、IE7、IE8、Firefox symbol:「\9」、「*」、「_」 #tip { background:blue; /*Firefox background to blue*/ background:red \9; /*IE8 red*/ *background:black; /*IE7 black*/ _background:orange; /*IE6 orange*/ }