By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,521 Members | 1,447 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,521 IT Pros & Developers. It's quick & easy.

Install php_exif.dll

P: n/a
Using PHP 5.26 Thread Safe.

I noticed that php_exif.dll requires php_mbstring.dll. So both files get
placed into extension_dir folder which loads other files properly.

While trying to figure this out, I noticed some oddities that probably
should get fixed.

1) The PHP website suggests that libeay32.dll and ssleay32.dll should NOT
get placed into the %system% folder.

http://us3.php.net/manual/en/mysql.installation.php

It specifically states the following:

"Although copying libmysql.dll to the Windows system directory also works
(because the system directory is by default in the system's PATH), it's
not recommended."

So I see php5ts.dll resides in the same folder that both, libeay32.dll
and ssleay32.dll reside in. Functions that import from php5ts.dll do not
require php5ts.dll to get placed into either the extension_dir folder,
nor the system32 folder (php_sqlite.dll loads just fine and depends upon
php5ts.dll).

So, here comes oddity #2:

2) php5ts.dll does not exist anywhere in the registry. It ends up as an
unregistered file like many other PHP files. Only one line in PHP.INI
identifies a folder and that's the extension_dir setting. So PHP by
default knows that php5ts.dll resides where it resides. It resides in
the same folder where the httpd.conf loads php (php5_module directive).

So in regards to item (1) above, does anyone have any suggestions on how
to load libeay32.dll and ssleay32.dll and other files? Is there a default
location that php5apache.dll identifies? If not the same folder as that
file, why not? And why not the extensiond_dir setting? Is there another
setting anywhere in the httpd.conf or PHP.INI? I know that a PHPIniDir
directive exists for a later version of Apache - which will soon occur,
but I seek another solution for the Apache version (1.4x), other than
editing the PATH EV and other than placing it into the %system% folder.

Any suggestions are greatly welcomed.

--
Jim Carlock
Natural Cure For Pink-Eye (Conjunctivitis) (And A Sty Too?)
http://www.associatedcontent.com/art...nctivitis.html
Sep 21 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Jim Carlock wrote:
Using PHP 5.26 Thread Safe.

I noticed that php_exif.dll requires php_mbstring.dll. So both files get
placed into extension_dir folder which loads other files properly.

While trying to figure this out, I noticed some oddities that probably
should get fixed.

1) The PHP website suggests that libeay32.dll and ssleay32.dll should NOT
get placed into the %system% folder.

http://us3.php.net/manual/en/mysql.installation.php

It specifically states the following:

"Although copying libmysql.dll to the Windows system directory also works
(because the system directory is by default in the system's PATH), it's
not recommended."

So I see php5ts.dll resides in the same folder that both, libeay32.dll
and ssleay32.dll reside in. Functions that import from php5ts.dll do not
require php5ts.dll to get placed into either the extension_dir folder,
nor the system32 folder (php_sqlite.dll loads just fine and depends upon
php5ts.dll).

So, here comes oddity #2:

2) php5ts.dll does not exist anywhere in the registry. It ends up as an
unregistered file like many other PHP files. Only one line in PHP.INI
identifies a folder and that's the extension_dir setting. So PHP by
default knows that php5ts.dll resides where it resides. It resides in
the same folder where the httpd.conf loads php (php5_module directive).

So in regards to item (1) above, does anyone have any suggestions on how
to load libeay32.dll and ssleay32.dll and other files? Is there a default
location that php5apache.dll identifies? If not the same folder as that
file, why not? And why not the extensiond_dir setting? Is there another
setting anywhere in the httpd.conf or PHP.INI? I know that a PHPIniDir
directive exists for a later version of Apache - which will soon occur,
but I seek another solution for the Apache version (1.4x), other than
editing the PATH EV and other than placing it into the %system% folder.

Any suggestions are greatly welcomed.
There is no reason any DLL has to be registered if it isn't a system
process and is in the path. In fact, the vast majority of DLL's used
are NOT found in the registry.

All of the DLL's just need to be in a directory which is listed in your
PATH environment. I keep mine in a separate directory (on a different
disk) along with my php files.

And if you don't want to edit your environment variable, start Apache
via a batch job which first sets the environment then starts Apache.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Sep 21 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.