Just a quick question. I have a developement server that I've changed various PHP settings in using different extensions, etc. I'm having a bit of trouble with the PHP installation on the production server. Can I just copy the PHP folder from development to production?
Thank,
Jonesy
You need to document the extensions and parameter changes, then implement the same into the production server. This will also come in handy when you need to move to a new server.
Technically yes, if that's where PHP is looking for the php.ini file.
If you're running on Windows, it should be in the PHP folder, but it's also possible that the version being used is in the Windows folder.
Copying the PHP folder directly should work, but gAMBOOKa is right, configuring the new installation by hand will let you review each option, and help you familiarise yourself with the configuration.
You need to look for available extensions, and even for PHP version, which may differ too