Cannot Load Php5ts Dll Fixer
» » “The program can’t start because php5ts.dll is missing from your computer” Error “The program can’t start because php5ts.dll is missing from your computer” Error Posted by on May 2, 2012 in I was trying to execute a PHP file via the command line on a windows machine and got the following error “the program can’t start because php5ts.dll is missing from your computer” Now executing PHP via the command line in Windows is different enough from Linux, I didn’t know what it needed. In Linux I would have install php-cli which should have come with all the dependancies. In Windows however, I fixed the issue by simply copying the php5ts.dll into the PHP folder. Now where did I get the php5ts.dll file?
I downloaded the latest Thread Safe package, unzipped it and the php5ts.dll was present. This fixed the issue when executing the PHP file from the command line.
I'm having some difficulty installing with on Windows Vista Service Pack 2. When trying to start Apache, I'm getting the error: Syntax error on line 176 of C:/Program Files/Apache/conf/httpd.conf: Cannot load C:/Program Files/PHP/php5apache2_4.dll into server: Access is denied.
I've looked at related topics, both on and other sites, but the only issues I can find are where the error is 'The specified procedure could not be found' or 'The specified module could not be found', neither of which are relevant to my problem. As you can see by the download links, I'm using Win32 versions of both Apache and PHP and the thread safe version of PHP. I've made sure that the C:/Program Files/PHP/php5apache2_4.dll file exists and reinstalled the Visual C++ Redistributable (; VSU_4 vcredist_x86.exe). I've also tried moving both the Apache and the PHP folders outside of the Program Files but this didn't resolve the issue. As the error I'm getting is 'Access is denied', I assume the issue is one of file permissions, but I'm not sure what permissions to change and what to change them to. So any assistance I can get will be much appreciated.
How To Fix Php5ts.dll is Missing / Not Found Error Messages. Quite simply, if Windows cannot properly load your php5ts.dll file, you will encounter an error message. How To Fix NTWDBLIB.DLL is Missing / Not Found Error Messages. ('dynamic link library'). If Windows cannot properly load your NTWDBLIB.DLL file.
Edit After some testing it seems that this problem only arises from PHP 5.5.4 onwards. Rolling back to 5.5.3 resolves the issue. Edit 2 The issue seems to be that php5ts.dll cannot be read despite showing readable permissions. Even when programs are 'run as administrator', the file cannot be opened (but can be deleted and renamed). The file can be opened if the extension is changed to something other than dll or exe, and other files in the same folder can be opened even if renamed to php5ts.dll (replacing the original). I would say that it is some anti-virus program or something that is locking the file, but I really don’t see why it would be locking that one, specific file. Just forget your current installation for a moment and extract the files from the archives to another location altogether (e.g., the desktop).
Can you access php5ts.dll there? Shut Apache down and see if you can get it to work as a daemon instead of a service: i.e., httpd.exe directly. )You’ll have to make three or four modifications to the default httpd.conf file; I can specify which if needed.) – Dec 18 '13 at 20:09.
Facts and Observations Let’s analyse the facts: • It works with an extension other than typical executable/code extensions like.dll,.exe, etc. • It does not work with a different filename • It worked just fine with a previous version; only the latest version is having trouble • It works just fine in safe-mode • Safe-mode disables all non-essential drivers and service • It shows no locks or open-handles • It says access denied • It cannot be moved, opened, copied, etc. Analysis Points 1-3 indicates that something about the contents of the file are triggering the problem.
This sounds a lot like some sort of anti-virus program throwing a false-positive. Points 4-6 point to some sort of service or driver that is causing the problem. Technical Security software, like anti-virus programs usually have to run at a low-level to avoid letting malware sneak in, so they use drivers and run under the System process. This prevents most programs from being able to detect that a file is locked by the security program (which is why Unlocker could not find any open handles), and even if they can, they only show that System has it open which isn’t very helpful. Application and Explanation You said that you had AVG installed at one point, but uninstalled it. Apparently AVG did not uninstall completely (missed a reboot?) and so its drivers was left behind.
So now, whenever you access a file, the driver locks it to scan, but because the rest of the program is gone, there is no way for it prompt you if it thinks the file is suspicious. If the program were still installed, it would show a prompt and ask you want to do (or more likely these days, automatically quarantine/delete the file to “protect” you). Since the program is gone, the driver component sits there waiting, while keeping the file locked. Since you had uninstalled AVG a while ago, it probably doesn’t have the latest definitions (if any?), so it would not be able to leave the latest version of php5ts.dll alone, and threw a false-positive, thus locking the file with no way of telling it knock it off.
AVG I don’t know if AVG ever complained about this specific version of php5ts.dll when it first came out, but it. Also, I don’t know if AVG is known for having a lot of false-positives, though I’m sure I’ve read that about some AV vender; but a cursory check seems to indicate that has at least 33% more hits for AVG than other AV vendors. Advice for the Future This problem occurred because AVG did not uninstall completely and left remnants behind. Unfortunately this is an all–too-common problem. In the future, when uninstalling any software be it anti-virus programs, printer drivers/software, etc. Always check if the vendor has provided some sort of removal/cleanup tool/utility (try different combinations of words to make sure you find it). Most security software and printer vendors, as well as some other software firms and hardware manufacturers will have a (usually small) program that you can download and run to wipe out all traces of their software.
Unfortunately, this is usually not built into the uninstaller and must be downloaded manually from their site. Sometimes it will be in the normal parts of their site, sometimes it will be buried somewhere in their support forums. (These are usually compiled from bug-reports from people who found left-over files, registry entries, services, etc. That are left behind by the uninstaller, which is why they are separate.) In your case, you could have (and still should), use the. NB: when searching for a cleanup utility for security software, be careful not to mix it up with a.
It was a pleasant surprise for me to learn that are enabled by default as of PHP 5.3.0. No need to figure out and, set up the environment to compile from source, or beg for a Windows binary in PHP developer forums, thought I. Upgrading from 5.2.6 would be as easy as making the respective lines in Apache’s httpd.conf point to the 5.3.0 installation I was wrong. Apache won’t start and it took me more than half an hour to figure out what’s going on. First, comes in several binary incarnations.
The official site suggests that “VC6″ PHP binaries must be used with apache.org Apache binaries, whereas e.g. States that “VC9″ PHP binaries must be used with Apache binaries provided. As far as I could recall, I had the apache.org binaries, so I tried the VC6 build and Apache crashed on startup with access violation. Assuming a memory failure on my part, I tried the VC9 build but Apache still won’t start, this time with the following event appearing in the Event Log: Event Type:Error Event Source:Apache Service Event Category:None Event ID:3299... Description: The Apache service named reported the following error: >>>httpd.exe: Syntax error on line 490 of O:/apache-2.2/conf/httpd.conf: Cannot load O:/php-5.3.0/php5apache2_2.dll into server: The specified procedure could not be found.
So I searched for “Apache 2.2 cannot load php5apache2_2.dll” and spent the next twenty or so minutes reading various forums and blog posts, to no avail. When nothing helps, read the manual. I have re-read the “Apache 2.0.x on Microsoft Windows” section in the PHP install.txt file and noticed: Note: You should read the manual installation steps first! Shyne Die Wahrheit Vorgeschoben Rar Extractor here.
This made me think: “Hmm. Perhaps I had done something when installing PHP 5.2.6?” I scrolled to “Manual Installation Steps” and you know what, it turned out to be the case! The CGI and CLI binaries, and the web server modules all require the php5ts.dll file to be available to them.... To make php5ts.dll available you have three options: copy the file to the Windows system directory, copy the file to the web server's directory, or add your PHP directory, C: php to the PATH. I blindly trust Windows Update to mess with my Windows system directory, but never manually copy files there, so the first option was ruled out. PHP was not in the PATH either, so looked into Apache bin/ directory and voila, php5ts.dll was right there.
However, replacing it with php5ts.dll from PHP 5.3.0 did not help. Fortunately, at this point I recalled switching to the VC9 build in an attempt to solve the access violation problem. Switched back to VC6 and Apache finally starts!
Lessons learned: • Manual installation now means manual uninstallation/upgrade in the future. Take notes during the process. • When you have to resort to reading the manual – read, don’t scan Tags:,, This entry was posted on Sunday, November 8th, 2009 at 6:34 pm and is filed under. You can follow any responses to this entry through the feed.
Both comments and pings are currently closed.