Solved

Instaling Php 5.2.6

Posted on 2008-06-19
7
567 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
  • 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

840 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