cannot load php5apache2_2.dll

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

    cannot load php5apache2_2.dll

    I'v downloaded the newest apache and php versions.

    Apache and PHP instalation and starting went without problems.

    I set the ini file into the windows / system32
    After that i was trying to set the *.conf file in C:/program files/apache
    group /apache2/conf/.

    In the part of Dynamic Shared Object (DSO) Support i set:

    LoadModule php5_module modules/php5apache2_2.d ll

    AddType application/x-httpd-php .php .phtml .php3 .php4
    AddType application/x-httpd-php-source .phps

    Restart server : error
    Exit server:
    Start/programs/apache HTTP server 2.0/control apache server /start
    Command prompt: syntax error on line 174 of c:/program files/apache
    group/apache2/ httpd.conf
    Cannot load c:\php\php5apac he2_2.dll into server. The specific file could
    not be found.

    The file * php5apache2_2.d ll * is in the C:\php\ directory and i was trying
    to put him into modules directory but the error is the same.
    As far as i can see on the net i'm not the only one with this error..

    Any idea ?


  • PhpNew

    #2
    Re: cannot load php5apache2_2.d ll

    "PhpNew" <mail@mail.comw rote in message
    news:gb7us1$u5p $1@localhost.lo caldomain...
    I'v downloaded the newest apache and php versions.
    >
    Apache and PHP instalation and starting went without problems.
    >
    I set the ini file into the windows / system32
    After that i was trying to set the *.conf file in C:/program files/apache
    group /apache2/conf/.
    >
    In the part of Dynamic Shared Object (DSO) Support i set:
    >
    LoadModule php5_module modules/php5apache2_2.d ll
    >
    AddType application/x-httpd-php .php .phtml .php3 .php4
    AddType application/x-httpd-php-source .phps
    >
    Restart server : error
    Exit server:
    Start/programs/apache HTTP server 2.0/control apache server /start
    Command prompt: syntax error on line 174 of c:/program files/apache
    group/apache2/ httpd.conf
    Cannot load c:\php\php5apac he2_2.dll into server. The specific file could
    not be found.
    >
    The file * php5apache2_2.d ll * is in the C:\php\ directory and i was
    trying to put him into modules directory but the error is the same.
    As far as i can see on the net i'm not the only one with this error..
    >
    Any idea ?
    *************** ***************
    I run the http://www.dependencywalker.com/. and set the

    PATH=%SystemRoo t%;%SystemRoot% \System32;C:\ph p;C:\program files\apache
    group\apache2\b in int httpd.conf ( disabling the loadModule)

    cmd: Depends.exe c:/home/php/php5apache2_2.d ll
    Message: php5apache2_2.d ll contains invalid path

    So what to do now... should i get some older php version ?


    Comment

    • Jerry Stuckle

      #3
      Re: cannot load php5apache2_2.d ll

      PhpNew wrote:
      I'v downloaded the newest apache and php versions.
      >
      Apache and PHP instalation and starting went without problems.
      >
      I set the ini file into the windows / system32
      After that i was trying to set the *.conf file in C:/program files/apache
      group /apache2/conf/.
      >
      In the part of Dynamic Shared Object (DSO) Support i set:
      >
      LoadModule php5_module modules/php5apache2_2.d ll
      >
      AddType application/x-httpd-php .php .phtml .php3 .php4
      AddType application/x-httpd-php-source .phps
      >
      Restart server : error
      Exit server:
      Start/programs/apache HTTP server 2.0/control apache server /start
      Command prompt: syntax error on line 174 of c:/program files/apache
      group/apache2/ httpd.conf
      Cannot load c:\php\php5apac he2_2.dll into server. The specific file could
      not be found.
      >
      The file * php5apache2_2.d ll * is in the C:\php\ directory and i was trying
      to put him into modules directory but the error is the same.
      As far as i can see on the net i'm not the only one with this error..
      >
      Any idea ?
      >
      >
      >
      You also need to ensure the other files needed by php are in the PATH
      environment variable, i.e. php5ts.dll, etc.

      The easiest way is to put your php directory in the PATH environment
      variable.

      Also, I normally just load the PHP dll directly from the PHP directory, i.e.

      LoadModule php5_module c:/php5/php5apache2_2.d ll

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

      Comment

      Working...