how to install php on unix

Posted on 2006-06-07
Last Modified: 2013-12-13
Hey all,

I need to install PHP on my unix server (iplanet) in order to run the Invision Power Board (which also uses MSSQL - already in place). I'm having a heckuva time locating a simple instruction guide on how to do this. I'm a PHP newbie. Any suggestions?

Question by:sdowns1122
    LVL 6

    Accepted Solution


    you can download the files from too.
    LVL 51

    Assisted Solution

    cd /path/to/unpacked/php/sources
    more README
    more INSTALL
    make && make test && make install

    Assisted Solution

    Because you're trying to hit MSSQL from a Unix machine, you'll need to install FreeTDS before you can compile PHP. FreeTDS is the Open Source implementation of the Tabular Data Streams protocol that Sybase and SQLServer use.

    It's not *real* simple to get it all going your first time. If this is a production box, you'll be making a mess in there while you download everything, recompiling, deleting your sources and extracting again. You may want to use a VMware machine or something and try it out a few times first.
    At, do a search for mssqlconnect and there's a plethora of instructions on rolling your own.

    XAMPP is another good option as you extract it and its up and running. It may not be the most brilliant option if you expect the machine to be serving hundreds of thousands of hits a day or multiple sites for different users. It isn't configured to be a very good service provider type of system, but FreeTDS and all the other goodies for PHP are already there.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
    Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
    Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

    746 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

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now