Page 3 of 3 First 123
  • Jump to page:
    #31
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2008
    Posts
    1
    Rep Power
    0

    Cannot load php5apache2.dll .. not found?


    Solution to the problem
    Cannot load php5apache2.dll

    php5ts.dll Code:
     
    From the directory where install php copy the
    file php5ts.dll to "C:\windows\system32"

    Apache now init OK and PHP is running.
  2. #32
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2008
    Posts
    1
    Rep Power
    0

    Solution Worked


    Thanks!

    This worked for me, Apache 2:

    Download the stable version. Unzip it and overide to your current php folder.

    php-5.2-win32-VC6-x86-latest.zip

    You will see php5apache2_2.dll inside your /php folder. Rename it to php5apache2.dll after you delete the previous php5apache2.dll.

    I saved my existing /php/php.ini file and copied it back. Everything worked fine.
  4. #33
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2009
    Posts
    1
    Rep Power
    0
    I had the same problem but it was rather simple to fix. It all depends on what apache version you are running. Use the correct php5apache file for your apache version.
  6. #34
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2010
    Posts
    1
    Rep Power
    0

    APACHE 2.2.13 with PHP5 with MySql working fine At last.


    Hi,

    I had the same problem but solved easily, I did following;

    I was having good running Apache 2.2 with usual configuration file i.e. there was no modification.

    I removed my php installation
    downloaded php-5.2.13-nts-Win32-VC6-x86.msi

    from

    php.net website download section.

    During installation, it asked webserver, I selected Apache 2.2.x, It did everything automatically and my PHP5 is working fine.

    You need not to go into mess of php5apache2.dll or similar renaming of files, just let it do automatically.
    Hope it will help.
  8. #35
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2010
    Posts
    1
    Rep Power
    0

    Working finally!


    finally got this set up to work!

    make sure that php.ini is in C:\Windows folder

    To get php5 & apache 2.x to work you need to add this to http.conf below modules section
    Code:
    LoadFile "C:/PATH/TO/Apache2/bin/php5ts.dll"
    LoadModule php5_module /PATH/TO/APACHE/modules/php5apache2.dll
    AddType application/x-httpd-php .php
    change the paths as needed, and make sure the files are actually there (move them from the php directory)

    finally to get mysql working -

    uncomment this line in php.ini

    Code:
    extension=php_mysql.dll
    and set this line to php folder's ext dir

    Code:
    extension_dir="C:/PATH/TO/PHP/ext"
    The lack of a loadfile line in http.conf was what messed me up...
  10. #36
  11. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2009
    Posts
    6
    Rep Power
    0

    Cool


    Wow.

    I'm so stupid I shouldn't be allowed to run software at all. Check this out. I'm running Apache2 on my XP since a long way back. Today I decided to try PHP. I had two options. "VC6" and "VC9". I know (or think I know) this is two different versions of a Windows-based compiler. Therefor, I just thought to myself, "the later, the better" and downloaded the VC9 version.

    I've been struggling with installation for some time now. First thing that hit me, during install, "wtf shouldn't Apache2 come up as an alternative? I only have 'IIS', 'Other CGI', and 'None' for options here". But then thought "Ah what the heck, perhaps "other" invokes Apache2. To my great confusion, PHP scripts did not parse on localhost after install.

    I tried lots of stuff, eg. rebooting my system. Nothing. Then I found this thread, with thread start back in 2006. At first I was looking for the "php5apache2.dll", but then I happened to read something about VC6. I then returned to the PHP.net website, and read a little bit closer than just bam-rushing to the first clickable download link.

    " Do NOT use VC9 version with apache.org binaries "
    Gosh, I feel so stupid. I'm on to a new installation now. I assume that it will work straight out of the box now. I post this just to submit to my foolishness. Thanks for helping me out thought.
  12. #37
  13. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2011
    Posts
    1
    Rep Power
    0

    Apache + PHP (Windows Installer versions)


    This config httpd.conf for apache works for me after hours of fighting and googling:

    #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
    PHPIniDir "c:\php\"
    LoadModule php5_module "c:\php\php5apache2_2.dll"
    #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

    VERSION:
    httpd-2.2.17-win32-x86-no_ssl.msi
    php-5.3.5-Win32-VC6-x86.msi

    PEAR signature issue:
    go-pear.bat modify to

    @ECHO OFF
    set PHP_BIN=php.exe
    %PHP_BIN% -d output_buffering=0 -d phar.require_hash=0 PEAR\go-pear.phar
    pause

    Cheers !!!
  14. #38
  15. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2011
    Posts
    1
    Rep Power
    0
    I installed apache 2.2 and php 5.14. I received error message "can't load module php5apache2.dll". I didn't have this kind of problem in apache 2.058.

    hopefully, a new php5apache2.dll will solve this problem. thanks
  16. #39
  17. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2012
    Posts
    1
    Rep Power
    0
    people who say that they cant load php5apache2.dll/php5apache2_2.dll.please check that for using apache you should download VC6 version of php.VC9 will not work..
  18. #40
  19. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2012
    Posts
    1
    Rep Power
    0

    Still won't work for me.


    Hi,

    I have installed Apache 2.2 and proceeded to install php-5.2.17-win32-vc6-x86.msi from the php.com download page.

    I selected apache2.2 for the webserver when prompted by the php install wizard. However I am still getting the same problem as everyone else on this thread which is the cannot load php5apache2_2.dll error.

    I have also tried reinstalling with different versions of apache/php and have tried changing php5apache2_2.dll to php5apache2.dll and still no luck.

    None of the above solutions work for me so now I am at a loss of how to fix this, please help! <<<<what I am doing now.
Page 3 of 3 First 123
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo