Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: configuring php on localhost

  1. #1
    ufclan is offline x10Hosting Member
    Join Date
    Sep 2007
    Posts
    37

    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

  2. #2
    Jesse's Avatar
    Jesse is offline Lord Of The Keys
    Join Date
    Oct 2007
    Location
    Manila, PH
    Posts
    1,361

    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/
    x10HOSTING
    Member Since October 2007.

    JESSEMAN.ME
    | iMusicz.net

  3. #3
    ufclan is offline x10Hosting Member
    Join Date
    Sep 2007
    Posts
    37

    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

  4. #4
    curt15's Avatar
    curt15 is offline x10Hosting Member
    Join Date
    Jul 2007
    Posts
    96

    Re: configuring php on localhost

    I dont think you can with XP. I had that problem

  5. #5
    cyberzone's Avatar
    cyberzone is offline x10Hosting Member
    Join Date
    Nov 2007
    Posts
    21

    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.

  6. #6
    Livewire's Avatar
    Livewire is online now Abuse Compliance Officer
    Join Date
    Jun 2005
    Location
    Behind a keyboard.
    Posts
    9,224

    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.
    Customer Service Team Associate

  7. #7
    cyberzone's Avatar
    cyberzone is offline x10Hosting Member
    Join Date
    Nov 2007
    Posts
    21

    Re: configuring php on localhost

    yeah..this for testing php script before you upload php files into the server..

  8. #8
    ufclan is offline x10Hosting Member
    Join Date
    Sep 2007
    Posts
    37

    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?

  9. #9
    kajasweb's Avatar
    kajasweb is offline Lord Of The Keys
    Join Date
    Aug 2007
    Location
    Chennai, India
    Posts
    1,723

    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.
    Last edited by kajasweb; 01-02-2008 at 02:41 AM.
    // Kaja Mohideen

  10. #10
    ufclan is offline x10Hosting Member
    Join Date
    Sep 2007
    Posts
    37

    Re: configuring php on localhost

    I tried that but my htaccess file is still not working

Page 1 of 2 12 LastLast

Similar Threads

  1. tons of PHP Resources
    By Chris S in forum Scripts, 3rd Party Apps, and Programming
    Replies: 10
    Last Post: 01-16-2009, 10:07 AM
  2. Unstand PHP?
    By o0slowpaul0o in forum Tutorials
    Replies: 8
    Last Post: 01-07-2008, 09:16 PM
  3. Sigo con problemas con phpbb2
    By reciecho in forum Free Hosting
    Replies: 7
    Last Post: 10-20-2007, 06:28 PM
  4. "PHP Startup: Invalid Library" - Interesting error
    By javaguy78 in forum Free Hosting
    Replies: 5
    Last Post: 03-27-2007, 02:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
dedicated servers