How Do I Run a PHP Program under XAMPP?



I am a programmer experienced in writing database applications. I
taught myself PHP and now I am trying to install it myself. My
operating system is windows 7. I downloaded XAMPP and need to:

1. Know where to put the PHP programs.
2. Tell XAMPP where they are.
3. Know how to use my browser to run them.
4. Get windows to let me set files instead of telling me I don’t have
permission. (I paid for the computer and the computer store gave me
permission to take it home and use it.)

I believe I know most of it but need to correct and complete it.

1: The PHP programs will be in c:/xampp/htdocs/LL starting with
index.php

2: There are two files used to tell XAMPP where the PHP programs are.

c:/xampp/apache/conf/extra/httpd-vhosts.conf will contain:

<VirtualHost *:80>
DocumentRoot "c:/xampp/htdocs/LL"
ServerName LL
</VirtualHost>

c:/windows/system32/drivers/etc/hosts will contain:

127.0.0.1 LL

3: I will start Internet Explorer and type http://LL.local into the
address field.

4: I have no idea how to make it stop saying ”You don’t have
permission.” when I try to change the files in (2).

Thanks for any help.

Charlie
.



Relevant Pages

  • Re: NEWB question about PHP and IIS 6 on Windows 2003 Server
    ... >>have installed PHP 4.3.8, and everytime I try and run a php file I receive ... Windows/IISx, then for development purposes, consider using xampp ... as a Windows hosted test bed. ... some used downlevel components; some had only sporadic ...
    (comp.lang.php)
  • Re: How Do I Run a PHP Program under XAMPP?
    ... operating system is windows 7. ... Know where to put the PHP programs. ... Tell XAMPP where they are. ... permission to take it home and use it.) ...
    (alt.php)
  • How Do I Run a PHP Program under XAMPP?
    ... operating system is windows 7. ... Know where to put the PHP programs. ... Tell XAMPP where they are. ... (I paid for the computer and the computer store gave me ...
    (php.general)
  • Re: How Do I Run a PHP Program under XAMPP?
    ... taught myself PHP and now I am trying to install it myself. ... operating system is windows 7. ... Tell XAMPP where they are. ... If PHP is activated in XAMPP Apache will find them. ...
    (alt.php)
  • Re: How Do I Run a PHP Program under XAMPP?
    ... taught myself PHP and now I am trying to install it myself. ... Tell XAMPP where they are. ... Get windows to let me set files instead of telling me I don’t have permission. ... If PHP is activated in XAMPP Apache will find them. ...
    (alt.php)