Search code examples
phpmysqliwampserver

Can I use mysqli in wamp without having to pay for web hosting?


Can I use mysqli in wamp without having to pay for web hosting, just like I can use mysql in wamp without having to pay for web hosting? and if so, please help me see the light.

PS: I only want to pay for hosting when my site is ready. but I cant seem to use mysqli in wamp, like I can use mysql. and I dont want to use mysql

Thanks


Solution

  • You need to be running PHP 5.29 or higher. If you are not, update PHP first. If you are running that version or higher, or after you upgrade, follow these steps:

    1. Left click wamp manager icon -> PHP -> PHP Extensions
    2. Click and select the php_mysqli extension
    3. Restart all services in WAMP