Install Question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jay Bird

    Install Question

    I installed PHP5, Apache2 and OpenSSL on my Debian woody server.
    Everything seems to have installed fine without any complaints.

    I can bring up my .php test page fine on the ssl https. But when I try
    to bring it http up on port 80 I get the download-a-document and
    what-do-you-want-to-open-it with dialogue box, as if there is no PHP on
    the machine at all.

    Is the problem in the php.ini file and/or the httpd.conf file?

    I want PHP to be available to http and https for all hosted sites
    including virtual hosts.

    Any suggestions or other info would be appreciated.

  • Jerry Stuckle

    #2
    Re: Install Question

    Jay Bird wrote:[color=blue]
    > I installed PHP5, Apache2 and OpenSSL on my Debian woody server.
    > Everything seems to have installed fine without any complaints.
    >
    > I can bring up my .php test page fine on the ssl https. But when I try
    > to bring it http up on port 80 I get the download-a-document and
    > what-do-you-want-to-open-it with dialogue box, as if there is no PHP on
    > the machine at all.
    >
    > Is the problem in the php.ini file and/or the httpd.conf file?
    >
    > I want PHP to be available to http and https for all hosted sites
    > including virtual hosts.
    >
    > Any suggestions or other info would be appreciated.
    >[/color]

    It would be your httpd.conf file. PHP itself doesn't know (or care) if SSL is
    being used or not (other than in the $_SERVER variable).

    --
    =============== ===
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    • Jay Bird

      #3
      Re: Install Question

      Jerry Stuckle wrote:

      [color=blue]
      > It would be your httpd.conf file. PHP itself doesn't know (or care) if SSL is
      > being used or not (other than in the $_SERVER variable).
      >[/color]


      I didn't know if a path issue might be going on in php.ini.

      Comment

      • Jerry Stuckle

        #4
        Re: Install Question

        Jay Bird wrote:[color=blue]
        > Jerry Stuckle wrote:
        >
        >
        >[color=green]
        >>It would be your httpd.conf file. PHP itself doesn't know (or care) if SSL is
        >>being used or not (other than in the $_SERVER variable).
        >>[/color]
        >
        >
        >
        > I didn't know if a path issue might be going on in php.ini.
        >[/color]

        You may have a path problem in your PHP.INI file - but it would have nothing to
        do with SSL.

        --
        =============== ===
        Remove the "x" from my email address
        Jerry Stuckle
        JDS Computer Training Corp.
        jstucklex@attgl obal.net
        =============== ===

        Comment

        Working...