"Yonnermark" <yonnermark RemoveThis @hotmail.com> wrote in
news:34j22tF4ck73hU1@individual.net:
>> Plus, I use a package called
>> Xampp that has PHP, MySQL and Apache 2 all integrated in a single
>> install package, so I didn't have to set anything up.
>
> I was going to go down that route but I think both php.net and the
> apache website also recommends a manual install over combination
> packages. But I'm not a heavy user and if it works for you I think
> I'll give it a go also.
The apache folks and the PHP folks are both excessively cautious about such
things, for good reasons (for them). But those reasons don't necessarily
appliy to everyone.
No package is better than the people who put it together, but the xampp
folks are actively supporting it, and there aren't too many problems (and
those usually get fixed quickly). I'd recommend them, unless you have lives
or more money than you can afford to lose at stake on its utter
realibility. <a style='text-decoration: underline;' href="http://apachefriends.org/" target="_blank">http://apachefriends.org/</a>
Takes less time to install than to download (and I'm on a T-1). Be sure to
look up the forum, if you have any issues.
>
>> Try
>> searching for php5apache2.dll, and if you find it, change the
>> reference to that.
>
> I actually didn't understand that suggestion. What is the reference
> that you refer to?
>
The error you are receiving is from Apache trying to load a file called
php4apache2.dll. It is told to do so by the httpd.conf file, which I'm
assuming you know how to find because you can't have gotten to this point
without having edited it already.
What you need to do (I think) is open up that httpd.conf file, and do a
search for that file name. You should find two lines, probably:
LoadFile "c:/apachefriends/xampp/apache/bin/php4ts.dll"
LoadModule php4_module "c:/apachefriends/xampp/apache/bin/php4apache2.dll"
They may or may not be together.
Change the php4 in both of them to php5. Leave the rest alone.
Those are the only differences I see in the two httpd.conf files I have
(xampp comes with templates for both PHP4 and PHP5).
You'll have to stop and restart Apache for the changes to take effect.
--
Terry Austin
<a style='text-decoration: underline;' href="http://www.hyperbooks.com" target="_blank">www.hyperbooks.com</a>
Campaign Cartographer now available<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Apache 2 and PHP 5 -