CodingNeed file: php4apache2.dll

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  Matt  
 To:  Peter (BOUGHTONP)      
30482.3 In reply to 30482.1 
http://uk.php.net/get/php-4.4.4-Win32.zip/from/a/mirror

That is all you need.

Extract the zip file to a temporary folder and copy all the .dll files from the distribution including those in the dlls, extension and sapi sub-directories to C:\Windows\System32.

Copy php.ini to C:\Windows and edit it. Change the extension_dir setting so it reads:

code:
extension_dir = "C:/Windows/System32/"


Save it.

Edit Apache's httpd.conf and add:

code:
LoadModule php4_module "C:/Windows/System32/php4apache2.dll"
AddType application/x-httpd-php .php


Restart Apache.

If that doesn't work then you've broken something else somewhere.

And if you don't fancy having PHP's .dll files in system32 you can accomplish the same by copying all the files to a directory of your choosing and adding it to your PATH system variable.

It's really that simple.

doohicky

0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)   
 To:  Matt     
30482.4 In reply to 30482.3 
quote:


Except I don't fancy downloading 8MB over GPRS. :(

I could have sworn I'd downloaded PHP5, but all I can find is an installer for 4.3.11 (with only 3 DLLs - php4apache, php4isapi, php4ts) and phpDev 423 which has lots of extensions and stuff, 54 in total.

Using those and with php4apache2 I get "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix the problem."

Does that mean it's a php.ini problem?
0/0
 Reply   Quote More 

 From:  Matt  
 To:  Peter (BOUGHTONP)      
30482.5 In reply to 30482.4 
No. That sounds more like a dependency error caused by the MSVC runtime or lack there of.

doohicky

0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)   
 To:  Matt     
30482.6 In reply to 30482.5 
Bugger. :/

I think I might just start from scratch on my other machine, and see about putting PHP5 on this one on monday or tuesday.
0/0
 Reply   Quote More 

Reply to All    
 

1–6

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats