[SOLVED] Installing PHP on Apache
Posted: Sun Jul 06, 2008 1:29 pm
I am getting the following error when I try starting my Apache server:
"LoadModule takes two arguments, a module name and the name of a shared object file to load it from"
It runs into this error on line 127 of Apache's configuration file, which refers to LoadModule php5_module libexec/libphp5.so "c:/php/php5apache2.dll"
I initially got this error after installing PHP manually to c:\php. After failing to resolve it, I decided to use the PHP installer. In case it matters, I first installed PHP to my Program Files directory, because this was the default directory provided by the installer. After looking in the Apache config file and noticing that it was referring to a module in the c:\php directory (which didn't exist at the time), I moved the PHP installation directory to that one. I'm not sure if that matters...
I've searched both through this forum and on Google for an answer but haven't had any luck.
Thanks for your help!
"LoadModule takes two arguments, a module name and the name of a shared object file to load it from"
It runs into this error on line 127 of Apache's configuration file, which refers to LoadModule php5_module libexec/libphp5.so "c:/php/php5apache2.dll"
I initially got this error after installing PHP manually to c:\php. After failing to resolve it, I decided to use the PHP installer. In case it matters, I first installed PHP to my Program Files directory, because this was the default directory provided by the installer. After looking in the Apache config file and noticing that it was referring to a module in the c:\php directory (which didn't exist at the time), I moved the PHP installation directory to that one. I'm not sure if that matters...
I've searched both through this forum and on Google for an answer but haven't had any luck.
Thanks for your help!