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/"