PHP project not running in windows local computer.

Discussion in 'PHP' started by ACalderonB, Sep 27, 2012.

  1. #1
    Hello I am a newbie in php development, I am a senior .net developer and I know about the classes and conections, but I cannot run a single project in php, my sql and apache server.

    The apache server service is running, mysql service is running and when I open the index it doesnt pull or link the php pages that are linked, do I have to run IIS or something like that as if it's aspx?

    Need urgent help please!
     
    Solved! View solution.
    ACalderonB, Sep 27, 2012 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    Shouldn't need to run IIS as Apache is the server in this case. How did you install apache, php, mysql, etc? Were these installed directly or did you use a package like WAMP or XAMPP? Is your apache install producing any errors.
     
    jestep, Sep 27, 2012 IP
  3. ACalderonB

    ACalderonB Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I doesnt seem to be producing errors, I installed Apachie with the xampp package, I also run the application for my sql, so I put the project forlder in the htdocs and the database in my sql -> data, I am not getting any connections and I am not able to make php functions run.
    Thanks for the quick response! :)
     
    ACalderonB, Sep 27, 2012 IP
  4. #4
    Can you run a php script from the command line? php.exe nameOfPHPscript.php (maybe a phpinfo)
     
    lektrikpuke, Sep 27, 2012 IP
  5. ACalderonB

    ACalderonB Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I didn't know that the X were marking that the apache and mysql services werent running.

    Sorry to bother, thanks for the quick reply.

    By the way, this is another question, how can I retrieve the selection of a check box but with out sending the information to the server, and is there a way for verifiing that all the textboxes are filled, like the validators of ajax.net?
     
    ACalderonB, Sep 28, 2012 IP