SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

BAUK HTTP SERVER
Grom persistent interpreter connector:


INSTALLATION:
(merging "libgromcgi.a" with PHP interpreter):

With Grom connector lib following PHP versions have been tested and verified to work succesfully in persistent mode:

  • PHP 4.3.0
  • PHP 4.3.3
  • PHP 4.4.4

STEP-BY-STEP INSTALLATION:

  • download and compile ie. PHP 4.4.4
  • compile PHP in CGI mode, which is default.
  • compile Bauk.
  • copy "libgromcgi.a" from Bauk's src dir to PHP's src dir.
  • copy files from Bauk's "gromphp" connector dir into PHP's src dir. PHP's src dir should now contain files:

    libgromcgi.a libgromcgi_php_merge.sh

  • change working dir to PHP src dir and execute shell script:

    ./libgromcgi_php_merge.sh which will automatically perform compilation, linking and create "gromphp" executable, a persistent version of PHP.

  • copy "gromphp" PersistentPHP executable into Bauk's bin dir (you may choose another location ie. leave it in src dir, it's subject to administrator's choice, and then configure that path in Bauk configuration script for executing all *.php files).
    TIPS
    (compiling PHP with SQLite support built-in)
  • download and unpack/unzip ie. PHP 4.4.4
  • download from PHP website PHP sqlite extension ie. SQLite-1.0.3.tgz
  • unpack/unzip the SQLite archive, rename "SQLite-1.0.3" dir to "sqlite"
  • move "sqlite" dir into PHP's "ext" dir where other extensions are
  • in PHP dir execute:

    ./buildconf ./configure --with-sqlite --with-otheropts make this will compile and create PHP exetutable with SQLite support.

  • execute shell script for merging Grom connector lib with PHP:

    ./libgromcgi_php_merge.sh this will perform the merge/compile/link and create persistent version of PHP exetutable with SQLite support.


#
#


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.