I had a fresh install with Apache and PHP and was asked to install a certain program which required IONCUBE and FFMPEG.
I started with IONCUBE and had a hard time .. Basically I was supposed to put the ioncube_loader_lin_5.2.so into the extension folder.
There was no extension folder at all. So I added the folder where the iocube loader was located in the php.ini, in this case
Code:
extension_dir= "/usr/local/ioncube"
That did not work at all .. After over an hour I have up and went to install FFMPEG .. once installed, it actually did create an extension directory called
Code:
/usr/local/lib/php/extensions/no-debug-non-zts-20060613/
I then moved the ioncube into that particular folder and changed the php.ini to reflect that .. to
Code:
extension_dir="/usr/local/lib/php/extensions/no-debug-non-zts-20060613"
zend_extension = "/usr/local/lib/php/extensions/no-debug-non-zts-20060613/ioncube_loader_lin_5.2.so"
Now I am wondering, why was the "custom" extension dir ignored, and how can I make sure that the extension directory exists in a fresh installation ?
I can see for example the following number on the phpinfo page
Quote:
PHP Extension 20060613
Zend Extension 220060519
|
So I tried to check the phpinfo page on another server - without an extension directory - created the folder including the 'no-debug-non-zts-' part with the numbers found and it worked.
But it just confuses me...
Why the 'no-debug-non-zts-' part ?
Why are customer folder simply ignored ?
And how to make sure the folder is created upon php compilation ?
Could someone shed some light on this one for me please ? I would really appreciate it ...