I installed xampp 7.1.2 in my windows 7 computer and after installing it when i try to run apache i get following error -
the program can't start because api-ms-win-crt-runtime-l1-1-0.dll is
missing from your computer. try reinstalling the program to fix this
problem.
I reinstalled but no progress.
I posted a topic for this problem in apachefriends.com forum and they said me to have "MS visual c++ 2015(x86) 14.0.24.." installed, which i already had installed. I uninstalled existing this software in my computer and reinstalled this mentioned software but still i can't run apache in xampp control panel, i am getting same error as i wrote above!!.
I searched through web about this problem but did not find similar one. so how should i proceed??
Try following this answer here on SO.
After installing, search for that dll to verify that it exist somewhere.
If not, it's worth trying this:
Check with procmon where xampp is looking for that dll, and then download the dll and put it in the place it's looking for.
Related
Short backstory: Recently I've installed MAMP as I want to start learning PHP. I got version 4.1.1 from the MAMP homepage, Apache didn't start. This seems to be a common bug for that version, I found a solution in downloading version 4.1.0. Both servers started but the Open WebStart Page didn't work.
My Problem: I wanted to try reinstalling it, I deleted the MAMP folder, as I thought that would be sufficient, instead of deleting it in the system settings. Now when I download it again and start the installer it says
MAMP setup has detected existing MAMP installation. You need to remove existing installation before proceeding. Do you want to uninstall it now?
Clicking either yes or no gives me
MAMP setup will now exit and the existing MAMP installation will not be removed.
In the system settings I find
MAMP & MAMP PRO 4.1.0 version 4.1.0 (1.47 GB)
When trying to uninstall it it gives me this error
Windows cannot find 'C:\MAMP\unins000.exe'. Make sure you typed the name correctly, and then try again.
Is there any way, other than reinstalling my whole OS, to solve this problem or do I have to turn to a different web server app?
I just encountered this problem and I hope my solution works for you as well:
Just download the .exe file into another device and install the MAMP.
After a successful installation, just copy the folder to your original device that has the problem.
And then you should find a file with a name starting with "uni" meaning it is for uninstallation. Just run that file and then everything should be fine!
I had the same problem (on OS is windows 10).
I browse the web and found a way:
You can download the ccleaner and use it, it can delete the MAMP.
I'm quite new to Linux and still trying to adapt my self. I've setup my working environment all good, installed XAMPP, node, sublime, etc. But when I tried running a laravel app, the first thing that caught me was I couldn't run php.
I was confused because i had already installed XAMPP (which i thought would've done it all for me), but then I simply created a symlink in my /usr/bin to the /opt/lampp/bin/php and it all worked well (I'm not sure if that was all correct, but it worked).
Then when I tried opening the app in my browser, it couldn't find the sql driver, so I asked my self, what exactly am I doing wrong? XAMPP should have taken care of all those things (as its name suggests), but it didn't setup php and mysql as i thought it would.
Am I missing something here? Should I install MySQL driver and PHP apart from XAMPP? Because that makes no sense at all for me. I really need some basic guidance here about this whole thing, what makes it so different from Windows where I simply install XAMPP and start programming?
I need to understand that so I can have a better understanding of the system it self and fix these kind of problems my self in the future.
PS: I'm using Ubuntu 16.04 and instaled XAMPP with PHP 7.0, downloaded from official website.
Thanks everyone!
I never used xampp on linux myself so i dont know how does it work here but I can tell you what really got me good start at understanding of linux was installing whole LAMP stack myself. So i would recommend googling 'How To Install LAMP' and try to figure it out from countless tutorials.
Basically you install apache, then mysql and php, restart server and check if 'It works'.
try two things
In the folder /etc/php/php.ini
uncheck the line extension=pdo_mysql.so
or in the folder of lampp (/opt/lampp/etc/php.ini)
And to start Laravel you need start with ~/php artisan serve
in the browser localhost:8000
I have an application where i need to connect my web (PHP based) application with desktop application database so that both desktop and web can communicate with each other.
On ubuntu OS connectivity is working fine but when i comes to windows 7 codeigniter sql server connectivity is not working.
i tried visual c++ redistributional packages as well as other instructions provided on many platforms but fails.
i also added extensions in php\ext and dll files as well as include that extensions like sql_serv55_nts like that but nothing is working.
last error that i am receiving is
application not be run as php5.dll is missing .
can some one help to figure this out as soon as possible and can send me proper tested procedure for this.
As you say you have installed the sql_serv55_nts version of the SQLServer libraries, this is your problem.
Instead install the TS (Thread Safe) version of the SQLServer libraries. XAMPP on windows runs Thread Safe.
The php5.dll is the Non Thread Safe version of php5ts.dll which is supplied with the XAMPP install of PHP.
Once you install the TS version of SQLServer libraries delete the php5.dll it is not required, also you got it from a source that you cannot be sure is safe. A simple rule of thumb If it was required it would have come with the XAMPP install.
NOTE: You should never need to copy anything related to Apache/PHP/MYSQL into the Windows system folders. If you do, when you come to install another version of XAMPP it will still be there and will cause you hours of debugging to find out why you are having odd issues.
ALSO: It is also dangerous adding anything XAMPP or WAMPServer related to the Windows PATH as this will also cause you issues when you come to update XAMPP/WAMPServer as you are bound to forget that this was done.
Try adding your php directory and your php extensions directory to your PATH environment variables.
I resolved issue in following way.
Install xampp with php 5.5
install microsoft re distributional package
download php5.ddl file from php5.dll
if window is 32 bit than just copy downloaded php5.dll into windows/system32
if you have 64bit window than you need to copy it into windows/SysWOW64 too.
best is to restart your PC
All done......
I tried to install xampp (I downloaded xampp-win32-upgrade-1.7.2-1.7.3). After I finish extracting it gives fatal error :
failed opening required : G:\xampp\install\xampp_xampp_php'
in G:\xampp\setup_xampp.bat on line 33
Did I download wrong archive. I'm installing on windows 7 64 bit.I don't have any preinstalled xampp.
Uhm just out of curiosity, if you don't have xampp installed, why did you get the upgrade version instead of the final one? Get the basic package instead
It's because you downloaded the 32 bit version, hence the 'win32' in the name.
You can also try a new WAMP Stack called AMPPS by Softaculous.
http://www.ampps.com/download
You can download xampp from Apache-friends. In there select your operating system such as windows / Linux etc.. Then in the download section click on xampp. Then you will see the link called "installer" click on it. and your download will start and it.
Download and install the software to your computer. If the application control start automatically it is fine. If not you can go to the folder where the xampp is downloaded and then check for xampp control click on it and open it.
Then what you have to do is starting Apache to access to our localhost. So you click on the start button right in front of Apache. And that you will see it starts running.
It is there described properly. How to install xampp. check it.
I installed it on Windows 10 and it installs quite easily as long as you have the correct version. I only chose Apache and MariaDB during installation. As I am using an earlier version of MySQL and using IIS, I will have to modify the MySQL and Apache to work on my computer. Although the installation web site says MariaDB, I still see MySQL. Perhaps I need to upgrade to MariaDB.
Here you can find more details with some screen shots:
http://hodentek.blogspot.com/2015/11/installing-xampp-on-computer-running.html
You just have to go to Xampp site and download new related version. it is easy to install
uninstall your xampp, and craete backup your file , install 64 bit version
This error comes when the Downloaded archive is damaged.
Please follow some steps it may help you:
Just delete temporary files in you System using Run Command
RUN-> TEMP
RUN-> %TEMP%
Download new archive (32 bit version is supported in 64 bit).
Restart your PC
Try to install if problem persists check your PC's antivirus
I know there have been some similar questions to this, but they haven't helped me.
I'm trying to install Wordpress 2.8.4 on my XP box, with IIS 5.1. I installed MySQL, and found that it was possible to install Wordpress through the Microsoft Web Platform Installer. After installing Wordpress (the install worked fine), I proceeded to the next step in the Wordpress installation documentation, which is to open wp-admin/install.php in your browser. IIS seemed to not be interpreting PHP, and when searching for the best way to install it, I saw that it is also available with Microsoft Web Platform Installer, so I installed it that way. However, my IIS isn't interpreting PHP still. I do not know what the problem is, but I'm going to reboot right now and see if that helps, as I didn't reboot after the install (even though it didn't say I have to). Any help would be greatly appreciated. Thanks!
Application mapping for .php extension to x:\php5\php-cgi.exe is needed.
Open properties dialog box of IIS's Default Website, and perform extension mapping.