About 6 months ago I installed apache v 2.2. It is running a number of services on my windows xp PC. Last week I installed PHP on this same PC. Since then I can't get PHP to work; it puts all the formatting in my browser. I have been advised on another forum to download the package provided here as a better way of getting php to work. Otherwise, I'm told, I have to set the config files for php to get the browser stuff right and being a computer idiot I have not got a clue about that.
I need to learn PHP as part of my internet studies.
But can I wreck my PC by installin g another apache and PHP, in this new package [waap or whatever it's called on this site] ? Should I uninstall my apache and php first before I download the new stuff? But is that unsafe as well?
Hi John, (ah, another Australian
)
No, you won't do any damage to your system by running XAMPP. To run XAMPP, you can actually just download the ZIP archive, and extract it to the root of your hard disk.
As for a proper portable server, I'm currently working on a PortableApps.com implementation of MicroApache (with MicroPHP, MicroSQL, etc.). MicroApache is also very easy to set up, and is a lot smaller than XAMPP.
PHP configuration should be already set up with either XAMPP or MicroApache. You shouldn't need to uninstall Apache or PHP before running either XAMPP or MicroApache.
And, of course, welcome to the PortableApps.com community![Smile](https://portableapps.com/sites/all/modules/smiley/packs/kolobok/smile.gif)
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
Actually
Apache and PhP can both run locally if you use there zip files and not there installers.
The installers add settings to the OS that can be changed if you know where and what.
The zip files are platform independent.
If you chose to use pear with php you might have a bit more complicated issue in setting it up to run locally but just plain php you will have no problem.
Look into how to set the httpd.config file for apache and the php.ini file for php and where to move certain files from php into apache folders to make it work.
Setting up MySQL to run locally can be done but a bit more complicated.
You could always use the sqlite db instead of MySQL but again a bit of configuring to be done but not overly complicated as sqlite is bundled with php just not set up from the get to.
As far a starting and stopping apache use the cmd files in the apache bin folder instead of setting it up as a service in Windows.