You are here: Re: Extension files not loading « PHP Programming Language « IT news, forums, messages
Re: Extension files not loading

Posted by Jerry Stuckle on 12/08/07 04:32

AnrDaemon wrote:
> 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.
>

Open your eyes. Learn what you're talking about. Then come back when
you have a clue.

I'm not about to give you a complete course on Apache configuration and
everything else you have no idea what you're talking about. This is not
the newsgroup - and it's way too long for a newsgroup, anyway.

>>> 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.
>
>

No, they aren't. They are completely accurate.

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация