Apache with php4

Samantha sami379 at email.it
Thu Apr 22 08:01:28 UTC 2004


Hi John,

I look at /etc/httpd/conf/httpd.conf file at the LoadModule lines, but there
isn't php.conf or other php module.

I find a howto that explain how compile apache with php4 module, but this is
my first time of compile, and I have so much doubts.

Therefore, the howto said me this:

Take httpd_xxx.tar.gz
1. gunzip httpd_xxx.tar.gz
2. tar -xvf httpd_xxx.tar.gz
3. gunzip php-xxx.tar.gz
4. tar -xvf php-xxx.tar.gz
5. cd httpd_xxx
6. ./configure --prefix=/www --enable-module=so
7. make
8. make install
9. cd ../php-xxx
10. ./configure --with-mysql --with-apxs2=/www/bin/apxs
11. make
12. make install

I've made all step, but I've this doubts:

a) when I compile and install httpd module, I try # rpm -q httpd and he said
me there isn't httpd module install
b) when I use rpm package (es. http-2.0...rpm) the service start
automatically. But if I compile the module httpd, I haven't a service
automatically......

Excuse me for my  bad english, and tnx.

Bye!

----- Original Message ----- 
From: <jonathan.share at syngenta.com>
To: <redhat-install-list at redhat.com>
Sent: Thursday, April 22, 2004 8:48 AM
Subject: RE: Apache with php4


> Samantha,
>
> You don't know for 9 but I have just installed Fedora Core 1 that comes
with
> httpd-2.0.48 and this comes with php4 loaded as an apache module.
>
> To see all of the modules installed you can consult the
> /etc/httpd/conf/httpd.conf file (look for the LoadModule lines) this also
> imports all .conf files from the /etc/httpd/conf.d directory which is
where
> you will find php.conf with the relevant LoadModule, Add Type and
> DirectoryIndex entries.
>
> HTH
>
> Jon
>
> -----Original Message-----
> From: Samantha [mailto:sami379 at email.it]
> Sent: Donnerstag, 22. April 2004 08:42
> To: RedHat Install
> Subject: Apache with php4
>
>
> Hi all,
>
> I'm trying to understand if the apache rpm httpd-  is compiled with the
> module PHP4.
>
> If it isn't, I would to know if it's possible compile apache module rpm
with
> PHP4.
>
> Thanks for all and any help,
>
> Best Regards
> Samantha
>
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request at redhat.com
> Subject: unsubscribe





More information about the Redhat-install-list mailing list