php script not show on web

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • lapkei01@gmail.com

    php script not show on web

    Hello all,
    I have set up the web server and I have some php scripts for
    example mypage.php. When I put it to the web server, the browser only
    displays all of the php code instead of to run it. I did "php
    mypage.php" on the terminal, and it works. How can I set the httpd.conf
    or apache server to enable php script?
    Thanks a lot

  • Oli Filth

    #2
    Re: php script not show on web

    lapkei01@gmail. com wrote:[color=blue]
    > Hello all,
    > I have set up the web server and I have some php scripts for
    > example mypage.php. When I put it to the web server, the browser only
    > displays all of the php code instead of to run it. I did "php
    > mypage.php" on the terminal, and it works. How can I set the httpd.conf
    > or apache server to enable php script?
    > Thanks a lot[/color]

    RTFM! http://www.php.net/install

    --
    Oli

    Comment

    • Angelos

      #3
      Re: php script not show on web

      > RTFM! http://www.php.net/install

      What RTFM Really stands for ....?
      Anyone knows ?
      It isn't Read The F**ing Manual for sure....

      Angelos


      Comment

      • Dave

        #4
        Re: php script not show on web

        Angelos (angelos@redcat media.net) decided we needed to hear...[color=blue]
        > What RTFM Really stands for ....?
        > Anyone knows ?
        > It isn't Read The F**ing Manual for sure....
        >
        > Angelos[/color]

        Yes - it is. See...

        --
        Dave <dave@REMOVEbun dook.com>
        (Remove REMOVE for email address)

        Comment

        • John Dunlop

          #5
          Re: php script not show on web

          Angelos wrote:
          [color=blue]
          > What RTFM Really stands for ....?[/color]

          RTFM!!

          --
          Jock

          Comment

          • Tony

            #6
            Re: php script not show on web

            "Oli Filth" <catch@olifilth .co.uk> wrote in message
            news:1117702997 .689925.144820@ g14g2000cwa.goo glegroups.com.. .[color=blue]
            > lapkei01@gmail. com wrote:[color=green]
            >> Hello all,
            >> I have set up the web server and I have some php scripts for
            >> example mypage.php. When I put it to the web server, the browser only
            >> displays all of the php code instead of to run it. I did "php
            >> mypage.php" on the terminal, and it works. How can I set the httpd.conf
            >> or apache server to enable php script?
            >> Thanks a lot[/color]
            >
            > RTFM! http://www.php.net/install[/color]

            Didn't we just answer this exact question about 2 days ago? (Or was that on
            another NG...?)


            Comment

            Working...