Click to See Complete Forum and Search --> : about apache < > php installation


xian.real
February 21st, 2005, 05:37 AM
I am installing WAMP (win,apache,mysql,php) in my system(xp) using an installation guide that i downloaded from the net.

I followed the step-by-step procedure from the manual then suddenly, something went wrong.
At the first step i successfully installed Apache HTTP Server 2.0.47, after. I install php ver. 4.3.3. then everything goes smoothly.. until i try to run apache again then i come up with an error...

"Invalid Command 'ScriptAlias/php/', perhaps mis-spelled or defined by a module not included in the server configuration".

I am sure that im not have any mispelled words and i rename php.ini-dist to php.ini.. it must be a file allocated at the wrong directory...

if you got an idea or a solution to this, pls.. post a reply. thanks...

blueday54555
February 21st, 2005, 08:06 AM
"Invalid Command 'ScriptAlias/php/', perhaps mis-spelled or defined by a module not included in the server configuration".

I am sure that im not have any mispelled words and i rename php.ini-dist to php.ini.. it must be a file allocated at the wrong directory...

apache is right it is misspelled :)
There has to be a space between "ScriptAlias" and "/php/"

e.g.

ScriptAlias /php/ "c:/myphpfiles/"

xian.real
February 22nd, 2005, 10:59 PM
yeah.. buddy... your right, i got a mispelled words.

perhaps, not the space between "ScriptAlias" and "/php/"

but, the space between "Addtype application/x-httpd-php" and ".php"

(*sigh...*)

thank's!