|
Posted by AnrDaemon on 12/08/07 03:35
Greetings, Jerry Stuckle.
In reply to Your message dated Saturday, December 8, 2007, 05:59:38,
>>>>> Yes, the extensions are there, and the path being searched does depend
>>>>> on how I set extension_dir.
>>>>> The log file will faithfully reproduce the path I indicate in the line
>>>>> reporting the error. For example,
>>>>> extension_dir="C:\PHP\ext"
>>>>> results in lines of the form:
>>>>> "PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\PHP\
>>>>> \ext\\php_sybase_ct.dll' - The specified module could not be found.\r
>>>>> \n in Unknown on line 0"
>>>> Add
>>>> LoadFile path/to/SyBaseSharedDlls
>>>>
>>>> into Your httpd.conf before
>>>>
>>>> LoadModule php5_module
>>>>
>>
>>> If an Apache module doesn't use those files it is not necessary to load
>>> them in the Apache configuration.
>>
>> But it is the best way I found to ensure I have PROPER versions of DLL's
>> loaded into workspace. And shared database libraries are for sure used by
>> apache module - PHP handler. Through their extensions, of course, but again,
>> You have too few variants to do the job.
>>
> Again - they are not used by Apache. They are used by the extensions.
> A VERY BIG difference.
/picking a magnifying glass
Please show me it in close - I can't see.
>> 2. Add PHP location to %PATH% environment variable. Good enough but what if
>> You want to use more than one PHP version? I have time while I have shared
>> hosting with PHP4 and my local projects was written mainly in PHP5.
>> What if You have many versions of the required DLL? I have MySQL installed
>> along with PHP and they both have LibMySQL.dll in distro. Apache and PHP both
>> have OpenSSL libraries in distro. Which one will be loaded into process?
>> Highly depends on situation, but this ambiguity is unwanted and inappropriate.
>>
> Another VERY BAD solution.
^^^^^^^^^^^^^^^^^^^ (1)
> The way to do this is to include THOSE LIBRARIES in the Windows PATH (that's
> what it's there for).
^^^^^^^^^^^^^^^^^^^^^^ (2)
Please decide, what was right statement - (1) or (2)
They are completely opposite.
--
Sincerely Yours, AnrDaemon <anrdaemon@freemail.ru>
[Back to original message]
|