Best PHP loading to keep all my options?
In the past I have used WAMPserver for Windows to parse PHP for me. This is a preconfigured package focused on MySQL.
When I tried to start PostgreSQL I got error messages stating that my PHP version was not compiled to work with PostgreSQL.
So, I recently uninstalled WAMP and everything related to it. I downloaded Apache 2.2.11 with openSSL set as admin (you know, run command prompt as administrator, cd to the directory where the download was done and whether it was downloaded, so the installation was done as admin).
What is it. I have Apache installed now, "it works" appears, which is why I am so far away.
Now I'm wondering if I download the exe and install, or zip, or whatever. What's the best thing to do to make sure PHP on my system can handle anything I could ever throw at it?
Also, PHP first, or MySQL / Postgre. Finally, what about PEAR? I need PEAR, which is not standard on Windows. I'm guessing the pear.bat file in the PHP downloads will do this for me?
EDIT: I see one closed vote but does not comment on why. It makes me wonder how people who are so lazy and rude got a few points.
a source to share
I would recommend downloading the zip package as setting up php is actually not that hard and it allows you to add features as needed.
As for whether php or MySQL / PostgreSQL needs to be installed first, it doesn't really matter. You can install them in any order.
Your guess about PEAR is quite correct
a source to share
I haven't used wamp before, so I can't comment on this.
However, I am using xampp which is very similar to
in xampp if i want to enable postgres support i edit the php.ini file and uncomment the postgres ini section of the file, same with any extensions i need
maybe this could be an alternative you can try if you get stuck
a source to share
There are many ways to configure your HTTP / PHP / database server. Sometimes the behavior of your development setup will differ from the actual server.
I would suggest finding out the settings your web host is using and then getting a vmware appliance image that fits as closely as possible and getting any additional software using its package manager (which is easier than installing Windows).
Set up a link to share files between the VM and the host, make sure you can view the port 80 of the VM in a browser running on your host OS and you are set.
a source to share