Results 1 to 4 of 4

Thread: Apache and root folders

  1. #1
    Apache and root folders
    Reading the previous post this is a follow on from ethea's post, so hopefully some feedback will help us both.

    To set the picture, i have been creating PHP scripts and testing them on a web sever that it hosted by Lunarpages. So as is the norm i have a username/password etc along with FTP details so i can connect to this server and upload files. Then i test them using a www url.

    My MySQL databases reside on my MAC and i can run queries etc from the Terminal. I have created a user name for myself and a password.

    The next step is for me to get PHP and MySQL talking. I had access issues connecting to my database from the remote server, so have decided to store my PHP scripts on my Mac.

    Apache 1.3 is running fine, and i believe PHP is already installed (if not i can download it), however im not sure how to display HTML/PHP pages in the web browser via localhost (replacing the Apache welcome page). Can anybody tell me where to put files so i can see them in the browser? It sounds dumb but i cant even get phpinfo() to be displayed.

  2. #2
    I know the lack of response has been a little discouraging...I have been looking online for help for a few days. I will let you know if I find anything.

  3. #3

    Murlyn's Avatar
    Member Since
    Jun 11, 2003
    Mount Vernon, WA
    Try this site:

    He has some pretty good tutorials.

  4. #4
    Hey Ethea,

    I got my problem sorted. What i did is download PHP5 onto my Mac and ran the PHP code from the same box as the MySQL database, and the two connect fine.

    However im still having problems connecting remotely. As i mentioned the PHP scripts on my other hosting server to got connect to my db on my Mac. Its one of those hosting companies though that only allows one db to be created.

    So im waiting until our company gets a server of our own and then that will be the most practical solution.

    Also make sure your Apache server is on Apple >> System Preferences etc

    Sorry i cannot be anymore help

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Desktop folders and folders in folders re performance
    By mrivmriv in forum macOS - Operating System
    Replies: 2
    Last Post: 03-12-2013, 03:36 AM
  2. arrange Icon size and grid spacing folders and sub-folders
    By chowmein in forum macOS - Operating System
    Replies: 2
    Last Post: 04-25-2012, 04:00 PM
  3. Remove root from login window WITHOUT disabling root?
    By flipjarg in forum macOS - Operating System
    Replies: 2
    Last Post: 06-25-2010, 05:09 PM
  4. Apache and PHP Help (Accessing Root Directory)
    By Benji6996 in forum macOS - Apps and Games
    Replies: 4
    Last Post: 03-20-2010, 05:40 PM
  5. want to move the contents of a LOT of folders, but not the folders
    By roxxan23 in forum macOS - Operating System
    Replies: 2
    Last Post: 05-30-2009, 08:30 PM

Posting Permissions

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