[mapguide-users] MGOS2.0.2 bundled installation won't support php on IIS6

brianlee pengxianghepipi at 163.com
Thu Sep 25 21:13:51 EDT 2008


Thanks to Rock Beans

I make sure the php path is first for the envionment variable named PATH.
it still won't work.
Then I check the Application Configuration to found that there are two 
*.php application mappings. The first one points to "C:\php\php.exe", but it
really does not exist. 
I delete this one and everythings goes ok.

http://servername/mapguide/phpinfo.php
http://servername/mapguide/mapadmin/login.php also works.

thanks again for Rock Beans's tips.


Rock Beans wrote:
> 
> This is a loaded question. MapAgent and MapAdmin are completely
> separate. In Windows environmental variables make sure the PHP path is
> first for the variable named PATH. Also, create a txt file name it
> phpinfo.php, add the phpinfo code and run from browser. Place this
> file in your mapguide www folder so it is web shared. If it runs then
> you know PHP is working. Note the config INI path and make sure it is
> using the INI from the mapguide os php folder.
> 
> In IIS isapi_MapAgent.dll is for .fcgi files make sure you allow this
> extension in IIS or allow all for ease of development.
> In IIS php5isapi.dll is for .php files make sure you allow this
> extension in IIS or allow all for ease of development. Some times
> using the php-cgi.exe can fix problems but is more resource intense.
> 
> 
> Code for phpinfo.php Page:
> <?php
>      phpinfo();
> ?>
> 
> 
> 
> If you want to skip all this just install bundled with Apache on some
> other port like 8008 and move on.
> 
> Regards,
> The Rock
> 
> 
> On Thu, Sep 25, 2008 at 9:14 AM, brianlee <pengxianghepipi at 163.com> wrote:
>>
>> Hello,
>>
>> I installed the MGOS2.0.2 by IIS bundled intallation, php & Asp.net as
>> well
>> as Java.
>> but I did not get the php running on IIS.
>>
>> I have make sure the web service extension is set as isapi_MapAgent.dll.
>>
>> Verifying the installation by
>> http://servername/mapguide/mapagent/mapagent.fcgi?operation=enumerateresources&version=1.0.0&locale=en&resourceid=library://&type=&depth=-1
>> returns error.
>> [Invalid repository type.
>> Invalid repository type. Exception occurred in method
>> MgResourceIdentifier.CheckType at line 716 in file
>> d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\common\platformbase\Services/ResourceIdentifier.cpp
>> ]
>>
>> I can not access the admin page as well:
>> http://servername/mapguide/mapadmin/login.php
>> to load the sample data packages.
>>
>> I can open the site by Autodesk MapGuide Studio 2008, to see there is
>> nothing in the site.
>>
>> Is there somebody who can help?
>>
>> thanks
>> --
>> View this message in context:
>> http://www.nabble.com/MGOS2.0.2-bundled-installation-won%27t-support-php-on-IIS6-tp19670417p19670417.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/MGOS2.0.2-bundled-installation-won%27t-support-php-on-IIS6-tp19670417p19681031.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list