Coder Social home page Coder Social logo

php-interpreter's Introduction

PHP::Interpreter version 1.0
============================

This module provides a way to load a PHP interpreter into your Perl programs.
The PHP interpreter then automagically has access to all of the modules and
variables loaded into Perl. So PHP executed from Perl can use any Perl
modules.

CAPABILITIES MATRIX
===================

PHP::Interpreter supports both PHP 5.0 and PHP 5.1.  In PHP 5.1 you have the
possibility of instantiating multiple simultaneous PHP interpeters in a 
single process.  In PHP 5.0, the PHP interpreter is effectively a singleton.

BUILD INSTRUCTIONS (PHP 5.0.x)
==============================

1) Download the PHP sources from php.net
2) tar zxf php-5.0.x.tar.gz
3) cd php-5.0.x
4) ./configure --enable-embed [any other options you want]
5) make
6) make install
7) install PHP::Interpreter
8) ...
9) profit!

BUILD INSTRUCTIONS (PHP 5.1.x - WITHOUT MULTIPLICITY)
=====================================================

1) Download the PHP sources from php.net
2) tar zxf php-5.1.x.tar.gz
3) cd php-5.1.x
4) ./configure --enable-embed [any other options you want]
5) make
6) make install
7) install PHP::Interpreter
8) ...
9) profit!

BUILD INSTRUCTIONS (PHP 5.1.x - WITH MULTIPLICITY)
==================================================

1) Download the PHP sources from php.net
2) tar zxf php-5.1.x.tar.gz
3) cd php-5.1.x
4) ./configure --enable-embed --enable-maintainer-zts [any other options you want]
5) make
6) make install
7) install PHP::Interpreter
8) ...
9) profit!

HOW TO USE PHP::Interpreter
===========================

The two best methods are:
1) perldoc PHP::Interpreter
2) read the tests in t/*.t

php-interpreter's People

Contributors

aff avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.