Problem to install PHP-5.3.1
Hi,
I am trying to install PHP-5.3.1 on a vps. i have downloaded the php file and extracted it also. But when i try to compile the file get error like:
# ./configure .with-apache=../httpd .with-config-file-path=/www/conf .enable-track-vars
configure: warning: .with-apache=../httpd: invalid host type
configure: warning: .with-config-file-path=/www/conf: invalid host type
configure: error: can only configure for one host and one target at a time
and when tried with
# ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
can you please help me to get complete the installation ?
Thank you,
|