Go4Expert

Go4Expert (http://www.go4expert.com/)
-   PHP (http://www.go4expert.com/forums/php/)
-   -   problem with dev php (http://www.go4expert.com/forums/dev-php-t10275/)

nostafa581 28Apr2008 23:35

problem with dev php
 
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

pete_bisby 7Feb2009 01:30

Re: problem with dev php
 
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.


All times are GMT +5.5. The time now is 06:51.