Solved

Instaling Php 5.2.6

Posted on 2008-06-19
7
569 Views
Last Modified: 2013-12-15
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

0
Comment
Question by:dentrita
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 19

Expert Comment

by:http:// thevpn.guru
ID: 21828855
What distro are you using ?
0
 
LVL 32

Expert Comment

by:Kamran Arshad
ID: 21828905
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

0
 
LVL 1

Author Comment

by:dentrita
ID: 21830261
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
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 19

Expert Comment

by:http:// thevpn.guru
ID: 21830276
try yum install php
0
 
LVL 1

Author Comment

by:dentrita
ID: 21830490
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
0
 
LVL 1

Author Comment

by:dentrita
ID: 21830599
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
0
 
LVL 1

Accepted Solution

by:
dentrita earned 0 total points
ID: 21833605
I found the solution the solution is

http://marc.info/?l=php-general&m=121362535301549&w=2
and i congure php like this

./configure --with-apxs2=/usr/local/Apache2/bin/apxs --with-mysql --prefix=/usr/local/Apache2/php  --enable-force-cgi-redirect --disable-cgi --with-zlib --with-gettext --with-mssql=/usr/local/freetds --without-pear

0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question