note 53783 deleted from internals2.ze1.zendapi by cmb
| From: | cmb@php.net | Date: | Sun, 10 Jan 2021 13:26:05 +0000 |
| Subject: | note 53783 deleted from internals2.ze1.zendapi by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-216127@lists.php.net to get a copy of this message | ||
Note Submitter: Sy Levine
----
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 .