Problem with images and apache as service under windows 2000

Trouble during PacsOne Server installations
Post Reply
Jonathan
Problem with images and apache as service under windows 2000

Post by Jonathan » Thu Mar 18, 2004 2:46 pm

Hi!

We have succesfully installed the PacsOne server on a Blade server running Windows 2000.

We used to run the Apache server in a console window (task) and then the images in the database were displayed in the web interface. Now we are trying to install it as a service so we don't need to be logged in to run the server (security reasons).

The following problem occurs: When apache is running as a service the web interface doesn't display the JPEG thumbnails anymore. Swithcing back to console it works fine.

Further investigation made it clear that the problem occurs when building the link to the file. When apache runs as a task links to the images are correct and include the file extension. Howver when apache is running as a service the file extension is dropped in the link hence no image to be displayed.

Does anyone has a clue? Is it somewhere in the source code or is it a problem loading the imagick module when we load apache as a service?

Thanks in advance!

Jonathan

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Thu Mar 18, 2004 3:15 pm

I had Apache 2.0 running as a service on a W2K PC and it worked fine for me.

You can check the Section: "5.4.3 Trouble-shooting ImageMagick PHP Extension" in the Installation Guide to make sure the ImageMagick PHP extension get loaded properly.

Jonathan
Posts:184
Joined:Mon Mar 22, 2004 11:52 am
Location:The Netherlands
Contact:

Problem solved

Post by Jonathan » Mon Mar 22, 2004 12:03 pm

The IMagick extensions were loaded succesfully... the problem seemed to be in the properties of the Apache service under windows. We found out that in our situation the service shouln't be started as LocalSystem user but with a user that has network access because we make use of a network drive to store our images.

Still don't have a clue why the file extension wasn't there when we use the LS privileges on the service and the extension was placed correctly as teh Apache service was run with a user with network access.

Jonathan

BTW Became a member. Keep up the good work!

Post Reply