Jul 26, 2008

Running Php And Asp On The Same Machine - how to?

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > PHP Programming

free web hosting

Running Php And Asp On The Same Machine - how to?

epox
hello dudes, i was asking me if i can install and run php and asp on the same machine and how to do that, i'm migrating to asp.net but actually i need to test some php files, but i installed recently asp.net and don't know how to run my old php files, so i will be grateful if someone tells me how.

thanks in advance!

Reply

Inspiron
If you're running on Apache server, check this out.
http://www.apache-asp.org/

Else if you are running on IIS server, check these out.
http://www.plus2net.com/php_tutorial/php_i...nstallation.php
http://www.macromedia.com/devnet/dreamweav...es/php_iis.html

End if. laugh.gif

Reply

Spectre
Heh. The humor of programmers.

Anyway, ASP and PHP can run on the same machine (as Inspiron has obviously pointed out); however, I would not personally recommend it. PHP runs optimally on Apache, and ASP on IIS; whilst both can run with either webserver, you will almost certainly encounter some problems. On the few occasions I have had to work in PHP on an IIS server, I have had to write and rewrite code time and time again to get it to work, whereas it would work flawlessly on Apache (I don't use an IIS server myself, but some of the people I've done PHP work for have).

So anyway, I think it would be better to pick an environment and stick with it - either IIS on Windows with ASP, or Apache on Linux with PHP.

Reply

Tyssen
QUOTE(Spectre @ Apr 29 2006, 06:10 PM) *

So anyway, I think it would be better to pick an environment and stick with it - either IIS on Windows with ASP, or Apache on Linux with PHP.

It doesn't have to be that way. Install something like XAMPP on Windows and you can run PHP under Apache and ASP under IIS. You have to stop and start each server each time you swap from one to another, but other than that they work just fine on the same machine.

Reply

Oxford
QUOTE(Tyssen @ Apr 29 2006, 02:02 PM) *

It doesn't have to be that way. Install something like XAMPP on Windows and you can run PHP under Apache and ASP under IIS. You have to stop and start each server each time you swap from one to another, but other than that they work just fine on the same machine.



Tyssen can you say what is XAMPP and can you put the resource link for it and why is it neccessary to stop each server instead why we cannot allocate diffrent port for each server is it possible


smile.gif Have a nice day!

Reply



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*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : running, php, asp, machine

  1. Obama's Running Mate
    (6)
  2. Windows Vista License Transfer?
    Use on a seperate machine than it came with? (7)
    Well I have been thinking about building a new gaming rig pretty soon and I will be able to spend a
    bit more than usual because I already have the essentials( Mouse, Keyboard, Printer, Monitor) but I
    have a questions about Vista. I have a nice HP dv9000 laptop that I have had for a couple months
    that came with Windows Vista Home Premium. Now what I want to know is there anyway that I can
    somehow get that onto a new machine I build as long as I take it off the laptop? I mean I bought the
    laptop and if it comes with Vista, or any OS for that matter, I am purchasing the li....
  3. Runescape Through A Proxy
    I'm having trouble running Runescape through a proxy server (2)
    I use GhostGo when I surf the web most of the time because it helps protect my privacy. One
    problem I've encountered, is playing Runescape on it. A picture of my screen is attached. I use
    Safari to play Runescape. I'd rather not, but I will use Firefox if I need to.....
  4. Site Back Online, But....
    Works on anyone's machine but mine. (20)
    I got a reply from Xisto today that my site was up and running again. Yet, when I surf to it, it
    will not load, also, my email client keeps telling me the POP3 server (the one related to my domain)
    timed out. My Cpanel will not open neither. On my son's laptop (on the same network, hence same
    IP address) the site loads immediately. Has anyone got any idea what the problem my end could be?
    Thanks.....
  5. Ti-basic --- Slot Machine
    (9)
    Description Ok, so this is my first TI-BASIC tutorial. In this tutorial you will learn how to
    create a very simple slot machine, so you can entertain yourself in math class /tongue.gif"
    style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> You will need at least a TI
    83 Calculator. Try it out Ok, first create a new program called 'SLOT MACHINE'. Hit the
    enter key. Now input the following code. CODE :ClrHome :Lbl 1
    :Output(1,1,"--Slot Machine--") :Output(2,1,randInt(0,9,1))
    :Output....
  6. Acessing Files In Mac Os X
    How to access your files from a different machine? (0)
    I have a mac book pro and an imac at home. I have accounts of user 'sone' on both machines
    and I scan most of my on the imac and it gets saved automatically in my home/pictures folder. I know
    its not shared by default here but is there any way I can be able to mount that folder or even give
    access to myself from my macbook pro to it? It would save a lot of tedious steps to share it other
    wise i.e copying it to another shared folder. Any information much appreciated thank you. ***** OK
    never mind I just learned I can do it easily enough. OS X already provided ac....
  7. Running, Jogging, Training
    How much to do so you don't overdo it. (38)
    Does anyone know just how much someone should run, Jog, Or do personal training to keep fit WITHOUT
    over doing it. I see older people jogging through the street and i sometimes look at them and
    think god they should not be doing that at there age as they look tired out and that they should not
    be running so much to try keep fit ? I might be wrong this is why i started this post as someone
    might know more about it. Im only young (25) and play 11-aside football on a saturday and 5-aside
    football on a Thursday. I do go running through the week prob about twice a week on....
  8. Java Updates On My Machine
    I have several versions (3)
    As per the following image, I have several java updates stored on my machine, and I wondered if the
    older ones could be deleted and have the java runtime perform okay? I'm simply trying to
    clean out a bunch of junk on my machine... make some HDD space.....
  9. Blog Is Up And Running. Woot!
    (10)
    Well, I finally got my blog all set up and working now... I'm Using WordPress, and I happen to
    love it. Its really flexible and easy to use, one of the best systems I've seen. There are a few
    articles on the blog so far, but not that many yet. I'd have to say that the best article on
    their so far is the 'Go bake a cake...' one.... so if you want to check it out, click here
    Also, which is better: should users have to register to make coments, or should I open it up for
    all?....
  10. Html Editors Seem 'persona Non Grata'.
    Problems with running HTML editors. (2)
    It looks like my PC has something against HTML editors. I use Coffeecup HTML Editor 2007 and I also
    have Dreamweaver CS. In both cases, when I am editing web pages, whenever I switch from one task to
    another, eg. after editing do a save, or do a preview or whatever, both programs (Coffeecup even to
    a bigger extend) stop responding for a good while, quite often 45 secs.- 1 min minimum. You can
    imagine how much time that wastes during editing, not to mention the frustration it causes. My PC
    has a P4 dual core 2.8 Ghz, 1 Gb RAM, 250 Gb HDD, Win Xp SP2, the HDD is regularl....
  11. Wamp Packages Needed To Test Scripts
    Set up Apache, PHP, etc on your machine (1)
    In order to test php scripts on your localhost machine, you require a system that includes php
    parsing. A WAMP set-up 'usually' includes a database server, and a database manager, too.
    For Windows machines, theses are usually referred to as WAMP because they include Apache, Mysql, and
    PHP for Windows, hence the acronym WAMP. Wikipedia has a listing of the available packages with
    details about the included versions and often a link to the wikipedia article describing them. The
    list can be found at http://en.wikipedia.org/wiki/Comparison_of_WAMPs Personally, I....
  12. The Reason Why Your Hard Drive Seems To Get Smaller When Running Vista
    (16)
    C:\Windows\winsxs or Click My Computer > C:\\ > Windows > winsxs. For the few
    vista users that are on here on the forum, do wonder why your hard driver seems to be shrinking even
    though you know darn well all the stuff you have installed hasn't blown through gigs of space?
    Well I did because at first I though it had to do with a memory issue that SP1 was suppose to fix,
    but after running the Disk Analyzer to Glary Ultilities I finally found the culprit as why this was
    happening. So after doing a little bit of research thanks to google I found s....
  13. Will A Dvr-dedicated Machine Work With Directv?
    (0)
    I hope that this is in the right spot. I'm currently planning on resurrecting an old PC and
    designing it to be an entertainment center of sorts... to include being a DVR. I am looking to do
    this with my old 200GB WD Caviar SE, more RAM, Windows MCE 2005, and a Hauppage WinTV-PVR 150 TV
    card . The family TV is being fed by DirecTV, which is a digital signal. Will building the PC and
    connecting it to the DirecTV receiver even work at all, since it puts out a digital signal and not
    an analog? (Do I have this thinking wrong?) If I can't connect it to the receiver....
  14. Running Dog Kennel Website
    (8)
    Hello all, I was wondering if anyone had any ideas of what all I could put on a American Pitbull
    Terrier website that I am building. I have all the pictures of my dogs and their pedigrees and
    registration papers. I have pictures of their puppies too. I want it to look very professional.
    What programs can I use to edit pictures and make a banner? I am sure I will need a good
    introduction and definition of my breed and bloodline of it but since the dogs are pitbull, should I
    express any feelings of the recent media hype? Any responses?....
  15. Try Mac Os X Tiger In Your Intel Machine
    About using Mac OS X on intel machines and even AMD (3)
    Mac OS X Tiger on Intel Machines Mac OS X is best know for its UI and simple to use
    Operating System. The fact that Mac OS X runs only on PPC(Power PC) made the Mac OS X very less
    popular. Now Apple Inc. has ported its OS X operating system also to the Intel Architecture. The
    Mac OS X for x86(intel) architecture works only in intel machines sold by Apple Inc. There are also
    lost of patched OS X 86 which works on any intel machine. All you got to do is download and install
    the OS X 86 on your machine and then apply the patches later. Applying patches manuall....
  16. Plasma Trash To Energy Machine
    A new machine that will turn anything into energy (7)
    Has anyone heard of this new machine? I guess scientist all over the world have been working on
    stuff like this for a century. I tried to look up on the net the exact machine and scientist I saw
    in a magazine earlier this week... Basically, it's like Back to the Future. There is a machine
    now that you can put any trash in, or anything for that matter except nuclear waste, it heats the
    trash to a high degree breaking all molecular bonds and creating ethanol, hydrogen and other forms
    of fuel. The only problem is a toxic bi-product that looks like obsedion rock whic....
  17. Free Running
    What Do You Think.... (1)
    Ok, so as a freestyle club, we are constantly trying to introduce new ways of 'getting the job
    done'. One of the things that we are introducing is freerunning, or parkour. So.. what do you
    think. Freerunning was originally known as Parkour, but it was changed by the media to freerunning
    so it could sound easier on the ear. As an art, it does not provide martial combat skills, but it
    does promote muscle growth in the lower body through shock training and ofcourse 'heavy
    weights' running. It can play a major use within a fight style, as it incourages the ....
  18. Running My Own Server
    (8)
    i was wondering, i have a cable internet connection, not sure on the specs, but in general is cable
    fast enough to run a webserver off of? i currently run a pretty active forum off of my hosting
    here, but id like to run it off of my home server, as well as possibly an IRC Server. what sort of
    connection should i have, and is cable generally fast enough? thanks.....
  19. Your Pc = Cash Machine ?
    (15)
    Hey guys, i once heard of a site where they give you a program and they pay you to keep it running
    !! The more you keep the program running, the more you get payed ! ... i forgot what
    the name was ... does anyone know about it ???....
  20. Running Bios Setup On A Dell Inspiron 8000 Laptop
    How do you do it? Dell wants money to tell me (8)
    My aunt gave me her old laptop, and I want to reinstall Windows on it. For sarters, the DVD-ROM
    drive is not first in the boot order. So I need to open the BIOS Setup program to change it. I tried
    pressing about half a dozen key combos, and couldn't get it to run. I called Dell, and they gave
    me some garbage, saying that I would have to pay to get help. So I come here, to ask you, how does
    one open the BIOS Setup program on a Dell Inspiron 8000 laptop?....
  21. Hotspot Virtual Machine Exception_access_violation
    conflict between Sun Java and Windows (4)
    i was just messing around as usual on the net, and when i was closing everything down, i noticed
    this file on my desktop 'hs_err_pid3672' its a text file, i have no idea what it is and cant
    understand anything in it, but its kinda freakin me out, so i would appreciate anything you guys
    have to say about it CODE # # An unexpected error has been detected by HotSpot Virtual
    Machine: # #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c9010f3, pid=3672,
    tid=1928 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode, shar....
  22. Running Php Web Scripts On A Local Machine
    (6)
    hi all I'm VERY new to PHP and I'm having a slight problem... I want to be able to run PHP
    scripts on my computer without installing a web browser. Let's say I have this code....
    myScript.php CODE <HTML>   <HEAD>     <TITLE>PHP
    Example</TITLE>   </HEAD>   <BODY> [color=#009900]    <?php
          print "This is an awesome scripting example.";     ?>[/color]
      </BODY> </HTML> ok. if I open this with Firefox or IE or any other Browser, I
    will get a blank docu....
  23. What Is Google Cash Machine?
    (7)
    I have heard and got so many advertisements about this thing and I decided as there are so many of
    you using using google adsense you must be knowing what all the fuss is about. so before asking I
    did a lilttle google search and got a vague idea of what this is because all I get is advertisments
    linking me to eBooks telling me how to use the system without telling what it is really about. So
    from what I recall this has got to do something with affiliate programming and that is it. so what I
    am thinking is are you going to advertise your link on google sponsered links an....
  24. How To Keep A Relationship Running
    a simple advice that might help a lot (9)
    The cruel fact is, (this is just my personal opinion), that there is a big difference between what
    we would like to be, and what we really are, as humans, as creatures, and there is a big difference
    between what we would like love to be, and the things that really affect it. This might seem really
    simple, but its really important, for those relations that are most important to us. Now normaly,
    when you dont really love someone too much, you dont care much about the relationship, so you dont
    have much issues with it... but when you fall in love too deeply, and care too m....
  25. Parse: Error Unexpected T_lnumber
    php parse error when running script (4)
    Hi. I've just created a php script. The main object of the script is to delete some old files
    and replace it with a new file with some new content, effectively moving the contents from one file
    to another. These are the first 50 lines of the file: /* Calculate For The "A" Group - The
    Latest Games ID */ $a_B = 002; while(file_exists("a_" . $a_B . ".dat")) {
    $a_B++; } $new_page_contents = " " . $_POST . " " . $_POST . "
    include \"/home/cmatcme/public_html/footer.php\"; ?> "; $a_stream = fopen(&....
  26. New System Shuts Down After Running About 1 Minute
    new ecs extreme (13)
    I have a new ecs extreme motherboard with an apthlon 939 3000+ processor, with 512mb ram a new power
    supply and new hardrrive. I have a 128m AGP video card from a good machine. All of the itemes I am
    using have either come from a running system or have been tested in a working computer. My computer
    will turn on and I can get to cmos setup or to boot from cd, however, after about 1-2 minutes the
    system just shuts down.....
  27. Running Midp Applications
    (3)
    I've downloaded Java Wireless Toolkit 2.2 and it has an emulator to run Java midlets without
    creating a new project... But I couldn't get it to work when I open a *.jar file with it...
    However, it could work when I run via from a project source... Is it suppose to work this way? How
    can I make the emulator to run the *.jar file directly? Assuming the *.jar & *.jad files are on the
    desktop.......
  28. Game machine or PC?
    (19)
    What do you use? Tell us about it: Me: PC Athy 2400+ 256MB Ram 80GB Seagate HD GBA
    NES....
  29. Msn Messenger 7.0 Final
    It's running very slow and laggy. (11)
    Like many others, I've downloaded MSN Messenger 7.0 when the final version is released. I found
    that this version seems to run very slow. Seems laggy too.. Sometimes it will get itself jammed up,
    esp when the popup indication upon receiving new mail. Scrolling through the contact list seems
    laggy and not smooth.. You guys have the same problem ? I think this program is developed on .NET
    framework.. That's why it's slow.......
  30. The Incredible Machine 3
    (6)
    This game is probably the most puzzling game i have played and i'd suggest it to anyone who
    wants a challange. You basically use a whole load of parts and devices to achieve a certain
    objective. Im sure you can find a copy somewhere, (dc, torrent) /tongue.gif"
    style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> If your bored and want a
    challange have a go at it.....

    1. Looking for running, php, asp, machine

Searching Video's for running, php, asp, machine
Similar
Obama's
Running Mate
Windows
Vista
License
Transfer? -
Use on a
seperate
machine than
it came
with?
Runescape
Through A
Proxy -
I'm
having
trouble
running
Runescape
through a
proxy server
Site Back
Online,
But.... -
Works on
anyone's
machine but
mine.
Ti-basic ---
Slot Machine
Acessing
Files In Mac
Os X - How
to access
your files
from a
different
machine?
Running,
Jogging,
Training -
How much to
do so you
don't
overdo it.
Java Updates
On My
Machine - I
have several
versions
Blog Is Up
And Running.
Woot!
Html Editors
Seem
'persona
Non
Grata'.
- Problems
with running
HTML
editors.
Wamp
Packages
Needed To
Test Scripts
- Set up
Apache, PHP,
etc on your
machine
The Reason
Why Your
Hard Drive
Seems To Get
Smaller When
Running
Vista
Will A
Dvr-dedicate
d Machine
Work With
Directv?
Running Dog
Kennel
Website
Try Mac Os X
Tiger In
Your Intel
Machine -
About using
Mac OS X on
intel
machines and
even AMD
Plasma Trash
To Energy
Machine - A
new machine
that will
turn
anything
into energy
Free Running
- What Do
You
Think....
Running My
Own Server
Your Pc =
Cash Machine
?
Running Bios
Setup On A
Dell
Inspiron
8000 Laptop
- How do you
do it? Dell
wants money
to tell me
Hotspot
Virtual
Machine
Exception_ac
cess_violati
on -
conflict
between Sun
Java and
Windows
Running Php
Web Scripts
On A Local
Machine
What Is
Google Cash
Machine?
How To Keep
A
Relationship
Running - a
simple
advice that
might help a
lot
Parse: Error
Unexpected
T_lnumber -
php parse
error when
running
script
New System
Shuts Down
After
Running
About 1
Minute - new
ecs extreme
Running Midp
Applications
Game machine
or PC?
Msn
Messenger
7.0 Final -
It's
running very
slow and
laggy.
The
Incredible
Machine 3
advertisement



Running Php And Asp On The Same Machine - how to?



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE