How will I configure my PHP and MySQL so that they can work with Apache server?
The versions that I use are
I know that I have to configure the php.ini file. But what changes am I supposed to make?
Thanks in advance.
It would help to know which OS you're using.
- You might want to install Apache first.
- When installing PHP, make sure you also install the "mysql" extension (and/or "mysqli").
- The PHP installer may ask you which server you're running -- select Apache 2.2.x
- The installer will add the appropriate settings to php.ini for you
Again, the above is assuming you're on Windows, and the installation varies on other OS'es. For example, on Ubuntu you'll likely have to "apt-get" the mysql extension.
This doesn't really answer your question, but this will install it for you in 1 click http://bitnami.org/stack/moodle
install.txt. All the information to configure Apache correctly is inside this handy file!