Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Instaling Php 5.2.6

Posted on 2008-06-19
7
Medium Priority
?
573 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
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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month10 days, 14 hours left to enroll

885 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