webserver

Discussion in 'Web Design and Development' started by jlewis2k1, Aug 3, 2006.

  1. jlewis2k1 macrumors 6502a

    jlewis2k1

    Joined:
    Jan 14, 2005
    Location:
    in your closet
    #1
    im having issues starting my webserver ... when ever I click start server it will not start at all...anyone have any ideas to why this is?
     
  2. LeeTom macrumors 68000

    LeeTom

    Joined:
    May 31, 2004
    #2
    have you made any modifications to the apache configuration file?
     
  3. jlewis2k1 thread starter macrumors 6502a

    jlewis2k1

    Joined:
    Jan 14, 2005
    Location:
    in your closet
    #3
    no actually this is the first time i have ever tried to run this ... i have this project that I started on my windows machine before i got my mac now i want to continue it but cant cause I need the server.
     
  4. LeeTom macrumors 68000

    LeeTom

    Joined:
    May 31, 2004
    #4
    so you go to the Sharing preference pane, click on Personal Web Sharing, and click Start... and what happens next? It should say 'web sharing starting up' for a few seconds and then the start button will turn into a stop button.

    what happens for you?
     
  5. jlewis2k1 thread starter macrumors 6502a

    jlewis2k1

    Joined:
    Jan 14, 2005
    Location:
    in your closet
    #5
    stays websharing starting up for a long time then goes back to turn on.
     
  6. LeeTom macrumors 68000

    LeeTom

    Joined:
    May 31, 2004
    #6
    hmmm....
    open the Console application (in applications->utilities), click on Logs, go down to expand httpd, and choose "error_log".
    Copy all the text and post it here.
     
  7. jlewis2k1 thread starter macrumors 6502a

    jlewis2k1

    Joined:
    Jan 14, 2005
    Location:
    in your closet
    #7
    there is nothing at all..
     

    Attached Files:

  8. jlewis2k1 thread starter macrumors 6502a

    jlewis2k1

    Joined:
    Jan 14, 2005
    Location:
    in your closet
    #8

    i did a filter for httpd and this is what i get...
     
  9. LeeTom macrumors 68000

    LeeTom

    Joined:
    May 31, 2004
    #9
    it appears as though someone tried to install the entropy PHP, and it's not set up properly. try to deinstall that... or possibly revert back to the default httpd.conf and it may run.
    this is not a default install of the webserver though, something was added.
     
  10. jlewis2k1 thread starter macrumors 6502a

    jlewis2k1

    Joined:
    Jan 14, 2005
    Location:
    in your closet
  11. jlewis2k1 thread starter macrumors 6502a

    jlewis2k1

    Joined:
    Jan 14, 2005
    Location:
    in your closet
    #12
    is there a way i can totally reinstall this part only?
     
  12. LeeTom macrumors 68000

    LeeTom

    Joined:
    May 31, 2004
    #13
    Not sure about that. Sorry this isn't going anywhere fast, but one more thing could help me....

    in Finder, go up to Go->Go To Folder, and type this:
    /private/etc/httpd/users

    in this folder, there's a file named yourusername.conf

    copy its contents and paste here. I think this will get to the bottom of it.
     
  13. jlewis2k1 thread starter macrumors 6502a

    jlewis2k1

    Joined:
    Jan 14, 2005
    Location:
    in your closet
    #14
    *sighs* there has to be a way to reinstall this cause the php stuff doesnt even work.
     
  14. LeeTom macrumors 68000

    LeeTom

    Joined:
    May 31, 2004
    #15
    it'll be simpler to fix. mac os x comes with php already installed, just not turned on. somone installed php over it, and now it's screwed. but if you can stop pointing to the aftermarket installation, it will run. and then you can turn on the built-in php.
     
  15. jlewis2k1 thread starter macrumors 6502a

    jlewis2k1

    Joined:
    Jan 14, 2005
    Location:
    in your closet
    #16
    sighs* this is getting too confusing :-( ok so where do i find the old php installation?
     
  16. LeeTom macrumors 68000

    LeeTom

    Joined:
    May 31, 2004
    #17
    i don't know, i've never installed this type. don't worry, just follow the instructions i posted a few messages up and paste that text in. then i can help you.
     
  17. jlewis2k1 thread starter macrumors 6502a

    jlewis2k1

    Joined:
    Jan 14, 2005
    Location:
    in your closet
    #18
    i got the server working agian but now i can even get the php to work now... it keeps saying that permission denied to view this file when i try to open index.php from the server on safari.
     
  18. cjc343 macrumors 6502

    Joined:
    Jan 6, 2004
    Location:
    In the apple store, in front of a G5.
    #20
    Also make sure the user the web server is running as has read privileges for the file.
     
  19. angelneo macrumors 68000

    Joined:
    Jun 13, 2004
    Location:
    afk
  20. jlewis2k1 thread starter macrumors 6502a

    jlewis2k1

    Joined:
    Jan 14, 2005
    Location:
    in your closet
    #22
    i followed the guide and enabled php or so I thought I did. when I tried going to the php page i just get the source code rather than the actual page. any ideas?
     
  21. jlewis2k1 thread starter macrumors 6502a

    jlewis2k1

    Joined:
    Jan 14, 2005
    Location:
    in your closet
    #23
    if i were to do an archive install would apache and php then work properly? no matter how many times i follow the directions php will not run.
     

Share This Page