problem with dev php

nostafa581's Avatar, Join Date: Apr 2008
Newbie Member
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
pete_bisby's Avatar, Join Date: Nov 2007
Go4Expert Member
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.