problem with dev php

Discussion in 'PHP' started by nostafa581, Apr 28, 2008.

  1. nostafa581

    nostafa581 New Member

    Joined:
    Apr 28, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    hello
    this is my first day here & also my first week with learning this lovely language PHP
    i,ve already installed Dev PHP as an editor and wampserver which includes apache & mysql as it was mentioned but when i try to implement the written code it always gives a message which says that PHP complier was not found
    can any one of our experts here solve this problem to me
    thank you
     
  2. pete_bisby

    pete_bisby New Member

    Joined:
    Nov 11, 2007
    Messages:
    48
    Likes Received:
    2
    Trophy Points:
    0
    Occupation:
    Software Developer/Analyst, PB
    Location:
    Manchester, England
    Home Page:
    http://www.pbworld.co.uk
    Check the httpd.conf file and ensure the declarations for PHP are included:

    # For PHP 5 do something like this:
    LoadModule php5_module "c:/php/php5apache2.dll"
    AddType application/x-httpd-php .php

    # configure the path to php.ini
    PHPIniDir "C:/php"

    Personally, I've always put the php.ini file with the rest of the *.ini files in Windows. Alternatively, use Linux - any flavour will do. I've been using RedHat/Fedora/Ubuntu/Debian for quite a few years now, and every installation has been error-free.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice