php-windows Digest 14 Jun 2009 02:36:11 -0000 Issue 3643

Topics (messages 29400 through 29401):

Re: PHP Not working in Virtual Directory on IIS6.0
        29400 by: Richard Quadling

Using Images in PHP]
        29401 by: Katiyar (GMail)

Administrivia:

To subscribe to the digest, e-mail:
        [email protected]

To unsubscribe from the digest, e-mail:
        [email protected]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
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!"

--- End Message ---
--- Begin Message ---

Hi List,

I have PHP 5.28 with apache 2.2

How can i use images in PHP, i want to create a site where user will create their profiles.

i heard something about Imagick class, but no idea how to use it,

I mean do in need to install something extra(some extension or what).
because when i write a code something like.

*1.    <?php
2.        $image = new Imagick('images/pkk.jpg');
3.        // If 0 is provided as a width or height parameter,
4.        // aspect ratio is maintained
5.        $image->thumbnailImage(100, 0);
6.        echo $image;
7.    ?>

*I get the error on line # 1, that means i am not able to create the object for I magick class.

i think i need help in installing configuring the Imagick extension.

please suggest.

praveen.,


--- End Message ---

Reply via email to