Installing xampp - php

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

Related

Is it posible to copy/paste xampp folder and make it work in another computer?

I have a xampp server in a laptop with an application running as development environment, and I need to move all the server to a new computer.
Will it work if I copy/paste the complete xampp folder from one to another, or is it needed to "install" xampp from the installation package in the new computer?
I need it to be the exact version because productive environment does not support a newer version of PHP (actual version is 5.5.11).
I already tried downgrading a xampp installation but it seems that I need to install also the xampp version that supports the PHP version.
I did not succeed on finding that specific version of PHP on surceforce.
Any clues would be appreciated.
I think you should consider to use VirtualBox or/and Docker for future :)
So I've figured out it can be done. I installed the newest version then copied all config folders from my actual version along with all my files.

Windows 10 uninstall Mamp - cannot find C:\MAMP\unins000.exe

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.

Unable to connect sql server database with codeigniter on xampp with windows 7

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......

Upgrade PHP on XAMPP 1.8.3 windows 7 installation

I have XAMPP 1.8.3 installed on my windows 7 machine. Which include PHP 5.5.6. I want to upgrade the PHP to 5.6 version. Is it possible to do the upgrade while keeping the XAMPP bundle other module as it is (Apache, MySQL). Can any one suggest a way to do upgrade on windows 7.
Download the package from following url:
http://windows.php.net/download/. Make sure the “Thread Safe” zip
file with around 20MB was downloaded.
Extract and rename the folder to “php”.
Rename the existing “php” folder to something and place the new
bundle with folder name “php”.
Then restart the apache server. It will simply load the new PHP
version.
Try like this:
How to upgrade php in xampp:-
Lots of time you need to use multiple version of php for your
different project. In this case either you want to install xampp on
different port or you can install one xampp and upgrade php. In this
article I will demonstrate how you can upgrade php in your xampp
server. I will demonstrate the complete process by adding PHP 5.4
with XAMPP. Following is the step by step process of upgrading php
in your xampp server. Before trying these steps please take complete
backup of your code and database alognwith xampp because any small
mistake can lead to the corruption of your regular XAMPP.
Upgrade PHP in XAMPP server
Download PHP : If you are using xampp ofcourse you are using windows operating system. So first download your desired version of php binary from http://windows.php.net/download/ website. Be careful while choosing binary. If you are using XAMPP then your webserver is apache. So always download Thread Safe binary. Also read the compiler suggestion carefully on the windows.php.net site. I will recommend to download zip version.
Configure New PHP Version with your xampp: Unzip the downloaded version of the PHP in a separate folder. Please make sure that your new php folder name is not “PHP”. May be you can use folder name as the version name. For example for php 5.4 you can use php54. Copy the new php folder into your xampp folder. Now go to yourxampp/apache/conf/extra folder. Open file httpd-xampp.conf from the folder extra. Change the following variables:
Variable PHPINIDir to be your xampp folder new version of PHP
Varaible LoadModule to be your xampp folder/new version of PHP/php5apache2_2.dll
Save the file httpd-xampp.conf. Restart your XAMPP apache server. If your server get restarted successfully then your server php version is upgraded. You can check the status of your php version by URL http://localhost/xampp/phpinfo.php .

Wamp Server 2.5 (PHP5.5) Cant activate sqlsrv module

I just updated my Wamp Server and got a problem now.
My SQLSRV extension wont get loaded correctly.
I dont know where the problem is exactly because i dont get any errors on startup. Also the error log is clean. There is just a little red triangle instead of a check in the php extension list:
Some Information:
Windows Server 2012 x64
Wamp 2.5 32BIT
PHP5.5
The Warning Icon means one of 2 things :-
Either the extension= line is in your php.ini but the dll it points to is not in your \ext folder
Or the dll exists in the ext folder but not in your php.ini
Which one is it in your case. If you updated WAMPServer the SQLServer dll does not come with any PHP install by default, so you will have to download it from the microsoft site.
hmm, i still cant understand this error. sure i know that i have to download the SQL driver manually. And i know only the "SQLSRV31.EXE" driver is working with Win Server 2K12. I downloaded this one and copied all php5.5 drivers into the /ext folder. Then i copied the name of the dll`s and added them to the php.ini:
http://fs1.directupload.net/images/141206/pkij993j.png
I will tryout installing the older wamp version with php5.4 included. May this will work =)
I also experienced the same thing happened to you. I tried many things but didn't work at all. I installed all the things required for Wamp like Microsoft visual basics 2012 but it still didn't worked.
This is the most important thing, for me this problem happened because i download wamp server 2.5 from the official wamp server site. http://www.wampserver.com/Mk
DON'T DO IT. it's totally a shit. then i download wamp server 2.4(old version) from this site called FIRE HORSE. this is the link http://www.filehorse.com/download-wampserver-32/
I downloaded and installed wamp server 2.4 from this site and it worked perfectly fine. and i also installed the latest Joomla version 3.4.5 in wamp server. Now i'm using it 100% fine. Many thanks for FIRE HORSE site.
I hope you all will find this useful and don't forget to tell me if i'm wrong because i'm still in learning progress i just shared my experience with you all. thank you.

Categories