Advertisement

04.26.2007 at 11:19AM PDT, ID: 22536667
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.4

Add MSSQL to PHP

Asked by M256 in PHP Scripting Language, Apache Web Server, PHP Installation

Tags:

I am new to Linux and am trying to blunder my way through adding the mssql server functions to PHP
http://us.php.net/mssql

I have the default installations of PHP and Apache.
PHP Version 4.3.9
Apache 2.0.52

I was told to recompile PHP with this argument: --with-mssql=/usr/local
I created this script:

cd php-4.4.6
./configure \
  --build=x86_64-redhat-linux \
  --host=x86_64-redhat-linux \
  --target=x86_64-redhat-linux-gnu \
  --program-prefix= \
  --prefix=/usr \
  --exec-prefix=/usr \
  --bindir=/usr/bin \
  --sbindir=/usr/sbin \
  --sysconfdir=/etc \
  --datadir=/usr/share \
  --includedir=/usr/include \
  --libdir=/usr/lib64 \
  --libexecdir=/usr/libexec \
  --localstatedir=/var \
  --sharedstatedir=/usr/com \
  --mandir=/usr/share/man \
  --infodir=/usr/share/info \
  --cache-file=../config.cache \
  --with-config-file-path=/etc \
  --with-config-file-scan-dir=/etc/php.d \
  --enable-force-cgi-redirect \
  --disable-debug \
  --enable-pic \
  --disable-rpath \
  --enable-inline-optimization \
  --with-bz2 \
  --with-db4=/usr \
  --with-curl \
  --with-exec-dir=/usr/bin \
  --with-freetype-dir=/usr \
  --with-png-dir=/usr \
  --with-gd=shared \
  --enable-gd-native-ttf \
  --without-gdbm \
  --with-gettext \
  --with-ncurses=shared \
  --with-gmp \
  --with-iconv \
  --with-jpeg-dir=/usr \
  --with-openssl \
  --with-png \
  --with-pspell \
  --with-xml \
  --with-expat-dir=/usr \
  --with-dom=shared,/usr \
  --with-dom-xslt=/usr \
  --with-dom-exslt=/usr \
  --with-xmlrpc=shared \
  --with-pcre-regex=/usr \
  --with-zlib \
  --with-layout=GNU \
  --enable-bcmath \
  --enable-exif \
  --enable-ftp \
  --enable-magic-quotes \
  --enable-safe-mode \
  --enable-sockets \
  --enable-sysvsem \
  --enable-sysvshm \
  --enable-track-vars \
  --enable-trans-sid \
  --enable-yp \
  --enable-wddx \
  --with-pear=/usr/share/pear \
  --with-imap=shared \
  --with-imap-ssl \
  --with-kerberos \
  --with-ldap=shared \
  --with-mysql=shared,/usr \
  --with-pgsql=shared \
  --with-snmp=shared,/usr \
  --with-snmp=shared \
  --enable-ucd-snmp-hack \
  --with-unixODBC=shared,/usr \
  --enable-memory-limit \
  --enable-shmop \
  --enable-calendar \
  --enable-dbx \
  --enable-dio \
  --enable-mbstring=shared \
  --enable-mbstr-enc-trans \
  --enable-mbregex \
  --with-mime-magic=/usr/share/file/magic.mime \
  --with-apxs2=/usr/sbin/apxs \
  --with-mssql=/usr/local \
  --enable-versioning \
  --disable-libxml

All these arguments except the last three come from phpinfo()

When I run the script, it dies with this error:
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS...

Sorry, I cannot run apxs.  Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)

The output of /usr/sbin/apxs follows:
./configure: line 5674: /usr/sbin/apxs: No such file or directory
configure: error: Aborting

Please help me install this module.Start Free Trial
[+][-]04.26.2007 at 11:40AM PDT, ID: 18984059

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.26.2007 at 11:56AM PDT, ID: 18984193

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.26.2007 at 12:05PM PDT, ID: 18984266

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.26.2007 at 01:00PM PDT, ID: 18984681

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.26.2007 at 01:06PM PDT, ID: 18984726

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.26.2007 at 07:17PM PDT, ID: 18986490

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.27.2007 at 02:42AM PDT, ID: 18987583

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.27.2007 at 03:20AM PDT, ID: 18987723

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.27.2007 at 07:57AM PDT, ID: 18989522

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.27.2007 at 08:26AM PDT, ID: 18989801

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.01.2007 at 02:58AM PDT, ID: 19006922

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.01.2007 at 03:03AM PDT, ID: 19006942

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.01.2007 at 08:03AM PDT, ID: 19008826

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.01.2007 at 08:06AM PDT, ID: 19008873

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.01.2007 at 11:26AM PDT, ID: 19010459

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.02.2007 at 03:52PM PDT, ID: 19019910

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.02.2007 at 11:21PM PDT, ID: 19021328

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.03.2007 at 05:47AM PDT, ID: 19022673

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.03.2007 at 06:14AM PDT, ID: 19022869

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: PHP Scripting Language, Apache Web Server, PHP Installation
Tags: php
Sign Up Now!
Solution Provided By: hernst42
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32