PHP4 PHP5 under Apache 2.0

This is a discussion on PHP4 PHP5 under Apache 2.0 within the Windows Web Servers forums, part of the Web Server and Related Forums category; I just cleaned my comp, and I am trying to re-config my webserver... I am trying to setup apache ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-29-2004
Dave Pham
 
Posts: n/a
Default PHP4 PHP5 under Apache 2.0

I just cleaned my comp, and I am trying to re-config my webserver...


I am trying to setup apache 2 so it runs both php4 and php5, I also
have two instances of mysql running. I know this can be done cos it
had work before, but after this incident its not longer...


These are my directories for each:


Apache: D:\ServerRoot\Apache\Apache2
MySQL1: D:\ServerRoot\mysql1
MySQL2: D:\ServerRoot\mysql2
PHP4: D:\ServerRoot\php4
PHP5: D:\ServerRoot\php5
DocumentRoot: D:\FTPRoot


Why am I using two sql you may asked? Well, I have one for every
database of mine, and the second one is just for email database, in
case something happens.


This is what I don't want to do, having to move the dlls into the
windows directory.


I am using XP.


I did a loadmodule php5_module D:/ServerRoot/php5/php5apache2.dll and
one for php4 also


but I usually get this error back:
-----------------------------------------------------------------
PHP Startup: Unable to load dynamic library
"d:\serverroot\php5\ext\dllfile.dll" - The Specified module could not
be found.
-------------------------------------------------------------------


I know its in there cos I looked in there.


Another Error I get is:
------------------------------------------------------------------
Unknown(): (null): Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=1
PHP Compiled with module API=20040429, debug=0, thread-safety=1
These options need to match
-------------------------------------------------------------------
Hope that is enough information.

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:43 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0