Para resolver que “sentia” lento, mi Dreamhost …. el problema, el uso del CPU,
asi, que hice los siguiente cambios y aumento bastante el rendimiento.
asi quedo mi php.ini http://minopal.com/phpinfo.php
FastCGI, eAccelerator , PHP.ini Modificado
Warning: FCGI processes use more memory than usual CGI ones. Due to this, FCGI-enabled application may be killed by process watchdog due to high memory usage. To prevent this, it’s recommended (by DreamHost support) to rename wrapper script to dispatch.fcgi. This way it will be allowed to use more memory.
Recursos:
http://wiki.dreamhost.com/PHP_FastCGI
PHP5 FastCGI con eAccelerator en Dreamhost sin compilar PHP
eAccelerator, PHP 5, and Dreamhost
http://www.quikstorm.net/wordpress/2007/06/14/eaccelerator-php-5-and-dreamhost/
Dreamhost, PHP y consumo de CPU: Round 2
http://www.askapache.com/php/custom-phpini-tips-and-tricks.html
asi quedo mi php.ini http://minopal.com/phpinfo.php
parece que funciona bastante mas rapido,
Como extra encontre como instalar :
ClamAV Email Checking on a Shared Host
This guide is designed for users who have a shared hosting account (no root access), namely on DreamHost. We will make use of ClamAV, procmail, and ClamAssassin.
YA tengo compilados
- autoconf
- automake
- LAME
- ffmpeg
- GD2
- mplayer+mencoder
- Ruby
- flvtool2
- libogg
- libvorbis
- ffmpeg-php
con las instrucciones de http://www.netbrix.net/archives/20
con FastCGI ejecutas PHP como un usuario
solo me falta que funcione el Path…
export TMPDIR=$HOME/tmp
export PATH=$HOME/bin:$PATH
export LD_LIBRARY_PATH=$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH
export CPATH=$HOME/include:/$HOME/include/lame:/usr/local/include:$CPATH
export LIBRARY_PATH=$HOME/lib:/usr/local/lib:$LIBRARY_PATH
lo he puesto en .bash_profile, pero no lo tome desde PHP,
ahora lo pondré dentro de php5-wrapper.fcgi
o dentro de .htaccess con con SetEnv
….