Re: Apache not finding PHP Module
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
Jonny Dahm wrote:
Hello! I've been working with HTML and PHP for a few weeks now. For the times leading up to now, I've been working at home on my Windows 7 computer and IIS. I had PHP up and running on my laptop perfectly fine, but I wanted to work with PHP at school, too. I decided the best way to do that is have the server on my flashdrive, and that Apache was the best choice. I got it working and portable (amazingly), but when I attempted to add a PHP handler, it wouldn't run. This is the error message I get: httpd.exe: Syntax error on line 500 of F:/Apache/conf/httpd.conf: Cannot load F:/Apache/PHP/php5apache2_2.dll into server: The specified module could not be found. This is exactly what I added to httpd.conf: # PHP 5 Loadfile "PHP/php5.dll" # Load the module LoadModule php5_module "PHP/php5apache2_2.dll" # configure the path to php.ini PHPIniDir "PHP/"
So where IS PHP?The above settings do assume it is in F:/Apache/PHP, but obviously it is somewhere else - and I would guess F:/PHP if all you have done is installed using the defaults. So just need the F:/ adding ...
-- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php