Nov 22, 2009

How To Use Xampp To Test Php

free web hosting
Open Discussion > MODERATED AREA > Computers > Programming Languages > PHP Programming

How To Use Xampp To Test Php

KingSingh
Hi, I'm new at trap17, and it's a good host, but there are too many forums so sorry if I got this is the wrong forum.

I am using Fedora 9 (Linux) and I want to test PHP locally and one of the moderators said XAMPP is good. I''ve got it installed and that, and I can go to the XAMPP page by going to http://localhost/xampp/ and logging in.

However, I want to know how I can use XAMPP to test PHP locally.

Any help would be appreciated. smile.gif

Comment/Reply (w/o sign-up)

jlhaslip
Store your scripts/programs in the htdocs sub-folder under the XAMPP folder.
Then access the script using http://localhost/folder/script.php in your Browser. Be certain that the XAMPP Apache Server is running before calling the script.

Comment/Reply (w/o sign-up)

KingSingh
I don't get what you mean by access the script. To go on XAMPP, in the Terminal, I type
CODE
su
-root password-
/opt/lampp/lampp start


Then I go to http://localhost/
To stop XAMPP, I do the above but type 'stop' instead of 'start'.

Thanks anyway, 'cause now I can test my PHP scripts locally. smile.gif

EDIT: Oh, you're probably on 'bout XAMPP on Windows... Lol. I used Fedora more. tongue.gif

Comment/Reply (w/o sign-up)

Galahad
Dunno where XAMPP for Linux expects files to be... Generic Apache configuration on my Linux looks in /var/www for files and scripts... Maybe there? You should read XAMPP documentation, or configuration files, to see where XAMPP wants the files to be...

Comment/Reply (w/o sign-up)

(G)arsh
xamp problem
How To Use Xampp To Test Php

I am begginer in php.I installed xamp server and started the server now I dontknow how to run my first php basic program.

-reply by arsh

Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : xampp, test, php

  1. Xampp How Can I Generate "automatic Start Sites"
    (8)
  2. Sub Domain Help In Xampp
    Sub Domain Help in xampp (4)
    I am trying to work out how to get subdomains working in xampp. I have tried all of the tutorials
    on the net but I still cant work it out. Any Ideas? Thanks Rob....
  3. Parsing Html As Php
    and XAMPP as the server version on Windows (7)
    On my Trap17 account here, I have an .htaccess file with the following declaration which (I think)
    forces all html files to be parsed by the PHP Parsing engine and therefore I can insert snippets of
    php scripts into html files. CODE AddType application/x-httpd-php .html .htm However, when I
    add an .htaccess file to the local directory of the version of XAMPP on my local machine, it fails.
    I have tried to add the .htaccess file to the htdocs folder and elsewhere, but it still doesn't
    work to parse html through the php parser. Any ideas on how to get these htm....
  4. Php Version Differences? Or Not?
    between the trap and XAMPP??? (5)
    The Trap uses php version 4.4.1 and I have downloaded and installed the XAMPP php Local Server
    configuration which includes php version 5.1.1 and mysql and perl etc, but this question relates to
    the php because that is where I am currently having difficulties. This is the script I am having
    problems with locally: http://www.trap17.com/forums/script-build-...nks-t33362.html Both places
    have the same identical files, code and data. Both are folders in the root directory. I have used
    phpinfo function to confirm the server root is what it should be (public_html and htdo....

    1. Looking for xampp, test, php

Searching Video's for xampp, test, php
See Also,
advertisement


How To Use Xampp To Test Php

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com