Link to home
Start Free TrialLog in
Avatar of dentrita
dentrita

asked on

Instaling Php 5.2.6

Hi i already install apache  2.2.9 correctly and freetds 0.82 now i am tring to install php 5.2.6 and i am geting the following error
this are the steps that i am using
./configure --with-apxs2=/usr/local/Apache2/bin/apxs --with-mysql --prefix=/usr/local/Apache2/php --with-config-file-path=/usr/local/Apache2/php --enable-force-cgi-redirect --disable-cgi --with-zlib --with-gettext --with-gdbm --with-mssql=shared,/usr/local/freetds
no errors
make
no errors
make install
i am geting this error
...
Installing PEAR environment:      /usr/local/Apache2/php/lib/php/
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2

some one can help me

Avatar of http:// thevpn.guru
http:// thevpn.guru
Flag of Denmark image

What distro are you using ?
Hi,

In your ./configure line, "--with-mssql=shared,/usr/local/freetds" should not have a ',' after shared.It should be:

--with-mssql=shared/usr/local/freetds

Avatar of dentrita
dentrita

ASKER

Fedora core 4
uetian1707:
i remove the ',' and now i get this error i am sure that this the path of instalation
configure: error: Directory shared/etc/freetds/ is not a FreeTDS installation directory
try yum install php
this error i get it when i try to configue the php with this comand

./configure --with-apxs2=/usr/local/Apache2/bin/apxs --with-mysql --prefix=/usr/local/Apache2/php --with-config-file-path=/usr/local/Apache2/php --enable-force-cgi-redirect --disable-cgi --with-zlib --with-gettext --with-gdbm --with-mssql=shared/usr/local/freetds

i remove the ',' and now i get this error i am sure that this the path of instalation
configure: error: Directory shared/etc/freetds/ is not a FreeTDS installation directory
i configure the freetds this this configuration

./configure --with-tdsver=8.0 --enable-msdblib --enable-dbmfix
--with-gnu-ld --enable-shared --enable-static --prefix=/usr/local/freetds

dentrita
sorry
THIS IS THE ERROR
configure: error: Directory shared/usr/local/freetds is not a FreeTDS installation directory
NOT
configure: error: Directory shared/etc/freetds/ is not a FreeTDS installation directory
ASKER CERTIFIED SOLUTION
Avatar of dentrita
dentrita

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial