I am using a windows XP. I just want to know how to configure apache and php so .htaccess works and so i can run phpBB 3. I have PHP 5.2.5 and Apache 2.0.59 and a working MySQL 5
I am using a windows XP. I just want to know how to configure apache and php so .htaccess works and so i can run phpBB 3. I have PHP 5.2.5 and Apache 2.0.59 and a working MySQL 5
Are you configuring your own Apache HTTP Server? If yes check this link made by tonecas: http://apachetutorial.site.vu/
Yes i m configuring everything on my own. I had a look at the log and found that i m forbidden from usuing it. Can any1 tell me how to change the persimmion for localhost
I dont think you can with XP. I had that problem
you can download this software to running you php in localhost windows
goto this website to more information http://www.apachefriends.org/en/xampp.html
Last edited by cyberzone; 01-01-2008 at 10:38 AM.
Just a minor clarification for xampp: it is NOT a public server, it was not intended to be used as such, and to configure it to do so would take more time and effort than needed.
Xampp's f***ing great for testing stuff though; I've got 12 different CMS's installed on it so I can figure out which I like most :D Can't think of anything better if you're just looking to do testing before putting a script on x10 (handy cause sometimes a script has a glitch, like an infinite loop, that would give x10 a heart attack or suspend for high resource usage).
Last edited by Livewire; 01-01-2008 at 10:49 AM.
Customer Service Team Associate
yeah..this for testing php script before you upload php files into the server..![]()
Yep it is only for testing purposes nothing else and thanks. I'll try out xampp. And what about WAMP?
I prefer installing Apache, PHP, and MySQL manually as you can know all of its configuration and settings for later usage.
- Prefer installing Apache 2.2.6 using a MSI Installer (Easy to install for Widows Users)
- Use the AccessFileName Directive to alter the filename of Accessfile. (I'm suggesting this because Windows MAY not allow you to have files starting with a period character.) Prefer usingin your httpd.confCode:AccessFileName ht.access .htaccess
- Install PHP (Prefer using php.ini-dist)
- Add the following lines to your httpd.confI have installed PHP inside the Apache Installation directory and that's why I have used a relative path to LoadModule directive.Code:LoadModule php5_module php/php5apache2_2.dll AddType application/x-httpd-php .php
- Install MySQL
- Edit the PHP.ini
---- Set Error_reporting = E_ALL (Useful for Testing Environment)
---- Set Extension Directory
---- Un-Comment the Extensions you want to use. (mysql & mysqli - For using MySQL)
I think, this is enough for you to complete your task successfully.
All the best.
Last edited by kajasweb; 01-02-2008 at 02:41 AM.
// Kaja Mohideen
I tried that but my htaccess file is still not working