Re: [PHP-DEV] PHP 4.0 Bug #9887: Files appear to be missing

2001-03-20 Thread Rasmus Lerdorf

> I did as you suggested and read over the INSTALL file again.  I noticed
> the "with-apxs" option.  Due to my tiredness and my impatience it failed
> to register in my mind that this was one of the required options for use
> w/ Apache, so I hadn't added it.  I recompiled again using that option and
> sure enough, I have the required files.  But I have another problem --
> this doesn't directly relate to PHP but perhaps you could answer it.  The
> line that says:
>   LoadModule  mod_php4.c

There is no such line in the INSTALL file.

The INSTALL file says:

4a. Setting up the server. (Dynamic Module)

   The make install command in step 3 should have done most of your
   work for you.  It actually edits your httpd.conf file and tries to
 ^^
   enable the dynamic PHP module.  To verify this, look for a line that
   looks like this:

  LoadModule php4_module libexec/libphp4.so

   The actual path before the libphp4.so part might differ slightly.  This
   is likely fine.  If you are paranoid you can examine the output from
   the make install step to see where the libphp4.so file was actually put
   and place the full path to this file on this LoadModule line.

   If somewhere in your httpd.conf file you have a ClearModuleList line
   then you also need this line:

  AddModule mod_php4.c

   And finally you need to tell Apache which file extension should trigger
   PHP.  You do this by creating a special mime type and associating it
   with an extension.  We suggest using:

  AddType application/x-httpd-php .php

   You are however free to use any extension you wish, including .html.

   Note!  If a line has a # at the beginning, then it is commented out
   and you need to remove the # for that line to take effect.

-Rasmus


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] PHP 4.0 Bug #9887: Files appear to be missing

2001-03-20 Thread Shawn Reed

Wow, quick response.

The command I used was:
./configure --with-mysql --with-gd --with-ftp --with-imap
--enable-track-vars

I did as you suggested and read over the INSTALL file again.  I noticed
the "with-apxs" option.  Due to my tiredness and my impatience it failed
to register in my mind that this was one of the required options for use
w/ Apache, so I hadn't added it.  I recompiled again using that option and
sure enough, I have the required files.  But I have another problem --
this doesn't directly relate to PHP but perhaps you could answer it.  The
line that says:
  LoadModule  mod_php4.c
Where on my system do I place this file?  I did a systemwide search for
the other module files listed above it and it didn't find any of them, yet
the webserver starts up just fine.

Pardon the newbie-ish questions, but it's only Wednesday and already it's
been a long week for me. :)  Thanks a lot for your help.

Shawn


On Tue, 20 Mar 2001, Rasmus Lerdorf wrote:

> What are your configure flags?  Read the INSTALL file more carefully.
> 
> On 21 Mar 2001 [EMAIL PROTECTED] wrote:
> 
> > From: [EMAIL PROTECTED]
> > Operating system: Linux 2.2.14 kernel
> > PHP version:  4.0.4pl1
> > PHP Bug Type: *Install and Config
> > Bug description:  Files appear to be missing
> >
> > In the "INSTALL" file included with the installation of PHP, it instructs me to 
>reference 2 files in the httpd.conf: mod_php4.c and libphp4.so.  Neither of these 
>files exist in the installation package, nor are they created during the 
>installation.  I never see any errors during my installation; everything appears to 
>go just fine.  I've installed older versions of PHP4 without a problem, so I am 
>fairly sure it's nothing to do with my computer.  Any help you can offer would be 
>greatly appreciated.
> >
> >
> > --
> > Edit Bug report at: http://bugs.php.net/?id=9887&edit=1
> >
> >
> >
> > --
> > PHP Development Mailing List 
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> 
> 

-- 
Shawn Reed
Vice President / Chief Technology Officer
RBC Incorporated * Remote Backup Center
[EMAIL PROTECTED] * http://www.remotebackupcenter.com



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] PHP 4.0 Bug #9887: Files appear to be missing

2001-03-20 Thread Rasmus Lerdorf

What are your configure flags?  Read the INSTALL file more carefully.

On 21 Mar 2001 [EMAIL PROTECTED] wrote:

> From: [EMAIL PROTECTED]
> Operating system: Linux 2.2.14 kernel
> PHP version:  4.0.4pl1
> PHP Bug Type: *Install and Config
> Bug description:  Files appear to be missing
>
> In the "INSTALL" file included with the installation of PHP, it instructs me to 
>reference 2 files in the httpd.conf: mod_php4.c and libphp4.so.  Neither of these 
>files exist in the installation package, nor are they created during the 
>installation.  I never see any errors during my installation; everything appears to 
>go just fine.  I've installed older versions of PHP4 without a problem, so I am 
>fairly sure it's nothing to do with my computer.  Any help you can offer would be 
>greatly appreciated.
>
>
> --
> Edit Bug report at: http://bugs.php.net/?id=9887&edit=1
>
>
>
> --
> PHP Development Mailing List 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]