printersnn.netlify.com
Install Mysql Module Php Windows Curl
How do I install MySQL modules within PHP? Also if php is running as a module within apache you will need to restart the apache server to pickup the changes. Hi Scott, Did you install cURL on your server? How difficult was it? Did you have to compile PHP after?
Below is a list of drivers that may be suitable for your device. Why do i see many drivers? With the different devices, they can have the same driver, it's because they all use the same chip manufacturer. Network controller driver for hp 250. If you are looking for an update, pickup the latest one. How to select driver?
I've updated php.ini and moved php_mysql.dll as explained in steps 6 and 8 here.
I get this error…
MySQL doesn't show up in my phpinfo; report.
I've updated the c:Windowsphp.ini file from
to
Result: no change.
I changed the php.ini value of extension_dir thusly:
Result: much more in the phpinfo; report, but MySQL still isn't working.
I copied the file libmysql.dll from folder C:php to folders C:WindowsSystem32 and C:Windows
Result: no change.
I stopped and restarted IIS.
Result: new, different errors instead!
I found several .php files in the website where I had to set variables:
Result: The site works!
4 Answers
As the others say these two values in php.ini are crucial.
I have the following in my php.ini: note the trailing slash - not sure if it is needed - but it does work.
Also it is worth ensuring that you only have one copy of php.ini on your machine - I've had problems with this where I've been editting a php.ini file which php isn't using and getting very frustrated until I realised.
Also if php is running as a module within apache you will need to restart the apache server to pickup the changes. Wise to do this in anycase if you're not sure.
a 'php -m' from the cmd prompt will show you the modules that are loaded from the ini file.
Richard HarrisonRichard HarrisonIn the php.ini file, check if the extention path configuration is valid.
vIceBergvIceBergYou will need to enable the extension=php_mysql.dll option in the php.ini as well. Also, make sure that the file is in the extension_dir you set.
You can read more about it at:
Harrison FiskHarrison FiskOn a completely different note, might I suggest WampServer? It should get you up and running with a Apache/PHP/MySQL install in no time.
You could even compare the WampServer config files with your own to see where you originally went wrong.