Background:
I'm new to PHP, but I've been asked to make some code changes to support an application hosted on our Intranet. The actual code changes don't look too bad. However, there is currently no development environment, so I have undertaken to create a duplicate server to develop and test my changes.
At this point, and not being well-versed in PHP, it looks like I may have to reverse engineer all the Apache HTTPD and PHP configuration settings/options/packages on the production machine unless I can strategically copy the existing production environment to the development machine.
My questions:
Thanks in advance!
An alternative to the already mentioned solutions would be to setup a virtual host on the production machine, something like test.yourdomain.com
and copy the database to a test database.
Then you could test your site on the live server in a test environment and you would only have to change your db connection settings in the test version.