"Yum" Install Wget-y
cd/usr/local/src/
wget http://php.net/distributions/php-5.6.19.tar.bz2
JXF Tar php-5.6.19.tar.bz2
CD php-5.6.19/ext/
94./ext_skel
/ext_skel--extname=imsjobs
[Email protected] ext]#./ext_skel--extname=imsjobscreating directory imsjobscreating basic FILES:CONFIG.M4 Config.w32. Gitignore imsjobs.c php_imsjobs.h CREDITS experimental TESTS/001.PHPT imsjobs.php [done]. To use your new extension and you'll have to execute the following steps:1. $ CD. 2. $ VI ext/imsjobs/config.m43. $./buildconf4. $./configure--[WITH|ENABLE]-IMSJOBS5. $ make6. $./sapi/cli/php-f EXT/IMSJOBS/IMSJOBS.PHP7. $ VI ext/imsjobs/imsjobs.c8. $ makerepeat Steps 3-6 until you be satisfied with EXT/IMSJOBS/CONFIG.M4 Andstep 6 confirms this your module is compiled Into PHP. Then, start Writingcode and repeat the last of the steps as often as necessary.
CD.
Vim ext/imsjobs/config.m4
Just remove these 3 lines of comments:
php_arg_with (Imsjobs, for Imsjobs Support,make sure that the comment is aligned:[-- With-imsjobs Include imsjobs support])
98./buildconf
/buildconf--force
Yum Install autoconf
101./buildconf--force
102 Vim Ext/imsjobs/php_imsjobs.h
103 ./buildconf--force
104./configure
Yum Install gcc
106./configure
107./configure--with-imsjobs
108 Yum Install Libxml2-devel
109 ./configure--with-imsjobs
Make
111 ./sapi/cli/php-f ext/imsjobs/imsjobs.php
EXT/IMSJOBS/IMSJOBS.C VI
113 Vim EXT/IMSJOBS/IMSJOBS.C
Not to be continued
PHP Extension Development Note 1