[mapguide-users] installing mapguide on server with php already on it

Dave Wilson dave.wilson at autodesk.com
Fri Oct 10 12:32:50 EDT 2008


Ensure that your instance is in your system Path.

Have you enabled show errors and logging to see any errors indicating the failure?

Did you find the file differences and copy them to yours? The php_MapGuideApi.dll for example? Did you also enable any additional extensions that were enabled in the mapguide php.ini?

Dave

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of kawalski
Sent: Friday, October 10, 2008 10:16 AM
To: mapguide-users at lists.osgeo.org
Subject: RE: [mapguide-users] installing mapguide on server with php already on it


ok, i have at least been able to get to the login screen but get a 500 error
when i try to log in.  i have put the phpinfo() in the login php page and
everything is pointing to the correct directories.

thanks



Dave Wilson-3 wrote:
>
> Do a diff between the MapGuide php.ini and your existing on to see the
> changes that are required. There are only a couple of changes. You will
> also have to copy the additional php extension files included for mapguide
> to your directory. Again a diff between the directories might be the
> easiest way to go. I just don't know all the files off the top of my head.
>
> You then have to change the isapi mapping on the mapguide virtual
> directory in IIS to point to your instance.
>
> I think that's it.
>
> Dave
>
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of kawalski
> Sent: Thursday, October 09, 2008 8:39 AM
> To: mapguide-users at lists.osgeo.org
> Subject: RE: [mapguide-users] installing mapguide on server with php
> already on it
>
>
> so, if i remove the php directory under the mapguide directories and
> remove
> the instance in PATH, then mapguide would look at the other php i already
> have installed?  is there anything else that would need to be done to make
> mapguide look to the other php?
>
> thanks
>
>
>
> Dave Wilson-3 wrote:
>>
>> Because you are using the same version, whichever is first in the path is
>> likely to get used to set the php.ini when IIS loads. I don't believe you
>> will get both of them to work. The registry entry also only points to one
>> of the instances so again it's not really designed to allow both. A
>> phpinfo page might help indicate which instance is getting loaded.
>>
>> You will likely have to decide which instance of PHP you wish to use and
>> configure it for all the applications you need unless someone else has
>> discovered a way to do this without recompiling php for their needs.
>>
>> Regards,
>> Dave
>>
>> -----Original Message-----
>> From: mapguide-users-bounces at lists.osgeo.org
>> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of kawalski
>> Sent: Thursday, October 09, 2008 7:17 AM
>> To: mapguide-users at lists.osgeo.org
>> Subject: RE: [mapguide-users] installing mapguide on server with php
>> already on it
>>
>>
>> i have php 5.2.4 installed on the server.  i am on Windows.  both phps
>> are
>> in
>> the PATH variable.
>>
>>
>>
>> Dave Wilson-3 wrote:
>>>
>>> What version of PHP is already installed. MapGuide only works with the
>>> installed version. PHP also doesn't play well side by side or support
>>> dual
>>> instances of near versions out of the box. This is documented on the PHP
>>> site. http://us.php.net/configuration
>>>
>>> Are you installing on Windows or Linux.
>>>
>>> Previous discussions in the list recommend adding the MapGuide PHP
>>> install
>>> directory to your system path (Windows).
>>>
>>> You can also check your registry to see if the HKLM...entry points to
>>> the
>>> installed directory (Windows).
>>>
>>> Dave
>>>
>>> -----Original Message-----
>>> From: mapguide-users-bounces at lists.osgeo.org
>>> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of kawalski
>>> Sent: Wednesday, October 08, 2008 3:19 PM
>>> To: mapguide-users at lists.osgeo.org
>>> Subject: [mapguide-users] installing mapguide on server with php already
>>> on it
>>>
>>>
>>> i am trying to install mapguide on a server that is running IIS and
>>> already
>>> has php installed.  i can not get the mapguide php pages to work.  i
>>> can't
>>> get to the login page for adimistrator.  i have changed settings in IIS
>>> a
>>> number of times to get .php to point to either of the php directories.
>>> when
>>> i removed the original php i could not get the other php pages to work
>>> by
>>> pointing them to the mapguide version.  how do you get the 2 php's to
>>> play
>>> together?
>>> --
>>> View this message in context:
>>> http://www.nabble.com/installing-mapguide-on-server-with-php-already-on-it-tp19880766p19880766.html
>>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> mapguide-users mailing list
>>> mapguide-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>> _______________________________________________
>>> mapguide-users mailing list
>>> mapguide-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/installing-mapguide-on-server-with-php-already-on-it-tp19880766p19898310.html
>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/installing-mapguide-on-server-with-php-already-on-it-tp19880766p19900334.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>

--
View this message in context: http://www.nabble.com/installing-mapguide-on-server-with-php-already-on-it-tp19880766p19921416.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list