Changes between Version 23 and Version 24 of ConfigureGuide22Windows
- Timestamp:
- 08/17/10 20:10:28 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ConfigureGuide22Windows
v23 v24 15 15 Apache 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. 16 16 17 2. add the following lines to httpd.conf 17 2. 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 19 3. in php.ini, find the following line and edit their values 20 {{{ 21 extension_dir = "ext" 22 extension = php_MapGuideApi.dll 23 extension = php_MapGuideApiEnvConfig.dll 24 }}} 25 26 4. add the following lines to httpd.conf, suppose PHP is installed under c:\php, and MapGuide libraries are copied to c:\php\ext 18 27 {{{ 28 LoadFile "c:/php/ext/ACE.dll" 29 LoadFile "c:/php/ext/GEOS.dll" 30 LoadFile "c:/php/ext/MgFoundation.dll 31 LoadFile "c:/php/ext/MgGeometry.dll" 32 LoadFile "c:/php/ext/MgHttpHandler.dll" 33 LoadFile "c:/php/ext/xerces-c_2_7.dll" 34 19 35 LoadModule mod_mgmapagent modules/mod_mgmapagent.so 20 36 … … 32 48 }}} 33 49 34 '''Note :''' '''mod_mgmapagent''' is the module name for mapguide agent, which is hardcoded in source code, so it can't be anything else50 '''Note 1:''' '''mod_mgmapagent''' is the module name for mapguide agent, which is hardcoded in source code, so it can't be anything else 35 51 36 52 4. start apache http server … … 48 64 * 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 49 65 * 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 50 67 51 68 6. Further Adventure