installing and running apache 2.0.46 / php5.0.0b1 / Suse Linux 8.2

From: michael newport (michaelnewport_at_yahoo.com)
Date: 07/02/03


Date: 2 Jul 2003 02:08:20 -0700

I did the following as instructed in the docs. (see below)
everything seemed to install ok
and I started apache with no complaints, but,

1)I do not see a process for apache using ps -ef
2) In yast I see that the new apache2 version is installed but not
php5, its still on php4

any ideas ??

1. gzip -d httpd-2_0_NN.tar.gz
2. tar xvf httpd-2_0_NN.tar
3. gunzip php-NN.tar.gz
4. tar -xvf php-NN.tar
5. cd httpd-2_0_NN
6. ./configure --enable-so
7. make
8. make install

    Now you have Apache 2.0.NN available under /usr/local/apache2,
    configured with loadable module support and the standard MPM
prefork.
    To test the installation use your normal procedure for starting
    the Apache server, e.g.:
    /usr/local/apache2/bin/apachectl start
    and stop the server to go on with the configuration for PHP:
    /usr/local/apache2/bin/apachectl stop.

9. cd ../php4-NN
10. ./configure --with-apxs2=/usr/local/apache2/bin/apxs
11. make
12. make install
13. cp php.ini-dist /usr/local/lib/php.ini

    Edit your php.ini file to set PHP options. If
    you prefer this file in another location, use
    --with-config-file-path=/path in step 10.

14. Edit your httpd.conf file and check that these lines are
    present:

   LoadModule php4_module modules/libphp4.so
   AddType application/x-httpd-php .php

  You can choose any extension you wish here. .php is simply the one
  we suggest.

  The path on the right hand side of the LoadModule statement must
point
  to the path of the PHP module on your system. The above statement is
  correct for the steps shown above.

15. Use your normal procedure for starting the Apache server, e.g.:
   /usr/local/apache2/bin/apachectl start



Relevant Pages

  • RE: [PHP] Question before upgrading to 5
    ... We only use php for intranet applications I create, ... so the server is basically dead at nights, which is when I do most of my ... so your going to shut down apache on ... install of apache would allow you to do. ...
    (php.general)
  • Re: [SLE] updating to PHP5
    ... while running PHP 5 for my stuff. ... managed by SuSE staff where you can download latest apache with all ... SLES 9 doesn't need PHP for its default configuration. ... Thus, it seems possible to remove PHP4, install a new Apache instance, PHP5 ...
    (SuSE)
  • RE: Problem with apache, php and mysql after FC4 upgrade: SegmentationFault ...
    ... the config options are that php/apache is seeing for php... ... this will install in the default dirs.... ... i'm curious to know if the rpms for php with FC4 are somehow screwed up... ... > Group apache ...
    (Fedora)
  • Re: Can not get Php (4.4 - Windows) configured to open secure URLs (https)
    ... to do something more in php or in Apache httpd.conf? ... To use the CSR and key generation functions from PHP, you will need to install an openssl.cnf file. ... The Windows environment variable OPENSSL_CONF is set to C:\OpenSSL\bin\openssl.cnf (and that is where I have installed OpenSSL. ...
    (comp.lang.php)
  • Re: PHP4 - Apache2 - MySQL What am I missing *FIXED*
    ... Now, i am working on a network management system using php4,mysql and apache, ... so that our form variables could be send to php ... >> Can someone queue me in on what I missed on the MySQL capability install? ... Faculty Of Computer Science, ...
    (Debian-User)