Changes between Version 7 and Version 8 of PHPBuildDebugLinux
- Timestamp:
- Jan 27, 2009, 9:19:35 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PHPBuildDebugLinux
v7 v8 44 44 Nothing special to say there... !MapServer's configure takes care of it all on most platforms... here are some detailed steps (hopefully I didn't forget anything): 45 45 46 1. Compile and install PHP as a CGI as described above46 1. Compile and install PHP as a CGI as described above 47 47 48 2. Run configure in your mapserver dir. with the --with-php switch:48 2. Run configure in your mapserver dir. with the --with-php switch: 49 49 50 ./configure --with-php=/path/to/php-src-that-you-just-compiled ...50 ./configure --with-php=/path/to/php-src-that-you-just-compiled ... 51 51 52 3. run 'make', that will automagically build mapserv, etc. ... and php_mapscript.so in mapserver/mapscript/php352 3. run 'make', that will automagically build mapserv, etc. ... and php_mapscript.so in mapserver/mapscript/php3 53 53 54 4. Edit your php.ini and make sure extensions_dir is set to point to a valid location (e.g. /usr/local/lib/php4)54 4. Edit your php.ini and make sure extensions_dir is set to point to a valid location (e.g. /usr/local/lib/php4) 55 55 56 5. Copy php_mapscript.so to your extensions_dir56 5. Copy php_mapscript.so to your extensions_dir 57 57 58 6. Make sure all libs used in your !MapServer build are included in your runtime library path. See the PHP !MapScript install FAQ about this common problem: http://www.mapserver.org/installation/php.html#faq-common-problems 58 6. Make sure all libs used in your !MapServer build are included in your runtime library path. See the PHP !MapScript 59 install FAQ about this common problem: http://www.mapserver.org/installation/php.html#faq-common-problems 59 60 60 7. You're ready to use dl("php_mapscript.so"); to load and use PHP !MapScript in your PHP apps.61 7. You're ready to use dl("php_mapscript.so"); to load and use PHP !MapScript in your PHP apps. 61 62 62 63 See also the PHPMapScript-install-HOWTO for more info: http://www.mapserver.org/installation/php.html