How is the PHP extensions/modules file structure logic based?
Posted
by
dotpointer
on Server Fault
See other posts from Server Fault
or by dotpointer
Published on 2012-02-24T18:28:23Z
Indexed on
2012/06/19
9:18 UTC
Read the original article
Hit count: 200
I'm trying to configure/build PHP 5.3.10 on Linux/Slackware 12 but the extensions appear in the wrong directory when I run make install.
In the php.ini file is the extension dir defined:
/usr/lib/php/extensions
Problem is that when I run "make install" the newly built extensions are copied to a subfolder in extensions directory:
/usr/lib/php/extensions/no-debug-non-zts-20090626
What am I supposed to do with this...
copy the files down from the no-debug-non-zts-20090626 directory into the extensions directory,
create symlinks from extensions to the modules in the no-debug-non-zts-20090626 directory (which will take a lot of time)
or what?
(I know I can do any of them, but I want to know the correct way...)
© Server Fault or respective owner