ID: 24416
Comment by: a_dogg550 at hotmail 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:
I finally got PHP5 to work with apache 2.0.47 thanks to everyone's
posts, but when I do a phpinfo() I get no MySQL statistics. I still
can't connect to my dB, is anyone else having this problem, or offer
suggestions to help?
thanks.
Previous Comments:
------------------------------------------------------------------------
[2003-07-27 16:23:11] levi at levifig dot net
I'm using Windows XP, Apache 2.0.47 and PHP 5.0.0b1 and i'm running
everything without a problem!
I changed the line to php5_module and i have all my 3 files
(php4ts.dll, php4apache2.dll and php.ini) in my Apache's /bin
directory. I load the module with a "php5_module bin/php4apache2.dll".
My Apache installation is under C:\Program Files\Apache Group\Apache2
and my PHP install is at (it doesn't matter as the needed files are
under the Apache's installation directory) c:\php
As a note, i do have all my dlls from php\dlls copied to
c:\windows\system32... i don't believe it makes any difference to this
subject, but i say it just in case! ;)
Good Luck to y'all! :> And gr33ts from Portugal! :X
------------------------------------------------------------------------
[2003-07-13 01:44:54] es_anubis at cogeco dot ca
Thanks.
I was having the exact same problem.
This is not our fault though, I think it was just a little thing which
the PHP dev team did not notice.
Do what the guy before my post said(aaron at gwmicro dot com), it
works.
------------------------------------------------------------------------
[2003-07-03 14:36:13] aaron at gwmicro dot com
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
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
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