AddModule mod_php4.c ? Not on any windows installation I've ever seen!..
-----Original Message----- From: Mike Maltese [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 12:10 AM To: PHP on Windows Mailing List Subject: Re: [PHP-WIN] Version of Merlin/PHP that works?? A few notes..... First, uninstall Apache and delete all of your PHP directory. Re-install Apache. It works right out of the box,just specify localhost for the domain name. Make sure you choose to install it as a service for all users. Start Apache. Open your browser and point it to 127.0.0.1 or just localhost to verify that Apache is running if it is, proceed with the PHP installation. I would suggest downloading the PHP binary and not the installer. Unzip the files to c:\php. If your using WinZip, extract using folders. Since you're setting up a working site, I'll go over the module installation. In the http.conf file, add the following lines in the appropriate places: LoadModule php4_module "C:/php/sapi/php4apache.dll" AddModule mod_php4.c AddType application/x-httpd-php .php (plus any other extensions you want to use) AddType application/x-httpd-php-source .phps (optional) Now, place your test file (just use <? phpinfo(); ?>) in your htdocs folder and restart Apache. Point your browser to http://localhost/info.php (or whatever). You should now have your baseline system up and running. Now you can customize your directories and PHP options. Post back and let me know if this has helped, and good luck! Mike ----- Original Message ----- From: "Ross Fleming" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 29, 2002 3:47 PM Subject: RE: [PHP-WIN] Version of Merlin/PHP that works?? > Might I suggest geocities if you just want a website? > > Apache doesn't have a GUI with a configuration file, that's what the .conf > files are for. The instructions for getting apache to work are here: > http://httpd.apache.org/docs/windows.html They are the only instructions I > followed to get Apache running from scratch. After that, installing PHP > simply involves editing the httpd.conf file in the manner that is described > in the readme that comes with PHP. Might I suggest > [EMAIL PROTECTED] as an alternative? > > Either way. > > 1. forward slashes. > 2. Sounds about right. > 3. Depends how you're stopping. Just closing the command window should do > it > 4. Never developed on Win2K, so wouldn't know about running is as a service. > http://httpd.apache.org/docs/win_service.html provides details though. Note > it only runs as a service on NT/2K/XP(presumably) > 5. search for php.ini, there should only be one. Keep it in c:\windows or > c:\winnt. This is the conf file for php. > Edit your httpd.conf file to point to php.exe for .php files. > 6. 1/2 of uninstall exe's don't remove stuff from the registry anyway, > apache and php don't have registry entries anyway, so I wouldn't worry about > that. > > Ross > > -----Original Message----- > From: tom [mailto:[EMAIL PROTECTED]] > Sent: 29 January 2002 22:57 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Version of Merlin/PHP that works?? > > > Is there a version of Merlin and/or php that works out of the box? > > I have spent days -- days and more days -- just trying to get the > infrastructure of a single programming language to work. with no success. > after three days I finally got Merlin to serve a localhost file. the docs > did not adequately explain how to install this stuff on a w2k IIS system. > Two more days, and I finally got test.php to parse (although a simple > include statement does not work, Apache cannot find the icons folder, etc., > etc., etc..) errors -- more errors, configuration files with conflicting > instructions and no mention of even which version of php the file is for. > > Examples: > 1) httpd.conf says never use backslashes, always use forward slashes in > paths on windows machines. The the Merlin setup installs the file with > backslashes in it. So which one is right? > 2) Start Apache - opens command window that does not close or have any > configuration gui. > 3) Stop Apache - works --- sometimes. > 4) Install Apache as service - this should execute and exit, leaving a > server process running in the background. It does not. It opens another > command window and just sits there. > 5) When I started trying to use PHP, I downloaded the binaries from php.net > and installed them. Could not get squat out of it. So some kind person tells > me about Apache Merlin. So I download this huge motha and install that too. > Now I have two different versions of php on my machine, and have no idea > which one is actually being used. or which config files actually --do-- > something. (php.exe has no version resource!!!) > 6) So in total frustration I tried to remove Merlin from my system. Of > course, that did not work either. So I just deleted the whole directory and > now I'm stuck with who knows what in the registry. > > I don't mean to be bitchy, but for the love of God!! I do not have time for > this! I am trying to create a working website, not become > php-apache-guru-man. Does any one have any suggestions for making the stuff > work, I mean just ____ work? > > -- > Thanks, > > Thomas Kirby > RichmondArtists.com > P.O. Box 1261 > Glen Allen, VA 23060 > 804-262-6429 > [EMAIL PROTECTED] > www.richmondartists.com > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]