468,765 Members | 825 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,765 developers. It's quick & easy.

php4 attempting to find php5ts.dll

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
Jun 28 '08 #1
3 3238
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.
js*******@attglobal.net
==================
Jun 28 '08 #2
On Jun 28, 1:58*pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
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...@attglobal.net
==================- 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
Jun 28 '08 #3
jmark wrote:
On Jun 28, 1:58 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
>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...@attglobal.net
==================- 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.
js*******@attglobal.net
==================
Jun 28 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Chris Haynes | last post: by
reply views Thread by Perttu Pulkkinen | last post: by
5 posts views Thread by Tim Tyler | last post: by
2 posts views Thread by Vic Spainhower | last post: by
1 post views Thread by NotGiven | last post: by
2 posts views Thread by Stefan Huber | last post: by
8 posts views Thread by FFMG | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.