Okay, so, I had PHP, Apache, and MySQL installed with WAMP, but I needed an extension to be used that I thought I couldn't change with it using WAMP (I don't know now, I've uninstalled it). So now I'm installing everything manually, but I came across a problem, which I thought I found an answer to in the PHP manual:
How do I know if my php.ini is being found and read? It seems like it isn't as my changes aren't being implemented.
To be sure your php.ini is being read by PHP, make a call to phpinfo(). Near the top, there will be a listing called Configuration File (php.ini). This will tell you where PHP is looking for php.ini and whether or not it's being read. If just a directory PATH exists, then it's not being read, and you should put your php.ini in that directory. If php.ini is included within the PATH, it is being read.
If php.ini is being read and you're running PHP as a module, then be sure to restart your web server after making changes to php.ini
See also php_ini_loaded_file().
How do I add my PHP directory to the PATH on Windows?
- On Windows NT+ and Windows Server 2000+:
- Go to Control Panel and open the System icon (Start -> Settings -> Control Panel -> System, or just Start -> Control Panel -> System for Windows XP/2003+)
- Go to the Advanced tab
- Click on the 'Environment Variables' button
- Look into the 'System Variables' pane
- Find the Path entry (you may need to scroll to find it)
- Double click on the Path entry
- Enter your PHP directory at the end, including ';' before (e.g. ;C:\php)
- Press OK
So I did all that, but from what I can tell it's still not reading the file. Any suggestions?