Changes between Version 23 and Version 24 of ConfigureGuide22Windows


Ignore:
Timestamp:
Aug 17, 2010, 8:10:28 PM (14 years ago)
Author:
hluo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ConfigureGuide22Windows

    v23 v24  
    1515Apache is also available under svn/mgdev/Oem/LinuxApt, which can be copy and pasted to anywhere, but do this only if you know what you are doing.  apache.org does not submit any build for 64-bit machines, try [http://www.blackdot.be/?inc=apache/binaries this site] to obtain a binary 64-bit build.
    1616
    17 2. add the following lines to httpd.conf
     172. Download PHP 5.3.2 or latest version, if your Apache is 64-bit, PHP must be 64-bit too. Follow [http://www.thesitewizard.com/php/install-php-5-apache-windows.shtml this instruction] to install and configure Apache to work with PHP
     18
     193. in php.ini, find the following line and edit their values
     20{{{
     21extension_dir = "ext"
     22extension = php_MapGuideApi.dll
     23extension = php_MapGuideApiEnvConfig.dll
     24}}}
     25 
     264. add the following lines to httpd.conf, suppose PHP is installed under c:\php, and MapGuide libraries are copied to c:\php\ext
    1827{{{
     28LoadFile "c:/php/ext/ACE.dll"
     29LoadFile "c:/php/ext/GEOS.dll"
     30LoadFile "c:/php/ext/MgFoundation.dll
     31LoadFile "c:/php/ext/MgGeometry.dll"
     32LoadFile "c:/php/ext/MgHttpHandler.dll"
     33LoadFile "c:/php/ext/xerces-c_2_7.dll"
     34
    1935LoadModule mod_mgmapagent modules/mod_mgmapagent.so
    2036
     
    3248}}}
    3349
    34 '''Note:''' '''mod_mgmapagent''' is the module name for mapguide agent, which is hardcoded in source code, so it can't be anything else
     50'''Note 1:''' '''mod_mgmapagent''' is the module name for mapguide agent, which is hardcoded in source code, so it can't be anything else
    3551
    36524. start apache http server
     
    4864 * Login to mapguide admin site error: '''Fatal error: Call to undefined function !MgInitializeWebTier() in C:\mapguideopensource-2.2-beta1\Web\www\mapadmin\login.php on line 70''', this might be caused by the interference of existing php.ini. under windows command line, type '''regedit''' to bring up the registry window, find PHP entry and find out where the php installation is, copy php.ini to !Web/Php/ and edit the value of property '''extension_dir''' accordingly
    4965 * browser opens to the source code of php file instead of a web page: this error means Apache is not configured correctly to use PHP.
     66 * 64-bit PHP 5.3.2 may have an issue with php5apache2_2.dll, if so, configure PHP to run with Apache as a CGI binary following the link in step 2
    5067
    51686. Further Adventure