Professional Web Applications Themes

setting up apache with php - PHP Development

hello everyone, I've been using this tutorial found here: http://www.webthang.co.uk/tuts/tuts_server/sirj1/sirj1_2.asp I've installed apache on XP with no problems and now I'm trying to set it up to work with php. I followed all the instructions correctly (as far as I can tell...) and when I try and run my test php script at http://localhost/test.php it displays <? echo phpinfo() ?> which makes me think that the .php file isn't being pd correctly, so can anyone help? or alternatively know of a better tutorial? thanks...

  1. #1

    Default setting up apache with php

    hello everyone,

    I've been using this tutorial found here:
    http://www.webthang.co.uk/tuts/tuts_server/sirj1/sirj1_2.asp

    I've installed apache on XP with no problems and now I'm trying to set it up
    to work with php.

    I followed all the instructions correctly (as far as I can tell...) and when
    I try and run my test php script at
    http://localhost/test.php

    it displays

    <? echo phpinfo() ?>

    which makes me think that the .php file isn't being pd correctly, so can
    anyone help?

    or alternatively know of a better tutorial?

    thanks


    Jay Guest

  2. #2

    Default Re: setting up apache with php

    On Thu, 19 May 2005 17:32:41 +0100, Jay wrote:
     

    1. Have you restarted Apache?
    2. Are you sure it's picking up your modified httpd.conf file?
    3. Similarly, try to work out whether your PHP.INI is being found. For
    some reason, I find my Apache/XP setup only likes PHP.INI in the root
    WINDOWS directory - even though I have my path set to look for C:\PHP.
    Used to work fine before.

    Adam.
    Adamski Guest

  3. #3

    Default Re: setting up apache with php


    "Jay" <com> wrote in message
    news:d6if3f$6qg$csv.warwick.ac.uk... 
    up 
    when 
    can 
    Try
    <?php
    echo phpinfo();
    ?>
    If it works, short tags are disabled.

    Ashok.


    Ashok Guest

Similar Threads

  1. Replies: 3
    Last Post: January 22nd, 12:09 AM
  2. Quest: Problems setting up PHP on Apache...
    By lewi in forum PHP Development
    Replies: 0
    Last Post: November 15th, 03:28 AM
  3. Setting up PHP5 alongside PHP4 on apache
    By Luke in forum PHP Development
    Replies: 7
    Last Post: November 4th, 09:29 PM
  4. Replies: 0
    Last Post: October 31st, 10:01 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139