gracias por la explicacion entiendo un poco mas de lo que estoy haciendo pero al ver mi php ini
http://mercado-negro.org/1.php
no sale que esta instalada la libreria, sin embargo en el de ellos
http://php.dreamhosters.com/php4-cgi/
si aparece
pspell
PSpell Support enabled
sobre lo que dices que pueda que sea la nueva version que tengo no estyo muy seguro pero antes la libreria se llamaba iespell y ahora es aspell, suponniendo que se ha nstalado bien al seguir esta otra guia
http://www.wiki.dreamhost.com/index.php/Installing_PHP4
ali es donde me pierdo por que ellos me dijero que agregar este cmando en este script que supuestamente recompila el php
Hi Franklin,
You need to recompile your PHP installation 4 or 5 whichever you choose
the important thing is to include the line below when installing.
http://www.wiki.dreamhost.com/index.php/Installing_PHP4
Don't forget to use --with-pspell[=dir] in the installation!
Hope that helps, if you need anything else feel free to contact me again!
Thanks!
Nick
al usar el --with-pspell[=dir] es que me da el erro de directorio no encontrado yo lo coloco luego de
--with-mysql=/usr --with-mysqli \
--with-imap=${INSTALLDIR}"
peroe n cuanto al directoio donde supetamente est instaado el pspell es que no estoy seguro, yo coloco el de la carpt que eta marcada mas arriba asi --with-pspell aspell-0.60.3
y es donde me da error del paso seis de esa guia es que no paso
#!/bin/bash
# Abort on any errors
set -e
# The domain in which to install the PHP CGI script.
export DOMAIN="'''***YOUR DOMAIN NAME***'''"
# Update version information here.
PHP="php-4.4.4"
LIBICONV="libiconv-1.10"
LIBMCRYPT="libmcrypt-2.5.7"
LIBXML2="libxml2-2.6.27"
LIBXSLT="libxslt-1.1.18"
MHASH="mhash-0.9.4"; MHASH_TAR="${MHASH}a" # Pests!
ZLIB="zlib-1.2.3"
CURL="curl-7.15.2"
LIBIDN="libidn-0.6.2"
FREETYPE="freetype-2.1.10"
IMAP="imap-2004g"
# Set DISTDIR to somewhere persistent if you plan to muck around with this
# script and run it several times! It is where distributions are downloaded.
DISTDIR=${HOME}/dist
# Where do you want all this stuff built? Using a local filesystem is best.
# ***Don't pick a directory that already exists!*** We clean up after
# ourselves at the end!
SRCDIR=${HOME}/source
# And where should it be installed? A versioned directory eases upgrades!
INSTALLDIR=${HOME}/${PHP}
# A simple name link eases use
ln -s ${INSTALLDIR} php
# What PHP features do you want enabled?
PHPFEATURES="--prefix=${INSTALLDIR} \
--with-config-file-path=${INSTALLDIR}/etc/php4 \
--enable-force-cgi-redirect \
--with-xml --with-libxml-dir=${INSTALLDIR} \
--with-freetype-dir=${INSTALLDIR} \
--enable-soap \
--with-xsl=${INSTALLDIR} \
--with-openssl=/usr \
--with-mhash=${INSTALLDIR} \
--with-mcrypt=${INSTALLDIR} \
--with-zlib-dir=${INSTALLDIR} \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-gd \
--enable-gd-native-ttf \
--enable-ftp \
--enable-sockets \
--enable-wddx \
--with-iconv=${INSTALLDIR} \
--enable-sqlite-utf8 \
--enable-calendar \
--with-curl=${INSTALLDIR} \
--enable-mbstring \
--enable-mbregex \
--with-mysql=/usr --with-mysqli \
--with-imap=${INSTALLDIR}"
# ---- end of user-editable bits. Hopefully! ----
# Push the install dir's bin directory into the path
export PATH=${INSTALLDIR}/bin:$PATH
#setup directories
mkdir -p ${SRCDIR}
mkdir -p ${INSTALLDIR}
mkdir -p ${DISTDIR}
cd ${DISTDIR}
# Get all the required packages
wget -c http://us3.php.net/distributions/${PHP}.tar.gz
wget -c http://ftp.gnu.org/pub/gnu/libiconv/${LIBICONV}.tar.gz
wget -c http://easynews.dl.sourceforge.net/sourceforge/mcrypt/${LIBMCRYPT}.tar.gz
wget -c ftp://xmlsoft.org/libxml2/${LIBXML2}.tar.gz
wget -c ftp://xmlsoft.org/libxml2/${LIBXSLT}.tar.gz
wget -c http://easynews.dl.sourceforge.net/sourceforge/mhash/${MHASH_TAR}.tar.gz
wget -c http://www.zlib.net/${ZLIB}.tar.gz
wget -c http://curl.haxx.se/download/${CURL}.tar.gz
wget -c ftp://alpha.gnu.org/pub/gnu/libidn/${LIBIDN}.tar.gz
wget -c http://easynews.dl.sourceforge.net/sourceforge/freetype/${FREETYPE}.tar.gz
wget -c ftp://ftp.cac.washington.edu/imap/old/${IMAP}.tar.Z
cd ${SRCDIR}
# Unpack them all
tar xzf ${DISTDIR}/${PHP}.tar.gz
tar xzf ${DISTDIR}/${LIBICONV}.tar.gz
tar xzf ${DISTDIR}/${LIBMCRYPT}.tar.gz
tar xzf ${DISTDIR}/${LIBXML2}.tar.gz
tar xzf ${DISTDIR}/${LIBXSLT}.tar.gz
tar xzf ${DISTDIR}/${MHASH_TAR}.tar.gz
tar xzf ${DISTDIR}/${ZLIB}.tar.gz
tar xzf ${DISTDIR}/${CURL}.tar.gz
tar xzf ${DISTDIR}/${LIBIDN}.tar.gz
tar xzf ${DISTDIR}/${FREETYPE}.tar.gz
uncompress -cd ${DISTDIR}/${IMAP}.tar.Z |tar x
# Build them in the required order to satisfy dependencies.
#libiconv
cd ${SRCDIR}/${LIBICONV}
./configure --enable-extra-encodings --prefix=${INSTALLDIR}
make
make install
#libxml2
cd ${SRCDIR}/${LIBXML2}
./configure --with-iconv=${INSTALLDIR} --prefix=${INSTALLDIR}
make
make install
#libxslt
cd ${SRCDIR}/${LIBXSLT}
./configure --with-libxml-prefix=${INSTALLDIR} --prefix=${INSTALLDIR}
make
make install
#zlib
cd ${SRCDIR}/${ZLIB}
./configure --shared --prefix=${INSTALLDIR}
make
make install
#libmcrypt
cd ${SRCDIR}/${LIBMCRYPT}
./configure --disable-posix-threads --prefix=${INSTALLDIR}
make
make install
#mhash
cd ${SRCDIR}/${MHASH}
./configure --prefix=${INSTALLDIR}
make
make install
# FIXME: For some reason, mincludes.h isn't copied across
cp ${SRCDIR}/${MHASH}/include/mutils/mincludes.h ${INSTALLDIR}/include/mutils
#libidn
cd ${SRCDIR}/${LIBIDN}
./configure --with-iconv-prefix=${INSTALLDIR} --prefix=${INSTALLDIR}
make
make install
#cURL
cd ${SRCDIR}/${CURL}
./configure --with-ssl=${INSTALLDIR} --with-zlib=${INSTALLDIR} \
--with-libidn=${INSTALLDIR} --enable-ipv6 --enable-cookies \
--enable-crypto-auth --prefix=${INSTALLDIR}
make
make install
#freetype
cd ${SRCDIR}/${FREETYPE}
./configure --prefix=${INSTALLDIR}
make
make install
# imap
cd ${SRCDIR}/${IMAP}
make ldb
# Install targets are for wusses!
cp c-client/c-client.a ${INSTALLDIR}/lib/libc-client.a
cp c-client/*.h ${INSTALLDIR}/include
#PHP 4
cd ${SRCDIR}/${PHP}
./configure ${PHPFEATURES}
make
make install
#copy config file
mkdir -p ${INSTALLDIR}/etc/php4
cp ${SRCDIR}/${PHP}/php.ini-dist ${INSTALLDIR}/etc/php4/php.ini
#copy PHP CGI
mkdir -p ${HOME}/${DOMAIN}/cgi-bin
chmod 0755 ${HOME}/${DOMAIN}/cgi-bin
cp ${INSTALLDIR}/bin/php ${HOME}/${DOMAIN}/cgi-bin/php.cgi
echo ---------- INSTALL COMPLETE! ----------