Re: com_dotnet



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.

you're missing the point entirely! think of how most people install php on a
windows system. they use the windows binary installed. that means php is
pre-compiled on a system that meets all the requirements of your first
statement...1) compiled mysql support into php on a 2) system that has mysql
on said system. however even though support is compiled into the .exe, the
use of mysql on a target system where mysql isn't installed will bark when
you try to use it.

what i'm saying is that this exactly parallels ".net support enabled". php
does NOT do/provide any additional features to ensure that third party
applications are installed, nor should it. php either has the extensions
compiled in or loads them when executed. these extensions/modules determine
whether support is enabled/disabled which has nothing to do with the
existence of the actual third-party application on a target system...the
question pondered by the op.

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.

again, you're missing the point. it used to as a module but now is compiled
in...which was not my point anyway, which i was careful to point out when
following the "by your argument" line of comparison. whether a compiled
feature of php or a loadable module, it is the code that provided the
support to use external tools such as .net and this support is *completely*
independent of whether that external tool is actually installed on a target
system.

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.

i'm glad you've got that leeway. as for me, i build what my
paycheck-provider asks. ;^)


.



Relevant Pages

  • Re: com_dotnet
    ... And if MySQL isn't installed, the DLL won't load and phpinfowill show MySQL support isn't enabled. ... The MySQL interface is NOT compiled into PHP on the distributed Windows binaries - or you'd never be able to run PHP unless you had MySQL installed. ... *SOME* extensions are protocols, some are functional resources, and some are just type libraries. ... If you're going to compile the extension into PHP itself, the libraries must be available at compile time, and when you run PHP, or PHP won't load. ...
    (comp.lang.php)
  • Re: Configure help using CentOS 5.1
    ... PHP excludes MySQL, PDO and a bunch of other popular modules. ... apxs is used to compile the package. ... It should be part of your Apache installation; depending on what they shipped you, you may have to install an Apache development package or similar. ...
    (comp.lang.php)
  • Re: com_dotnet
    ... DCOM Support: disabled ... It appears PHP ... MySQL support would be enabled whether or not the MySQL libraries are installed or not. ... 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. ...
    (comp.lang.php)
  • Re: com_dotnet
    ... phpinfowill show MySQL support isn't enabled. ... The MySQL interface is NOT compiled into PHP on the distributed Windows ... system that runs php and enables php is rather odd since i should be able ... extension in question MUST exist in order to either compile it in or load at ...
    (comp.lang.php)
  • Re: My dad wants PHP & MySQL or pgSQL hosting
    ... php version: 4.3.2 with mySQL ... management interface is excellent. ... > PostgreSQL support. ...
    (comp.lang.php)