Re: php4 attempting to find php5ts.dll



jmark wrote:
On Jun 28, 1:58 pm, Jerry Stuckle <jstuck...@xxxxxxxxxxxxx> wrote:
jmark wrote:
I am currently running php 4.4.7 in windows xp and apache 2.
If I enter php in command line. I get the following error
The application has failed to start because php5ts.dll was not found"
I have installed both php5 and php 4.4.7 but I am not running php5 as
I have all the entries in httpd.conf related to php5 commented out. I
also do not have anything pointing to php5 in my environment path
if I type
php -i
I see the information
Configuration File (php.ini) Path C:\PHP4\php.ini
in the C:\PHP4\php.ini file I have
extension_dir = "C:/php4/extensions"
php -i and php -v reports I am running 4.4.7 after generating the
error message above.
So why is the command line php trying to access php5ts.dll?
Thanks
Because you're missing something - someplace. It's hard to tell exactly
what, though. It could be a configuration option, an environment
variable which loads the PHP5 dll's instead of the PHP 4 ones, or even a
PHP 4 file which was overlaid by a PHP 5 file.

I wish I could be more specific - but it's really impossible with the
lack of information you supplied.

You just need to go back and double check EVERYTHING. Something's
amiss! :-)

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@xxxxxxxxxxxxx
==================- Hide quoted text -

- Show quoted text -

Jerry,

Thank you for response. What I am looking for here is a direction on
where to check why php is going for php5ts.dll.
I thought the info given above was all that is needed to determine
where extensions are to be searched for. Probably you can tell me what
info you may need to determine where the error is coming from.

Thanks
John

John,

Sorry, I have no idea. I would have to look at your entire system. I gave you some points to start with - system environment, the configuration file, and the binary files being loaded, for instance. Heck - it could even be a file in your PHP4/ext directory which was really a PHP5 module.

I know this isn't a lot of help. But there isn't much I can tell you from this end - it would be an entire chapter in a book.

OTOH, why are you using PHP 4, anyway? It's a dead product. Even within a few days there won't even be any more security patches. You need to be on PHP5.

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



Relevant Pages

  • Re: [PHP] Are PHP5 features worth it?
    ... I'm writing a PHP program and I've got a number of concerns. ... what PHP4 can do with OOP. ... using what PHP5 offers where it makes sense, ... Exceptions: I just don't see the big advantage. ...
    (php.general)
  • Re: Php5 port and Apache Module
    ... possible to install php5 from the packages .. ... in any way of justifying removing the apache module from the default setting ... people installing php do so for use as an apache module. ...
    (freebsd-questions)
  • Re: [PHP] PHP4 vs PHP5 Performance?
    ... I already have an XML API that works fine in PHP4. ... There's only a narrow sliver of use cases where I'd say PHP 4's primitive SAX ... but that's a compatibility / performance tradeoff. ... Otherwise default to PHP5 C implementations. ...
    (php.general)
  • Re: PHP4 to PHP5
    ... I'd like to upgrade this so I can use the PHP5 code I have already. ... What kind, if any, problems will I have with the existing PHP code base? ... I think PHP suffers from the same problem that ASP does. ... VB, DCL, sh, csh, etc. and there isn't a language that I have seen that can prevent "any idiot to write the most horrible unmaintainable crap". ...
    (comp.lang.php)
  • Re: [PHP] PHP5 & Commercial Development
    ... I seem to be smelling the red herring technique of changing ... I haven't tracked this particular issue, but I know when PHP5 was first released is wasn't recommended in a commercial/production environment. ... Since I am unaware of what version of PHP Yahoo mainly uses (I've heard some of their developers talk, and they use PHP 5) and since Google seems to be a Java shop, I took the liberty of giving my oiwn view of why PHP should be used for professional development. ...
    (php.general)