Reply to Re: com_dotnet

Your name:

Reply:


Posted by Jerry Stuckle on 09/12/07 12:49

Steve wrote:
> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
> news:3_2dnRrfUIjqxXrbnZ2dnUVZ_o_inZ2d@comcast.com...
>> Steve wrote:
>>> "Jim Carlock" <anonymous@127.0.0.1> wrote in message
>>> news:46e7460f$0$11009$4c368faf@roadrunner.com...
>>>>> Here it says...
>>>>>
>>>>> COM Support: enabled
>>>>> DCOM Support: disabled
>>>>> .net Support: enabled
>>>>>
>>>> And I'm wondering why PHP says .net support = enabled where
>>>> .net is NOT installed. I'm baffled by this one. It appears PHP
>>>> looks for one specific file and it exists, PHP declares .net
>>>> enabled, but .net is actually at least a 50MB package of files
>>>> which fill a few folders.
>>> .net support has nothing to do with .net being installed on a system,
>>> actually. it means that the ability for php to interact with .net has
>>> been enabled. the php source code that handles such interactions comes in
>>> the form of a c/c++ module that gets included in php when 1) the module
>>> exists and 2) is included as an argument when php is compiled before its
>>> use as an A) executable cgi, B) dll, or C) other module (as commonly used
>>> in conjunction with apache).
>>>
>>> whether or not .net itself is installed is a seperate issue. php .net
>>> support enabled simply means that you have the ability to use .net
>>> through php...of course, .net must be installed unless you intend to have
>>> php throw errors at you when you do try to use .net and the framework
>>> isn't there.
>>>
>>> btw, the .net framework is well over 50MB.
>>>
>>> does all that make sense?
>> Nope. By your argument, MySQL support would be enabled whether or not the
>> MySQL libraries are installed or not. But it isn't.
>
> perhaps i'm just not being clear enough. i can build php with or without
> mysql support. and on my system, mysql may or may not be installed. if i
> don't build in mysql support, i cannot use mysql calls to a mysql db. if i
> do compile php with mysql support yet do not mysql installed, i can make the
> mysql calls from php but they will all fail...mysql is not installed on my
> system (assuming i'm connecting on the same pc). however, if i both compile
> php with mysql support *and* have mysql installed, then things should go
> smoothly. this assumes that mysql is compilable in its entirety into php and
> doesn't have to be loaded into php whenever php is used (this assumption is
> not due to my lack of understanding on how php and mysql work, but is to
> more relate to how .net support is provided by php).
>

Have you ever tried to build PHP with mysql support if you don't have
mysql on the system? It doesn't work. The build will fail.

And have you tried building PHP with mysql support on another system,
then load it on a system which doesn't have mysql? That doesn't work,
either. PHP won't load.

> while php may very well provide mysql libraries, it certainly has no
> relationship to microsoft such that it would warrant providing the .net
> framework especially given how bulky it is and the frequency at which it is
> updated and outdated.
>

Check again. PHP does not supply mysql libraries any longer.

>> PHP cannot integrate with something which does not exist. But obviously,
>> since the extension is experimental, they still have some bugs to work
>> out.
>
> yes, which is what i was trying to state...i just didn't go into the
> 'experimental' part of it. if i need to use .net developed source in php, i
> just compile it to a standard COM object and use php's COM function to
> consume it. works for me.
>
>

I just don't use OS-specific code. Works for me.

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

[Back to original 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

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