Micro Niche Builder
+ Reply to Thread
Results 1 to 2 of 2

Thread: How do I install PHP as a CGI?

  1. #1

    Default How do I install PHP as a CGI?

    Hi,
    What you need to do is to run:

    ./configure --without-apache --without-apxs --with-other-options

    It will tell you that as you are building it without Apache support, it is building it as a CGI binary.

    Then do make ; make install and it should then be installed (/usr/local/bin/php by default)
    Thanks & regards,
    Lokananth
    Live Chat Software By miOOt


  2. Micro Niche Builder

  3. #2

    Default

    There is simple reason behind why you get 'No input file specified' because you have not set the 'doc_root' (in php.ini) to a value which is to the 'DocumentRoot' defined in the apache configuration.

+ Reply to Thread

Similar Threads

  1. How to Install WordPress
    By gilbertsavier in forum Content Management
    Replies: 6
    Last Post: 12-30-2009, 12:35 PM
  2. How to Install Drupal
    By gilbertsavier in forum Content Management
    Replies: 4
    Last Post: 10-24-2009, 02:19 AM
  3. How to install PHP on Apache?
    By gilbertsavier in forum Apache
    Replies: 1
    Last Post: 08-25-2009, 09:21 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts