Apache php module docs?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mark Space

    Apache php module docs?

    Hi all, I'm looking for the docs on the php module. Ol' Apache says
    that the docs for LoadModule come from that module (PHP in this case)
    but unfortuanlely I can't find it.

    Is php5apache2_2.d ll what I should be loading into Apache?

    I could really use a point to some docs. Thanks!
  • ajtrichards@googlemail.com

    #2
    Re: Apache php module docs?

    On Mar 28, 10:18 pm, Mark Space <marksp...@sbc. global.netwrote :
    Hi all, I'm looking for the docs on the php module.  Ol' Apache says
    that the docs for LoadModule come from that module (PHP in this case)
    but unfortuanlely I can't find it.
    >
    Is php5apache2_2.d ll what I should be loading into Apache?
    >
    I could really use a point to some docs. Thanks!
    php5apache2_2.d ll is for use with apache v.2.2.

    The dll that you use depends on the version of apache your running.
    What is your version?

    Comment

    • Mark Space

      #3
      Re: Apache php module docs?

      ajtrichards@goo glemail.com wrote:
      On Mar 28, 10:18 pm, Mark Space <marksp...@sbc. global.netwrote :
      >Hi all, I'm looking for the docs on the php module. Ol' Apache says
      >that the docs for LoadModule come from that module (PHP in this case)
      >but unfortuanlely I can't find it.
      >>
      >Is php5apache2_2.d ll what I should be loading into Apache?
      >>
      >I could really use a point to some docs. Thanks!
      >
      php5apache2_2.d ll is for use with apache v.2.2.
      >
      The dll that you use depends on the version of apache your running.
      What is your version?
      Apache 2.2.6

      My config is:
      LoadModule php5_module php5apache2_2.d ll
      AddType application/x-httpd-php .php
      AddType application/x-httpd-php-source .phps

      But I'd like to find some docs, I have no idea really what these do,
      even if I can guess.

      Comment

      • Mark Space

        #4
        Re: Apache php module docs?

        ajtrichards@goo glemail.com wrote:
        <?php
        >
        phpinfo();
        >
        ?>
        >
        Yes, I have this for testing. It wasn't working before, but it is now.
        If this is processed correctly then PHP is working fine.
        >
        In my setup i'm running Apache 2.0.59 and I have
        LoadModule php5_module "C:/php/php5apache2.dll "
        Yes, the quotes and the absolute path seem to be necessary.

        Before, I had copied my php .dll to the Apache modules directory, and
        the .dll (and executable) for PHP are in the path. Why wouldn't all
        that work? That's why I need the docs. The info on LoadModule on the
        Apache website is really pathetic.

        Thanks for your help, it appears to be working now.

        Comment

        • Mark Space

          #5
          Re: Apache php module docs?

          ajtrichards@goo glemail.com wrote:
          In my setup i'm running Apache 2.0.59 and I have
          >
          PHPIniDir "C:/php/"
          LoadModule php5_module "C:/php/php5apache2.dll "
          Just FYI, I re-installed PHP just now (well, actually I added the
          mysql.dll for PHP) and PHP stopped working for some reason in Apache.

          After poking around a bit, I noticed that the installer had added the
          PHPIniDir in my httpd.conf file, where I didn't have it before. So I
          commented that line out, restarted, and suddenly PHP is working again.

          Any ideas why?

          But in general, yeah watch out for PHPIniDir, it might cause problems. I
          have everything on my PATH already, maybe that's why it worked before.
          I can't figure out why that line would stop PHP from working if it
          worked before though...

          Comment

          Working...