07
Jun
10

MapGuide 2011 on Windows Server 2008 R2 64bit and IIS 7.5

Ok, this stumped me for days. I could not for the life of me get the License Manager to work – here is what worked:
-ADLM (License Manager) 32 bit version

-MapGuide Enterprise 2011 64 bit version

That was ok, but then I could not get PHP to run with IIS 7.5

So I had to:

  1. Go into IIS Manager
  2. Click on Handler Mappings for the Site
  3. Click Add Module Mapping
  4. In the Add Module Mapping:
    1. For Request Path, enter: *.php
    2. For Module, choose FastCgiModule
    3. For Executable, browse to: C:\Program Files\Autodesk\MapGuideEnterprise2011\WebServerExtensions\Php\php-cgi.exe
    4. For Name, enter: PHP via FastCGI
  5. Click Ok.
  6. Click Yes in the Add Module Mapping dialog box.
  7. Restart IIS.

Ok, so now PHP is running and I can login into the MapGuide Administrator and then – pow!

PHP Warning: getdate() [function.getdate]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for '-7.0/DST' instead in C:\Program Files\Autodesk\MapGuideEnterprise2011\WebServerExtensions\www\mapadmin\packagemanagement.php on line 65

How did I fix it?  Well, I opened PHP.INI in the C:\Program Files\Autodesk\MapGuideEnterprise2011\WebServerExtensions\Php folder.

And at the end of the file, added the line:

date.timezone = "America/Anchorage"

And restarted IIS.

Whew!  That was dumb.

Advertisements

2 Responses to “MapGuide 2011 on Windows Server 2008 R2 64bit and IIS 7.5”


  1. 1 Bill TenBroeck
    June 8, 2010 at 10:06 pm

    Hi Gordon. What drove you to use the 32-bit LM? And where did you get it? I’m having an issue with the LM myself, and was thinking of using the 32 bit version to work around, but in my case it didn’t work. The error in the LM log is: “(adskflex) Unable to initialize access to trusted storage: 1” Researching that on the Net indicated it might be an issue with the Data Execution Prevention system, and that by excluding the LM executables, everything would work. When I tried to do that though, it came back and said those programs could not be excluded.

    This is all on Windows 2008 R2 x64 – seems to be a similar setup to yours. Does any of the above sound like what you went through? Or did you have a different issue?

    Cheers,

    Bill

  2. July 9, 2010 at 4:31 pm

    Hi Bill, the 32bit route on 64bit just does not work in MapGuide 2011…I got confirmation from on high on that one (Autodesk).

    So I would wonder if its just a permissions issue in your case. If the server is really locked down, you may have to grant access to the LIC file and the EXE to get the ADLM to run…


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Gordon Luckett

Arrow Geomatics Inc's Gordon Luckett

Contact

gordon dot luckett at arrowgeo dot com 1-519-837-9500 (Arrow Geomatics Inc.)

Checkout MapGuide Guy’s Youtube Channel

gordonluckett@twitter


%d bloggers like this: