Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199901

[PHP3] Win32 Apache 1.3.3 & PHP3 installation From: Patrick Corcoran (patrick <email protected>)
Date: 01/30/99

Hi,

I apologize for asking what must by now be a frequently asked question, but
I couldn't find a [directly applicable] answer in the FAQ.

I'm having difficulties getting Apache 1.3.3 under Windows98 to recognize
.php3 file extensions as PHP executables.

Here's what I've done so far:

1. Apache has been up and running for months. Perl works fine. I've
uncommented lines in the .conf files reading:
AddType application/x-httpd-php3 .php3
(And I've restarted the server.)

2. I placed php3.ini in C:\Windows. I have not made any modification to
his file ... it is an exact copy of the distribution file.

3. My distribution for PHP3 is at C:\php3 as recommended. I have not
modified or executed any of the files here. I have read the ReadMe.txt.

Possible problems I've concluded so far, perhaps in error:

1. Apache has no knowledge of PHP3 at this time. My binary apparently
doesn't include php support and I don't know where to get one which does.
(I have no C compilation environment on this platform.)

2. Somewhere, something needs to point Apache or my registry [or ?] in the
direction of C:\php3

3. There is some mention in the PHP3 FAQ about configuring Apache at
runtime via:

# Extra Modules
AddModule mod_php.c
AddModule mod_php3.c
AddModule mod_perl.c
# Extra Modules
LoadModule php_module modules/mod_php.so
LoadModule php3_module modules/libphp3.so
LoadModule perl_module modules/libperl.so

I wasn't sure if this applied to Win32 installations, and in any case I
could not find the mentioned modules available for download at either
apache.org or the PHP web site. I may be barking up the wrong tree here.

I've configured Apache and PHP2 together under Linux a while back -- that
made sense to me and I had it up and running in short order. This Win32
configuration seems a little more obscure to me, and I welcome any help or
suggestions on the matter.

cheers,

Patrick Corcoran
patrick <email protected>

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>