x10Hosting Forums

Corporate Free Hosting for the Masses.


If you are having issues with your site please read the news.

Register

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
x10Hosting Member

Join Date: Sep 2007
Posts: 37
Credits: 523
ufclan is on a distinguished road
Quote  
12-31-2007, 09:49 AM
configuring php on localhost

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
Reply With Quote
ufclan is offlineReport Post
Lord Of The Keys

Jesse's Avatar

Join Date: Oct 2007
Posts: 1,255
Credits: 9,070
Jesse has a reputation beyond repute
Location: Makati City, Philippines

Send a message via MSN to Jesse Send a message via Yahoo to Jesse Send a message via Skype™ to Jesse
Quote  
12-31-2007, 10:31 AM
Re: configuring php on localhost

Are you configuring your own Apache HTTP Server? If yes check this link made by tonecas: http://apachetutorial.site.vu/
__________________
X10 HOSTING

My Sites:
www.imusicz.info | www.imagebucket.info
Reply With Quote
Jesse is offlineReport Post
x10Hosting Member

Join Date: Sep 2007
Posts: 37
Credits: 523
ufclan is on a distinguished road
Quote  
12-31-2007, 11:56 PM
Re: configuring php on localhost

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
Reply With Quote
ufclan is offlineReport Post
x10Hosting Member

curt15's Avatar

Join Date: Jul 2007
Posts: 96
Credits: 957
curt15 is on a distinguished road
Quote  
01-01-2008, 03:28 AM
Re: configuring php on localhost

I dont think you can with XP. I had that problem
Reply With Quote
curt15 is offlineReport Post
x10Hosting Member

cyberzone's Avatar

Join Date: Nov 2007
Posts: 21
Credits: 571
cyberzone is on a distinguished road
Quote  
01-01-2008, 10:37 AM
Re: configuring php on localhost

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.
Reply With Quote
cyberzone is offlineReport Post
VIP User

Livewire's Avatar

Join Date: Jun 2005
Posts: 1,054
Credits: 5,982
Livewire will become famous soon enough
Location: Ciroc

Send a message via Yahoo to Livewire
Quote  
01-01-2008, 10:48 AM
Re: configuring php on localhost

Quote:
Originally Posted by cyberzone View Post
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
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.
Reply With Quote
Livewire is online nowReport Post
x10Hosting Member

cyberzone's Avatar

Join Date: Nov 2007
Posts: 21
Credits: 571
cyberzone is on a distinguished road
Quote  
01-01-2008, 11:05 AM
Re: configuring php on localhost

yeah..this for testing php script before you upload php files into the server..
Reply With Quote
cyberzone is offlineReport Post
x10Hosting Member

Join Date: Sep 2007
Posts: 37
Credits: 523
ufclan is on a distinguished road
Quote  
01-01-2008, 10:48 PM
Re: configuring php on localhost

Yep it is only for testing purposes nothing else and thanks. I'll try out xampp. And what about WAMP?
Reply With Quote
ufclan is offlineReport Post
VIP User

kajasweb's Avatar

Join Date: Aug 2007
Posts: 1,648
Credits: 33,000
kajasweb has a spectacular aura about
Location: Chennai, India

Send a message via ICQ to kajasweb Send a message via AIM to kajasweb Send a message via MSN to kajasweb Send a message via Yahoo to kajasweb Send a message via Skype™ to kajasweb
Quote  
01-01-2008, 11:55 PM
Re: configuring php on localhost

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 using
Code:
AccessFileName ht.access .htaccess
in your httpd.conf

- Install PHP (Prefer using php.ini-dist)

- Add the following lines to your httpd.conf
Code:
LoadModule php5_module php/php5apache2_2.dll
AddType application/x-httpd-php .php
I have installed PHP inside the Apache Installation directory and that's why I have used a relative path to LoadModule directive.

- 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.
__________________
R. Kaja Mohideen
Start Your Own Blog... Start Making Money...
http://www.MyiStop.com/
If you find my post useful, Click on to give me some reputation, or Donate few credits to me.


Last edited by kajasweb; 01-02-2008 at 02:41 AM.
Reply With Quote
kajasweb is offlineReport Post
x10Hosting Member

Join Date: Sep 2007
Posts: 37
Credits: 523
ufclan is on a distinguished road
Quote  
01-03-2008, 06:49 AM
Re: configuring php on localhost

I tried that but my htaccess file is still not working
Reply With Quote
ufclan is offlineReport Post
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unstand PHP? o0slowpaul0o Tutorials 8 01-07-2008 09:16 PM
Sigo con problemas con phpbb2 reciecho Soporte 7 10-20-2007 06:28 PM
tons of PHP Resources Chris S Scripts & 3rd Party Apps 8 09-29-2007 08:09 PM
"PHP Startup: Invalid Library" - Interesting error javaguy78 Free Hosting 5 03-27-2007 02:33 PM


All times are GMT -5. The time now is 02:36 AM. Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC7
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

Yahoo Personals | Loans | Current Accounts | Loans | Car Insurance