The program can't start because php7.dll is missing from you

Problems with the Windows version of XAMPP, questions, comments, and anything related.

The program can't start because php7.dll is missing from you

Postby juggernautsei » 29. March 2020 04:31

I have posted a question on StackOverflow and I was hoping I could get an answer. I have exhausted the web looking for a current answer to the problem.
https://stackoverflow.com/questions/47589688/the-program-cant-start-because-php7-dll-is-missing-from-your-computer

Thank you for assistance.
juggernautsei
 
Posts: 2
Joined: 29. March 2020 04:28
XAMPP version: 7.2.x
Operating System: Server 2008 Enterprise

Re: The program can't start because php7.dll is missing from

Postby gsmith » 29. March 2020 21:17

Chinmay235@stackoverflow wrote: I searched in google found php7.dll file from here put this file in my System32 directory then restarted my PC. While again start xampp same thing happen. Please help me.


You shoudln't get DLLs from unknown sources, you never know what is also inside it (malware). Remove that php7.dll from your System32 directory! It's also not good practice to pollute System32 with other files.

As stated in one of the stackoveflow replies, php7.dll is for the Non-Thread Safe (nts) version of php. If xampp is asking for php7.dll you have the Non-Thread Safe version of the rdkafka extension. You need Thread Safe to match the Thread Safe version of php that comes with xampp so start over by removing everything you have done.

These instructions are for the absolute beginner some of which you already know so don't get offended.

1. The extensions you need for your version of php is here: https://windows.php.net/downloads/pecl/ ... 15-x64.zip
2. Copy the php_rdkafka.dll file to your \xampp\php\ext folder
3. Copy the librdkafka.dll file to your \xampp\php folder
4. Add the extension to the php.ini file
5. Open xampp\apache\conf\extra\httpd-xampp.conf file in Notepad or a better text editor.
6. Find the line: LoadFile "/xampp/php/php7ts.dll"
7. Add: LoadFile "/xampp/php/libkafka.dll"
8. Save the changes and restart Apache.

Image
gsmith
 
Posts: 268
Joined: 29. November 2013 18:04
Location: San Diego
XAMPP version: 0.0.0
Operating System: Win 10/2012R VS 14,15,16

Re: The program can't start because php7.dll is missing from

Postby juggernautsei » 29. March 2020 21:50

It was the fact that PHP no longer supports Windows Server 2008. I down graded the PHP to 7.0.1 and it loaded right up. However the application required 7.1.2 and I did not have a copy of that version of PHP. So, we were still SOL.

Thank you for your response.

And I did find that information is a thread out on the web.
juggernautsei
 
Posts: 2
Joined: 29. March 2020 04:28
XAMPP version: 7.2.x
Operating System: Server 2008 Enterprise


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 50 guests