PHP/MYSQL/Apache troubles!!! Help!

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default PHP/MYSQL/Apache troubles!!! Help!

    I have been trying for a while to get a database connection through Dreamweaver
    using mysql. I always get an unknown error. I am running MySql 4.1. I can
    access it and write to it successfully. It is running in windows services. I
    am running Win XP Home so I Installed Apache 2. The Apache 2 resides in the
    following path on my computer C:\Program Files\Apache Group\Apache2\ There is
    no wwwroot folder or warehouse folder as dreamweaver help suggests. It
    indicates that apache services are running. Now when I set up my site I am not
    sure where the local root folder should be. Also I am not sure of the remote
    folder should be for local/network access. I am using the testing server
    PHP/MYSQL model but am unsure where the testing server folder should be
    (C:\Program Files\Apache Group\Apache2\ ?) I am unsure also what to put into
    the prefix spot. I am assuming I am doing this part all wrong and that is why
    I can't connect to my database. Any and all suggestions are appreciated. I am
    new at this so I am really unsure as to what I am flubbing at. Darren:confused;

    Hung Kuen Kung Fu Guest

  2. Similar Questions and Discussions

    1. Troubles in stored procedures (mySQL) in CFMX7
      Hi, i'm using for the first time stored procedures in MySQL 5.0.18 and as database client i'm using ColdFusion MX7. The trouble is that the...
    2. mysql,php and apache
      Hi I'm very confused with all this right at the moment. A friend of mine has told me to use these things for developing my web building I also us...
    3. MYSQL/PHP/APACHE
      I am running my site on my local machine using PHP/MYSQL/APACHE, with my site in the root directory of Apache. It works fine locally. But when I...
    4. flash/php/mysql troubles
      I am extremely new to php/mysql and could use some help/advice I am not 100% sure if my syntax is correct or not...there are a couple of things...
    5. PHP Apache and MySQL
      Hi All I downloaded fox serve and I thought that this would include PHP, apache and mysql. But I am trying it out and can't see the PHP stuff...Can...
  3. #2

    Default Re: PHP/MYSQL/Apache troubles!!! Help!

    Hung Kuen Kung Fu wrote:
    > There is
    > no wwwroot folder or warehouse folder as dreamweaver help suggests.
    The default location for your server root on Apache2 with Windows is

    C:\Program Files\Apache Group\Apache2\htdocs

    You can change it to a more convenient location by making a couple of
    changes to httpd.conf, but that is where it lives normally.
    > i am not sure where the local root folder should be.
    In the htdocs folder just mentioned.
    > Also I am not sure of the remote
    > folder should be for local/network access.
    The remote folder has nothing to do with local/network access. It's
    where you eventually upload your files to your hosting company.
    > I am using the testing server
    > PHP/MYSQL model but am unsure where the testing server folder should be
    All your files/sites should be in htdocs or a sub-folder of htdocs.
    > I am unsure also what to put into
    > the prefix spot.
    If your site is in the following location:

    C:\Program Files\Apache Group\Apache2\htdocs\mynewsite

    the URL prefix will be:

    [url]http://localhost/mynewsite/[/url]

    Don't omit the trailing slash after the site folder name.

    --
    David Powers
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    Co-author "PHP Web Development with DW MX 2004" (Apress)
    [url]http://computerbookshelf.com[/url]
    David Powers Guest

Posting Permissions

  • You may not post new threads
  • You may 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