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.
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 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 recently installed iis 7 and php 5.6.15 on my windows computer and for the most part everything is working fine. I can run phpinfo perfectly, but when I was trying to connect to a remote MySQL database I received the error above.
From searching the web I've learned that I do not have the module required to use pdo (pdo_mysql I think?).
I also for some reason do not have a php.ini. I have a loaded configuration file of (none) according to phpinfo. I have a php.ini-production and development however, but when I renamed production as php.ini I couldn't even use phpinfo.
So in conclusion how would I go about installing the pdo module I need (noting that I have very little experience with web design or php in general)?
I suggest you use a WAMP stack instead of IIS. Use WAMP/XAMPP on your windows! It's much easier to configure, and install modules. Plus, it would have configured your MySQL and Apache Server for php for you! So, you can just start building away!
I just updated from WAMP 2.2e (Apache 2.2.22, PHP 5.3.13, MySQL 5.5.24) to WAMP 2.5 (Apache 2.4.9, PHP 5.5.12, MySQL 5.6.17). I was using the mongo driver 1.5.0RC2 with WAMP2.2e, with no problem.
With the update, I went to grab the latest Mongo driver, grabbing 1.5.4. The problem is no matter which of the 4 drivers for PHP 5.5 I put into my ext folder, none of them work. They all give me a small warning icon in the WAMP PHP extension menu and won't turn on, and if I add it to php.ini and restart Apache, it doesn't show up in phpinfo().
I have no idea why its not working or how to diagnose what's wrong.
EDIT: Previously, I was getting the drivers from https://s3.amazonaws.com/drivers.mongodb.org/php/index.html. I just went to http://pecl.php.net/package/mongo/1.5.4/windows and downloaded the driver from there; this time, WAMP doesn't give me a warning icon, but PHPinfo still doesn't show me Mongo.
I was also facing the same problem. In my case, i just set mongodb bin"C:\Program Files\MongoDB 2.6 Standard\bin" path in environment variable then restart the wamp and now everything is working fine with 1.5.5
So I found out the issue was the latest driver. I was trying to use 1.5.4, kept saying 'The specified module could not be found'. I went down to 1.5.1 and it worked. I found posts suggesting older versions that did work for people, so I figured I can try downgrading. I had already tried 1.5.3 with no avail, so I kept going. 1.5.2 also failed, but 1.5.1 ended up working.
So, I've been at it all day and about to give up, but thought posting my question would be a good last chance. I know this is difficult, but not impossible, since I've read the stories from many on the same topic and they all seem to get there eventually.
I'm trying to install Imagick (the PHP DLL for Imagemagick) on Windows Server 2008 R2 64-bit. I am using the thread-safe version of PHP and had the server running perfectly fine before trying the install. Here are the steps I've already taken:
I installed the GPL GhostsScript package (gs905w64.exe) since ImageMagick asked for it to be installed prior to ImageMagick itself. Ok, next...
Downloaded "ImageMagick-6.6.2-10-Q16-windows-x64-dll.exe" and installed it to path C:\imagemagick. According to the internets, this seems to be the version of choice for this server/DLL mix. I tried 4 other installs, including the latest version, and this so far seemed the best fit. After install, the command line steps it says to take with "logo.miff" worked fine. After the install and test, I confirmed that the installation path showed up in my Environment Variables correctly. Great... next.
Downloaded "php_imagick_ts.dll" from here, saved it to my extensions folder (yes, the correct one) and added it to my php.ini file (also the correct one). Since that didn't work, I tried all 3 versions of the thread-safe DLLs on that same download page. None of those worked either, so I tried the non-thread-safe versions as well with no luck. I also tried the php_imagick_dyn-Q16.dll available from here, as well as the static version too. The static version finally worked after everything.
I installed Microsoft Visual C++ 2008 Redistributals (both the main and SP1 versions). This seemed to have no effect on anything.
Final result after all of this: "imagick" shows up in my phpinfo(), but doesn't work and extension_loaded('magickwand') returns false. I'm assuming my installation failed here. Can you let me know what I'm doing wrong?