Changes between Version 7 and Version 8 of PHPBuildDebugLinux


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

--

Legend:

Unmodified
Added
Removed
Modified
  • PHPBuildDebugLinux

    v7 v8  
    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
     46  1. Compile and install PHP as a CGI as described above
    4747
    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:
    4949
    50    ./configure --with-php=/path/to/php-src-that-you-just-compiled ...
     50     ./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
     52  3. 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)
     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)
    5555
    56 5. Copy php_mapscript.so to your extensions_dir
     56  5. 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
     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
    5960
    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.
    6162
    6263See also the PHPMapScript-install-HOWTO for more info: http://www.mapserver.org/installation/php.html