Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Problem installing Apache+PHP on Laptop having VISTA. |
|
Author |
|
aladdin
Joined: 20 Feb 2008 Posts: 2
|
Posted: Thu 21 Feb '08 17:10 Post subject: Problem installing Apache+PHP on Laptop having VISTA. |
|
|
My laptop having Vista (did not have any other choice), I always sign-in as admin.
Trying to instll following:
php-5.2.5-Win32
apache_2.0.63-win32-x86-no_ssl
Apache installed on the folling path:
C:\Program Files\Apache Group\Apache2\conf>write httpd.conf
After installing Apache (without installing php), when I run test it gives me
message showing apache page and sying "....successful ..."
Then I install PHP on
C:\php\
Then make following changdes in "httpd.conf" at the end of the file:
LoadFile "C:/php/php5ts.dll"
LoadModule php5_module "C:/php/php5apache2_2.dll"
AddType application/x-http-php .php
AcceptPathInfo on
PHPIniDir "C:/php"
My System Path is:
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common
\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Pro
Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\php;c:\php\ext;C:\Program Files\Apa
roup\Apache2\bin
When I run (tried from window and dos prompt):
C:\Program Files\Apache Group\Apache2\bin>Apache.exe
Syntax error on line 958 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf:
Cannot load C:/php/php5apache2_2.dll into server: The specified module could not be found.
I check error log in the logs dir. Noting is there. ANY HELP???? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Thu 21 Feb '08 17:18 Post subject: |
|
|
apache_2.0.63 needs php5apache2.dll not php5apache2_2.dll |
|
Back to top |
|
aladdin
Joined: 20 Feb 2008 Posts: 2
|
Posted: Thu 21 Feb '08 18:02 Post subject: |
|
|
James Blond wrote: | apache_2.0.63 needs php5apache2.dll not php5apache2_2.dll |
THANKSSSSSSSSSSSSS. It worked. YOU are QUICK and GOOD. I am glad to be on this forum. Two more simple questions:
1.
As I added following in "httpd.conf" at the end of the file (per instruction from one of the moderator on this forum):
LoadFile "C:/php/php5ts.dll"
Should I leave it or del it??
2. I made a test.php saved it in
C:\Program Files\Apache Group\Apache2\htdocs\
But when I tried to find it, it was actually in the follwoing address:
C:\Users\MyFirstName MyLastName\AppData\Local\VirtualStore\Program Files\Apache Group\Apache2\htdocs>
What should I do and where would you suggest to put files for my future project???
THANKS AGAIN ----- |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Thu 21 Feb '08 18:16 Post subject: |
|
|
You can keep the php5ts.dll
I'm not used to the virtual paths of vista. But I think it should work, when you leave it there. Maybe there is some trouble running apache as service or different user. But I have no experience with that.
C:\Apache2 (C:\Apache2\htdocs) is allways a good start. |
|
Back to top |
|
|
|
|
|
|