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

Dave Wilson dave.wilson at autodesk.com
Fri Oct 10 14:52:35 EDT 2008


Did you add the extension to the extension list in the php.ini?

-----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 12:41 PM
To: mapguide-users at lists.osgeo.org
Subject: RE: [mapguide-users] installing mapguide on server with php already on it


that post really didn't do anything for me.  everything is on one machine.  i
have got the mapguide looking at the php that was on the machine before.  i
have phpinfo() on the login page and it shows that it is looking at the
right php.  i have removed the php in path that had it going to the mapguide
directory.  i have make sure that the mapguide server is running.  when i
restart IIS and go tothe login.php, the first thing i get is an error box
that says it can't find the php_MapGuideApi.dll.  it is in the ext directory
under the php directory.  the extention_dir points to the ext directory
under the C:\program files\php\ext.  so what is the next step?  i even tried
yesterday out of frustration to remove everything and installed mapguide
with the apache and i couldn't even get the login.php to come up.  i'm
further ahead so far with the IIS install but i have been dinking with this
now for the better part of 5 days.  the demo i seen at the MN GIS/LIS
conference last week made this look so easy.

thanks

kawalski



Ed Jobe wrote:
>
> See this post.
> http://www.nabble.com/forum/ViewPost.jtp?post=19729894&framed=y
>
> kawalski wrote:
>>
>> 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-tp19880766p19923801.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