Instal issues - php_imagick.dll & Php Sessions .. Help

Having trouble installing serendipity?
Post Reply
PaulF
Regular
Posts: 6
Joined: Sat Nov 25, 2006 5:44 pm

Instal issues - php_imagick.dll & Php Sessions .. Help

Post by PaulF »

Hi,

After setting up a home server over the last few weeks and installing php/mysql and loads of updates, patchs etc I was at last ready to install s9y ... so at 8 am on this lovely saturday morning i downloaded and installed this baby... a few hicups in setting up IIS paths and webaddress and the install worked fine... I noted the yellow text regarding imagick but ignored it.

but woe is me.... serp is all ikkly

I think I have two issues

1 ) php session paths.. fucked knows how to fix that !!!!
2 ) Imagick is not been found ....


W2k server - PHP 5.2.0 and IIS
Domain is www.sv-footprint.com

and I get the following -

PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP\ext\php_imagick.dll' - The specified module could not be found. in Unknown on line 0 PHP Notice: Undefined variable: serendipity in D:\sv-footprint.com\wwwroot\serendipity\index.php on line 20 PHP Warning: session_start() [function.session-start]: open(C:\DOCUME~1\ADMINI~1.WHI\LOCALS~1\Temp\php\upload\sess_hq6aim3337c7i060o7fr94k0u7, O_RDWR) failed: No such file or directory (2) in D:\sv-footprint.com\wwwroot\serendipity\serendipity_config.inc.php on line 6 PHP Warning: Unknown: open(C:\DOCUME~1\ADMINI~1.WHI\LOCALS~1\Temp\php\upload\sess_hq6aim3337c7i060o7fr94k0u7, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\DOCUME~1\ADMINI~1.WHI\LOCALS~1\Temp\php\upload) in Unknown on line 0




Help .. its now 8 hours later and I still cant get the bugger to work !
:shock:
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Instal issues - php_imagick.dll & Php Sessions ..

Post by garvinhicking »

Hi!

Sadly this is a general problem of your PHP installation. You will need to ask the PHP/Windows support for help, as it is unrelated to Serendipity.

Your DLL from imagemagick is invalid or from a wrong version, plus your session.write_path setting of php.ini points to an invalid/wrong path.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
PaulF
Regular
Posts: 6
Joined: Sat Nov 25, 2006 5:44 pm

Re: Instal issues - php_imagick.dll & Php Sessions ..

Post by PaulF »

garvinhicking wrote:Hi!

Sadly this is a general problem of your PHP installation. You will need to ask the PHP/Windows support for help, as it is unrelated to Serendipity.

Your DLL from imagemagick is invalid or from a wrong version, plus your session.write_path setting of php.ini points to an invalid/wrong path.

Best regards,
Garvin
Right, considering I installed all these.. with uptodate installers and patchs I understand why you say its php install rather than serp.. I never indicated it was serp issue just a general help request.....

Image * Dll was from the new php 5 installer direct from php webby itself and it appears that that the imagemagic website it self is unavailable ...

thanks for the php session path file location I can update that " ... I just needed to know where to look. so thats fine & done - cheers ..

So does anyone have a copy of php_imagick.dll for windows I can use....... ?
PaulF
Regular
Posts: 6
Joined: Sat Nov 25, 2006 5:44 pm

Re: Instal issues - php_imagick.dll & Php Sessions ..

Post by PaulF »

The only errors I have now are these two .

PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP\ext\php_imagick.dll' - The specified module could not be found. in Unknown on line 0

IIS - is there a setting I am missing in iis mappings ?
PHP ini file -
extension_dir =C:\Program Files\PHP\ext
and the dll is present.. i have downloaded other/older combos and no effect./..


? or something else



PHP Notice: Undefined variable: serendipity in D:\sv-footprint.com\wwwroot\serendipity\index.php on line 20

prolly related to above.... but havent looked at the php
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Instal issues - php_imagick.dll & Php Sessions ..

Post by garvinhicking »

Hi!

Does the DLL file exist that is mentioned in the error?

Try to use C:/Program Files/PHP/... instead of C:\Program Files\PHP\... ?

The last thing is a PHP notice. Usually you should set your error_reporting = E_ALL ~E_NOTICE so that Notices are supressed. However that specific Notice was fixed in Serendipity 1.1 snapshots for the upcoming release...

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
PaulF
Regular
Posts: 6
Joined: Sat Nov 25, 2006 5:44 pm

Re: Instal issues - php_imagick.dll & Php Sessions ..

Post by PaulF »

garvinhicking wrote:Hi!

Does the DLL file exist that is mentioned in the error?

Try to use C:/Program Files/PHP/... instead of C:\Program Files\PHP\... ?

The last thing is a PHP notice. Usually you should set your error_reporting = E_ALL ~E_NOTICE so that Notices are supressed. However that specific Notice was fixed in Serendipity 1.1 snapshots for the upcoming release...

HTH,
Garvin
aye the dll is there ... trailing slash or forward slash makes no diff.
odd bugger as the php folder is been called for all the other php.dll's just not imagecrappyhoehateyounow.dll :D :twisted: :twisted:

ideas anyone ?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Instal issues - php_imagick.dll & Php Sessions ..

Post by garvinhicking »

Hi!

I heard of iwndows server sthat needed a complete reboot before the DLLs worked. If that does not help, I must point you to a PHP forum where people might be able to help you :)

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
PaulF
Regular
Posts: 6
Joined: Sat Nov 25, 2006 5:44 pm

Re: Instal issues - php_imagick.dll & Php Sessions ..

Post by PaulF »

garvinhicking wrote:Hi!

I heard of iwndows server sthat needed a complete reboot before the DLLs worked. If that does not help, I must point you to a PHP forum where people might be able to help you :)

Best regards,
Garvin
aye you need to cold boot after any serious change to iis.. which I have been doing .- I think I might need that PHP fourm link if you dont mind...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Instal issues - php_imagick.dll & Php Sessions ..

Post by garvinhicking »

Hi!

Checkout http://www.php.net/ for the community support.

Good luck!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
PaulF
Regular
Posts: 6
Joined: Sat Nov 25, 2006 5:44 pm

Re: Instal issues - php_imagick.dll & Php Sessions ..

Post by PaulF »

garvinhicking wrote:Hi!

Checkout http://www.php.net/ for the community support.

Good luck!

Regards,
Garvin

Note for IIS users .. the mapping for imagemagic - you need to reconfig php or add a line to your Php config file and place the dll in a child folder of your site to allow s9 to access the file..
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

I modified http://s9y.org/194.html, but it seems awfully sparse to me. Can you give me some more details to provide the other IIS + ImageMagick users?
Judebert
---
Website | Wishlist | PayPal
Post Reply