php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37893 Uncomment any extension in the ini file on windows load warning about module
Submitted: 2006-06-22 18:38 UTC Modified: 2006-06-22 22:17 UTC
From: baaron13 at hotmail dot com Assigned:
Status: Not a bug Package: *Compile Issues
PHP Version: 5.1.4 OS: Windows 2003
Private report: No CVE-ID: None
 [2006-06-22 18:38 UTC] baaron13 at hotmail dot com
Description:
------------
New windows 2003 sp1 box with Microsoft sql 2005 server installed.

Installed PHP 5.1.4 and PECL modules 5.1.4 for windows binary

Everything works fine and my scripts run. But when windows loads I get the following warning over and over (10 to 20 times)

Unknow(): (null): Unable to intialize module

Module compiled with module API=20050922, debug=0, thread_saftey=1

PHP compiled with module API 20020429, debug=0, thread-saftey=1

If I comment out the extensions in the ini I don't get the message. I tried just the mssql extension and I GET the error message on windows load but the module still works.. I can connect to the sql server.

Only changes made to the ini (using the recommended one) are the 
session.save_path  
browscap 
cgi.force_redirect set to 0 
extension_dir

using the isapi


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-22 18:55 UTC] tony2001@php.net
Apparently you forgot to update php5ts.dll or some other DLL, which came with older PHP version.
Not PHP problem.
 [2006-06-22 21:07 UTC] baaron13 at hotmail dot com
This a brand new install of php on a brand new install of windows using the windows binary from php.net 5.1.4.

So how am I getting old dll's ???
 [2006-06-22 21:12 UTC] tony2001@php.net
Ask those who installed PHP 4.3.0 there.
>PHP compiled with module API 20020429, debug=0, thread-saftey=1
                             ^this number means it's 4.3.0 or 4.3.1.
 [2006-06-22 21:23 UTC] baaron13 at hotmail dot com
I don't think you understand 

I installed a fresh windows 2003 
I installed PHP 5.1.4..... THATS IT period, no php 4 nothing
No one else has touched the box.

So if that is it tell me if this is a bug or an installation problem. Because if what I said above is true... and it is... then how did I get old dlls????? or how do I update the one I need?
 [2006-06-22 21:52 UTC] baaron13 at hotmail dot com
I found out what was wrong. I'm running this on a HP Proliant box and they have a configuration app in another directory that is using some form of php 4. I think I know what the problem is but I don't know the solution and I know this isn't the place for this type of question.... Please delete.... and shoot me an email if you know a solution :)
 [2006-06-22 22:17 UTC] fmk@php.net
Make sure you don't have any PHP files in folders included in your path. If the HP application installed files in \windoww or any other folders these can me moved to the same directory as the rest of the application. This will allow you to run multiple versions of PHP on the same box.

You might want to do the same with php.ini.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 08:01:28 2024 UTC