ID:               24416
 Comment by:       aaron at gwmicro dot com
 Reported By:      ldf13 at hotmail dot com
 Status:           Bogus
 Bug Type:         Apache2 related
 Operating System: Windows XP
 PHP Version:      5CVS-2003-06-30 (dev)
 New Comment:

nuno,

Thanks for the info. What you noted still didn't work for me, but it
did prompt me to keep trying. Finally, I had success. Here's what I had
to do:

copy x:/php/php4ts.dll to x:/php/sapi
copy x:/php/dlls/iconv.dll to x:/php

Plus the obligatory:
LoadModule php5_module c:/php/sapi/php4apache2.dll
AddType application/x-httpd-php .php

A little frustrating that there appear so many different solutions in
terms of where to copy what (unless we -- you, me, and a host of Google
groupers -- keep mistyping things). But at least it works for now.

Thanks for your help,

Aaron


Previous Comments:
------------------------------------------------------------------------

[2003-07-02 12:54:49] nuno at dbforums dot com

Sure Aaron, copy the files:

php4ts.dll
iconv.dll

to c:/php/sapi/

Then simply add this to your httpd.conf file:

LoadModule php5_module c:/php/sapi/php4apache2.dll
AddType application/x-httpd-php .php

Once that's all done, restart Apache. :)
NET STOP APACHE2
NET START APACHE2

------------------------------------------------------------------------

[2003-07-02 09:59:31] aaron at gwmicro dot com

nuno,

Would you care to enlighten the rest of us (me)? 

Aaron

------------------------------------------------------------------------

[2003-07-01 22:06:05] nuno at dbforums dot com

Thankfully to strace (an amazing little tool BTW) and install.txt
(duh), I finally managed to install PHP5 with Apache2.0.46.

Therefore, I need to eat my words and I would like to take this
opportunity to present my sincere apologies to the PHP Team.
To sniper, a special thank you for his support.

Best wishes,

nuno :)

------------------------------------------------------------------------

[2003-07-01 16:37:55] aaron at gwmicro dot com

I take back my comments about getting this working, sort of. I still
have one machine running Apache2 2.0.46, and PHP 5.0.0b2-dev
successfully. I have another machine, however, running Apache2 2.0.46
and PHP 5.0.0b2-dev unsuccessfully. What bothers me is that the paths
on both systems are EXACTLY the same. So I copied both the Apache2 dir,
and the PHP dir to the second machine thinking that, since everything
is already working, it ought to just work on the second machine.
Foolish me:

Cannot load D:/PHP/sapi/php4apache2.dll into server: The specified
procedure could not be found.

"Specified procedure could not be found." Hmmm...that is certainly
different from the original error of "The
specified module could not be found." We're finding the module, but
we're not finding the procedure, which makes me think that the
php4apache2.dll ain't the right one for this Apache (I remember
fighting this battle with the PHP 4.3.X versions), but it works
perfectly on the first machine, and the directories are identical!

Color me confused...

Both machines are Windows XP Pro, Athlon 1.4Ghz, 512MB RAM, practically
identical in every way, including the software that is installed. 

Aaron

------------------------------------------------------------------------

[2003-07-01 13:37:53] nuno at dbforums dot com

Please forgive my ignorance but, how's that suppose to help?
[quote]
"Syntax error on line 169 of C:/Apache2/conf/httpd.conf:
Cannot load C:/Apache2/modules/php4apache2.dll into server: The
specified module could not be found"
[/quote]

Line 169: LoadModule php5_module modules/php4apache2.dll

Can you enlighten me further about this error and how to resolve it?

Thank you.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/24416

-- 
Edit this bug report at http://bugs.php.net/?id=24416&edit=1

Reply via email to