Skip to content

vividness/hello-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

HelloPHP

A simple PHP extension built for PHP extension development students.

Tutorial

For a more comprehensive tutorial please check this link.

Installation

Make sure you have installed gcc, php, php-dev (These three should pull with them all the other dependencies needed).

sudo apt-get install build-essential php5 php5-dev

Run listed commands inside the directory

* phpize
* ./configure
* make
* sudo make install
* php -d extension=hello_php.so -r 'hello_php();'

Congratulations!! You have built your first PHP extension!

About

A simple PHP extension built for PHP extension development students.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages