Re: PHP Not working in Virtual Directory on IIS6.0

Richard Quadling <[email protected]>
Newsgroups gmane.comp.php.windows
Message-ID <[email protected]>
2009/6/13 No1uno <[email protected]>:
> I have PHP 4.4.2 running on a Windows with IIS6.0 with no problems, but when
> I try to view an php in a virtual directory I get the below error. Also here
> is a link to a phpinfo file in the offending directory.
>
> https://secured.hobbywebhosting.com/oceanfresh/info.php
>
> Anyone have any suggestions?
> Thanks
>
> "PHP Warning: Unknown(): (null): Unable to initialize module Module compiled
> with module API=20050922, debug=0, thread-safety=1 PHP compiled with module
> API=20020429, debug=0, thread-safety=1 These options need to match in
> Unknown on line 0 PHP Warning: Unknown(): (null): Unable to initialize
> module Module compiled with module API=20050922, debug=0, thread-safety=1
> PHP compiled with module API=20020429, debug=0, thread-safety=1 These
> options need to match in Unknown on line 0 PHP Warning: Unknown(): (null):
> Unable to initialize module Module compiled with module API=20050922,
> debug=0, thread-safety=1 PHP compiled with module API=20020429, debug=0,
> thread-safety=1 These options need to match in Unknown on line 0 PHP
> Warning: Unknown(): (null): Unable to initialize module Module compiled with
> module API=20050922, debug=0, thread-safety=1 PHP compiled with module
> API=20020429, debug=0, thread-safety=1 These options need to match in
> Unknown on line 0 PHP Warning: Unknown(): (null): Unable to initialize
> module Module compiled with module API=20050922, debug=0, thread-safety=1
> PHP compiled with module API=20020429, debug=0, thread-safety=1 These
> options need to match in Unknown on line 0 PHP Warning: Unknown(): (null):
> Unable to initialize module Module compiled with module API=20050922,
> debug=0, thread-safety=1 PHP compiled with module API=20020429, debug=0,
> thread-safety=1 These options need to match in Unknown on line 0"
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Your extensions and your PHP version don't tie up.

You can't mix a V4 extension into a V5 installation, or a nts and ts
extension, etc.

I would recommend turning off all the extensions and making sure the
basic PHP installation is operational. Then turn each extension on one
at a time until you see the error.

Alternatively, re-install PHP from a clean source.

Richard.

-- 
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.