Results 1 to 3 of 3

Thread: Apache setup

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2009
    Location
    sydney
    Posts
    265

    Apache setup

    hi all,
    i have trying to setup apache/php n my windows vista pc. i followed the instructions and installed apache, tested browsing to localhost and worked like treat. now after installing PHP and having to add
    PHPIniDir "c:/localhost/php"
    the server restart request fails and i get this in the error file

    [HTML ]Syntax error on line 1 of C:/localhost/Apache2/conf/httpd.conf:
    Invalid command 'PHPIniDir', perhaps mis-spelled or defined by a module not included in the server configuration
    [/HTML]

    i tested both apache 2.2.x and then 2.0.6x but problem still occured..... ok its midnight and im totally blind now any helpppp ???!!! tHanks

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2009
    Location
    sydney
    Posts
    265

    Re: Apache setup

    and btw i have latest PHP release 5.3.9

  3. #3
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Apache setup

    Did you include the LoadModule directive for PHP?

    Take a look at my tutorial on installing Apache and PHP for an example.

Posting Permissions

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



Click Here to Expand Forum to Full Width