note 53783 added to zend.creating
| From: | SyLevine at osu1 dot php dot net | Date: | Mon, 13 Jun 2005 12:29:50 +0000 |
| Subject: | note 53783 added to zend.creating | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-90349@lists.php.net to get a copy of this message | ||
I installed and run 4.1.1 on RH 7.1 It runs on a separate Apache Server than the one furnished by
Red Hat.
A few adminisrative changes were necessary to get the function going.
The main one was finding and modifying php.ini.
The command: find . -print | grep php.ini should do that.
Mine was in /usr/local/lib
Look for extension_dir in php.ini then type the directive as
extension_dir=/usr/lib/php4
Use no trailing / in the directive. This is where the dl('firstmod.so') php statement
accesses your module.
Tip: I do not use a leading / like dl('/firstmod.so') which will be misparsed. {Note by
Ed a PHP ...}
The source module is named firstmod.c.
I compiled and created the firstmod.so with a script based on the various notes about the compile
parameters. See
markjolesen, ywarnier, 17-Apr, wish I .
----
Manual Page -- http://www.php.net/manual/en/zend.creating.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+53783
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+53783&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+53783&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+53783&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+53783&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+53783&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+53783&report=yes
Search -- http://master.php.net/manage/user-notes.php