Problems With Apache

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Computermad
Forum Newbie
Posts: 1
Joined: Sat Jun 07, 2003 2:25 pm
Location: MoDchester

Problems With Apache

Post by Computermad »

Hello. I have downloaded Apache version 1.3.7 and the latest one. I have also downloaded the PHP installer and PHP zip from the php.net website.

I am Running Windows XP Professional and i want to run a website hosted on my computer. I also want to run a php Board (phpBB.com) which is free of charge.

For this i was using Apache 2.0.46 (httpd-2.0.46-win32-src.zip) and (apache_2.0.46-win32-x86-no_src.msi)
I have unzipped all files from php-4.3.2-Win32.zip into X:/PHP directory.
I have then installed php-41.3.2-installer.msi and chose Apache as the http server. I come up with an error saying.....
"Sorry, The Software to Automattically Configure the Apache httpd.conf file has not yet been written. You will have to cinfigure Apache Manually. See the Install.txt file for more details."


The default directory for Apache is
X:/Program Files/Apache Group/Apache2 (where X is the drive letter)
and the defualt directory for php is
X:/PHP

I have done everything the install.txt says and it still will not load up .php files. it just shows the text.

Please Help.. Thank You
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

suggestion

Post by phpScott »

My first suggestion to you would to only one version of php and one version of apache.

Uninstall apache both versions if they are on your computer use the installer for apache 2 and choose to install it in
X:\apache\

this will get you

x:\apache\Apache2\

Having just finish installing apache2 and php on my XP home box I found that sometimes the configuration files have trouble with the space in Program Files.
Then very carefully read through the instructions. There are two php files that cause no end of propblems I found the pphp4ts.dll and the php4isapi.dll
I have them in 3 different places and I'm still not sure which location works.
The other thing is to use exact paths where you have to change the path for certian directories such as x:\php\extenesions as relative paths seem to be an issue.

Those are the problems that I had but I got them fixed even though that was my first time installing apache, php and mysql.


phpScott
terence
Forum Newbie
Posts: 21
Joined: Fri Jun 06, 2003 11:31 pm
Location: new york city

SameProblem Here

Post by terence »

Same probelm here. Everytime I try to load the phpinfo(); all i get is text.
Any help would be appreciatated. Been trying for hours!!!

My httpd.cong has been editted to a t. I'm on XP Home with Apache2 and Php4.3

What's up with this- it shouldn't be so difficult!!

Thanks in advance,
terence
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

please describe what you've done step by step.
drive X: sounds like a network connection. If Apache is installed as service its default account is LocalSystem, an account that is allowed mostly anything but not to access network drives.
Installing php for apache isn't that difficult if you do it step by step. Following install.txt you can do it by the book.
Post Reply