FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP Runs In WinXP Command Window But Not In Browser
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PHP Runs In WinXP Command Window But Not In Browser [message #173457 is a reply to message #173440] Wed, 13 April 2011 18:16 Go to previous messageGo to previous message
Peter Lauren is currently offline  Peter Lauren
Messages: 48
Registered: April 2011
Karma:
Member
On Apr 13, 5:25 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> On 4/12/2011 11:33 PM, Peter Lauren wrote:
>
>
>
>> On Apr 9, 4:29 am, crankypuss<n...@email.thanks>  wrote:
>>> Peter Lauren<peterdlau...@gmail.com>  wrote:
>>>> On Apr 8, 2:01 pm, Jerry Stuckle<jstuck...@attglobal.net>  wrote:
>>>> > On 4/8/2011 1:45 PM, Peter Lauren wrote:
>
>>>> >> On Apr 8, 8:04 am, "Mr. B-o-B"<mr.chew.b...@gmail.com>  wrote:
>>>> >>> Peter Lauren cried from the depths of the abyss...
>
>>>> >>>> I just noticed that I do have the Wampserver icon on the quick launch
>>>> >>>> part of the task bar. I do actually get one menu, with the function
>>>> >>>> you mention, with a a single click of the left button and a smaller
>>>> >>>> menu, with the Exit function, with a single click of the right. So it
>>>> >>>> looks like I'm in business.
>
>>>> >>> Fantastic.
>
>>>> >> Thanks. But I'm still having a problem. I left-click on the task bar
>>>> >> icon, click on Apache:httpd.conf, and a file opens in notepad. In
>>>> >> admin. mode, I can edit the file and set
>>>> >> DocumentRoot "f:/SomeOther/Directory"
>>>> >> It still uses the .php file in c:\wamp\www
>
>>>> >> Thanks,
>>>> >> Peter.
>
>>>> > Did you stop and restart Apache after making the changes? The
>>>> > configuration file is only run when Apache starts up, not on every request.
>
>>>> > --
>>>> > ==================
>>>> > Remove the "x" from my email address
>>>> > Jerry Stuckle
>>>> > JDS Computer Training Corp.
>>>> > jstuck...@attglobal.net
>>>> > ==================
>
>>>> I fixed the Forbidden problem.  There was a part in the httpd.conf
>>>> file that said
>>>> # This should be changed to whatever you set DocumentRoot to.
>
>>>> I fixed that and now it works.
>
>>>> Still haven't figured out how to get it to work w/o the /localhost/
>>>> part though
>
>>> Depends on what you really want to do.  The browser needs a domain to
>>> send your request to, there's no way I know of to avoid giving it
>>> *something*.
>
>>> Since you're on windows, you can modify your "hosts" file to point
>>> additional domains at ip-addr 127.0.0.1 if you want.  Then you'll need
>>> to update "httpd.conf" for those domains too.  It gets a bit complex
>>> for me (at least) to attempt to explain here.
>
>>> If you can be more explicit about what you really want to do, you're
>>> more likely to get an answer you can use.
>
>>> --
>>> no aluminum siding offers today
>
>> I would like to run PHP and Java code on my own browser and over the
>> Internet.   It will be called from an hyml file that is on my local
>> PC.
>
>> Thanks,
>> Peter.
>
> Browsers don't run PHP or Java code (they can, however, run Javascript
> code, which is an entirely different animal).
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================

I learned JavaScript before this and did not need a browser as you
point out. It was when I started using PHP that I found I could not
see the output on my browser until I installed WAMP and started it
running. Now I can see the output when WAMP is running so the browser
would appear to be accessing the server. The server is currently
offline but I still get the output on my browser.

Thanks,
Peter.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: neither var_dump() nor die() displays anything
Next Topic: Spaces in filenames
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 13 06:47:59 GMT 2024

Total time taken to generate the page: 0.05001 seconds