Sunday 03 September 2006 11:05:14 am
Executing "runcronjob" script in windows command prompt(mannualy) c:\php4\cli\php.exe runcronjobs.exe gives error: "The application has failed to start because php4ts.dll was not found". ============ ez version 3.8.3 on windows xp with IIS 5 runninig both php4.4.4 & php5.1.6
Have directory C:\php4 and C:\php5
in directory c:\php4\ have dir \cli\php.exe and HAVE FILE c:\php4\php4ts.dll in environment path variables put C:\php4\cli\;
tryed this solition from
http://bugs.php.net/bug.php?id=25176 (does not help - the same mistake) ======================
[20 Aug 2003 7:10pm UTC] [email protected] Worked this one out...
The reason is that the cgi binary has the php4ts.dll for PHP5 in its
PWD, and when it requests the dll, thats where windows looks first and
tells it that its there.
The CLI binary does NOT have a php4ts.dll for PHP5 in its PWD, so
windows traverses the %PATH%, where it finds the PHP4 php4ts.dll and tells the binary thats where it was found.
Solution: Put a copy of php4ts.dll in c:\php5\cli if you need to run
PHP5 and PHP4 simultaneously (testing), otherwise put c:\php5 in your
path(note that when running the PHP4 binaries, they will find the PHP5 php4ts.dll, the problem is reversed). =========================== ANY HELP?
|