Changes between Version 6 and Version 7 of PHPBuildDebugLinux


Ignore:
Timestamp:
Jan 27, 2009, 9:19:09 AM (15 years ago)
Author:
jmckenna
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PHPBuildDebugLinux

    v6 v7  
    4444Nothing 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):
    4545
    46 1- Compile and install PHP as a CGI as described above
     461. Compile and install PHP as a CGI as described above
    4747
    48 2- Run configure in your mapserver dir. with the --with-php switch:
     482. Run configure in your mapserver dir. with the --with-php switch:
    4949
    5050   ./configure --with-php=/path/to/php-src-that-you-just-compiled ...
    5151
    52 3- run 'make', that will automagically build mapserv, etc. ... and php_mapscript.so in mapserver/mapscript/php3
     523. run 'make', that will automagically build mapserv, etc. ... and php_mapscript.so in mapserver/mapscript/php3
    5353
    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)
     544. Edit your php.ini and make sure extensions_dir is set to point to a valid location (e.g. /usr/local/lib/php4)
    5555
    56 5- Copy php_mapscript.so to your extensions_dir
     565. Copy php_mapscript.so to your extensions_dir
    5757
    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
     586. 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
    5959
    60 7- You're ready to use dl("php_mapscript.so"); to load and use PHP !MapScript in your PHP apps.
     607. You're ready to use dl("php_mapscript.so"); to load and use PHP !MapScript in your PHP apps.
    6161
    6262See also the PHPMapScript-install-HOWTO for more info: http://www.mapserver.org/installation/php.html