RE: [PHP] Apache upgrade, now php will not work
| From: | Michael Geier | Date: | Wed, 19 Jun 2002 17:59:18 +0000 |
| Subject: | RE: [PHP] Apache upgrade, now php will not work | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-102980@lists.php.net to get a copy of this message | ||
STOP WEBSERVER
# apache> ./configure --prefix=[path] --enable-module=so
# apache> make
# apache make install
# apache> cd php-dir
# php> ./configure --with-apxs=/path/to/apache/bin/apxs --other-options
NOTE: if you are going to configure apache for module support,
use apxs to install php
# php> make
# php> make install
# > vi /path/to/apache/conf/httpd.conf
AddType application/x-httpd-php .php
LoadModule php4_module libexec/libphp4.so
START WEBSERVER
more info can be found at http://www.php.net/manual/en/install.apache.php
> -----Original Message-----
> From: Mike Joseph [mailto:josephm5@msu.edu]
> Sent: Wednesday, June 19, 2002 12:48 PM
> To: B i g D o g; php-general@lists.php.net
> Subject: Re: [PHP] Apache upgrade, now php will not work
>
>
> Tried that already. It didn't work.
>
> Also a correction:
> I misstyped the apache configure command I am using. I should have said:
> /configure --prefix=/path/to/apache --enable-module=so
>
> thanks,
> ~Mike
>
> At 11:43 AM 6/19/02 -0600, B i g D o g wrote:
> >Compile the PHP first and then compile apache with the active PHP module
> >
> >Thank you,
> >
> >B i g D o g
> >
> >
> >
> >
> >----- Original Message -----
> >From: "Mike Joseph" <josephm5@msu.edu>
> >To: <php-general@lists.php.net>
> >Sent: Wednesday, June 19, 2002 11:37 AM
> >Subject: [PHP] Apache upgrade, now php will not work
> >
> >
> > > I upgraded from Apache 1.3.20 to 1.3.26 to patch up the security hole
> > > recently announced. Apache compiled and installed on my Red
> Hat 7.2 system
> > > fine, but php stoped working. I checked the httpd.conf file a thousand
> > > times and nothing is different, I recompiled php and apache almost 10
> > > times, with no difference. I have no idea what to do next, the server
> >works
> > > fine, it just refuses to parse php documents.
> > >
> > > Here are the commands I am using
> > >
> > > for Apache
> > > ./configure --prefix=/path/to/apache --with-module=so
> > > make
> > > make install
> > >
> > > for PHP
> > > ./configure --with-mysql --with-apache=/path/to/apache/src
> > > make clean
> > > make
> > > make install
> > >
> > > I am using the 'make clean' command because php would puke when on
> > > libphp4.la when compiling.
> > >
> > > Like I said, Apache works fine, PHP doesn't.
> > >
> > > Any thoughts?
> > >
> > > Thanks,
> > > ~Mike
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>