PHP wamp server error
I am pretty new on php particularly wamp. I got to access a live wamp server. PHP version 5.2.5. But my app needs to use PHP 5.3.0, so I just uninstall wamp from live server and install new wamp with PHP 5.3.0. Now the new installed server is not getting started. On starting it gives error that
php_pdo.dll file was not found. RE-installing app could fix problem.
Also the icon is still yellow. I want to know what the problem is with server and how this fix? 开发者_如何学GoAlso is there some thing because of previously installed wamp server? Pleas do tell me as it was live server so I need to fix things as quickly as possible.
Having PHP 5.3 you no longer need to have to activate PDO through the php.ini file. That means you're good to go using PDO natively.
This step is not necessary for PHP 5.3 and above, as a DLL is no longer required for PDO.
http://www.php.net/manual/en/pdo.installation.php
It means that you didn't load the PDO extension. Do a right click on the WAMP icon in your task bar and under PHP menu enable the PDO extension. Restart wamp and the problem should be solved.
Click on the wamp server icon on your taskbar, go to Apache and you will find Test Port 80 in there. That will show whether port 80 is available or not. If not, go to httpd.conf file which is in the Apache menu of wamp server, find line Listen 80. Change 80 to 88. Restart All Services in wamp and that should work. Let me know if that helped.
精彩评论