Click to See Complete Forum and Search --> : Downloading an apache server
janice
11-04-2003, 02:32 PM
I need to download an apache web server.
Where can I go to download this?
I have gone to a few sites but it is really confusing how to download the server.
Thanks in advance.
You can get Apache 1.3.29 from http://www.apache.org/dist/httpd/Announcement.html. I would recommend that version over 2.0.48 as PHP's support for that version is experimental at this point.
janice
11-05-2003, 09:17 AM
I have gotten, installed and configured the 2.0.48 version.
Hopefully, it won't break.
Thanks
Ok, good luck with it. :)
janice
11-05-2003, 11:27 AM
THANKS Pyro!
Do you mind another question?
As you can already tell, I am an extremely php newbie.
I have just written my first php code - Hello World.
Where do you put your php/html files?
For instance, if you are using iis, you put all your asp/html files in the wwwroot directory of your iis.
Where do you put your php/html files so that when you pull any of the files with a php editor ( I am using PHPEdit v0.6), the files can but run.
I have tried apache/apache2/htdocs (here) but it doesn't work.
Thanks
PHP files don't need to reside in any specific directory. I'd just try putting them in your main web directory, and try that. If thy don't work, something probably is not installed correctly.
janice
11-11-2003, 08:23 PM
I really, really need help with my php configuration.
I uninstalled apache 2.4 because I was having all kinds of problem configuring it to talk to our sql server db.
Before uninstalling it, it works well because I would run phpinfo and it will display all summary of configuration.
I only had problems configuring it to talk to sql server db since that is what management decided we use.
Right now, I have installed apache 1.3.9 and tested it, it works.
Right now, I can't even get the php to work.
When I try running some test codes by going to the browser for instance, and typing say:
http://localhost/test.php, I get a download.
In order words, it acts as though I was trying to download test.php.
What am I missing?
I have working with this freaking thing now for over a week and still nowhere near getting it to work.
Please help!!!!!!!!!!!
Did you follow the install.txt file that came with PHP?
janice
11-12-2003, 06:59 AM
yes, I did!
Which version of PHP, and are you using the .zip package or the Windows installer?
janice
11-12-2003, 09:59 AM
I am using the windows installer.
Funny thing is that it was working before.
The only thing it wasn't doing was allow me to configure it to talk to sql server.
Now, when I run it, it acts as though it was downloading stuff.
You know how you go to a site and try to download a file or something.
Once you click on that file, you get the file to be downloaded.
Example, anytime I try to test phpinfo on the browser, I get this:
"You are downloading the file:
phpinfo.php from localhost.
Would you like to open the file or save it to your computer?
janice
11-12-2003, 11:14 AM
Right now, I have got phpinfo.php to work.
I can now see summary of my php configuration.
I ran test code to see if mssql extensions are loaded and I get this message:
mssql extension not loaded - check php.ini
I checked the php.ini file in windows directory.
It reads:
"./"
I changed it to:
"d:/php/extensions" - extensions contains php_mssql.dll and extensions is a subfolder under php folder.
I also uncommented this line:
extension="php_mssql.dll"
When I tried to restart apache server, I get an error : unable to load dynamic library. The specified module could not found.
What am I doing wrong here?
Try:
D:\php\extensions\
or:
D:\PHP\extentions\
depending on if the PHP directory is capitalized.
janice
11-12-2003, 12:07 PM
I still get same error:
Unknown(): Unable to load dynamic library 'd/PHP/extensions/php_mssql.dll' - The specified module could not be found.
Just out of curiosity, the php installation manual says copy php.ini-distribution to systemroot and change it to ini.
Could they have been talking about php.ini-recommended?
Not sure if this could have made any difference but it is just a thought.
It shouldn't make much difference, as long as you have renamed it to php.ini. Also, from d/PHP/extensions/php_mssql.dll it looks like you forgot the colon after the d.
janice
11-12-2003, 01:18 PM
GREAT JOB, pyro!
mssql extensions have FINALLY been loaded after more than one week of fruitless efforts.
I just tested my my code to see if mssql extensions are loaded and they are.
I have other errors that have cropped up as a result of fixing this but let me try and resolve them before bothering anyone else.
Thank you so much.
As soon as I put the colon (:), it worked.
You are very welcome... :)