Re: Apache and Php

From: Curtis Vaughan (curtis_at_npc-usa.com)
Date: 03/30/05

  • Next message: Helge Tore Høyland: "NVidia install in Sarge?"
    Date: Wed, 30 Mar 2005 09:30:42 -0800
    To: List Debian <debian-user@lists.debian.org>
    
    

    On 30 Mar, 2005, at 01:46, Alban Browaeys wrote:

    > Le Tue, 29 Mar 2005 21:27:05 -0800, Curtis Vaughan a écrit :
    >
    >> I don't get it.
    >> Every time I do an apt-get update, upgrade the php functionality on
    >> our
    >> web server gets wacked. Then I spend time trying to get it back up and
    >> running right. Should I just put a hold on apache and php until I feel
    >> certain that I want to upgrade them, or is there some reason why they
    >> always get wacked?
    >>
    >
    > SOrry. apache modules (well php for example) are managed by debconf a
    > debian registry. You can tweak /etc/apache/modules.conf by hand btu it
    > should have this header:
    >
    > # Autogenerated file - do not edit!
    > # This file is maintained by the apache package.
    > # To update it, run the command:
    > # /usr/sbin/apache-modconf apache
    >
    > was it only modules load that got broken by the upgrade ?
    >
    >
    So, in reply to the many responses I got. Yes, I am using sarge.

    So, what I did was issue the following command:

    /usr/sbin/apache-modconf apache enable php
    then:
    apachectl restart

    Nonetheless php is not working.
    My /etc/apache/modules.conf now reads:

    # Autogenerated file - do not edit!
    # This file is maintained by the apache package.
    # To update it, run the command:
    # /usr/sbin/apache-modconf apache
    ClearModuleList
    AddModule mod_so.c
    AddModule mod_macro.c
    LoadModule config_log_module /usr/lib/apache/1.3/mod_log_config.so
    LoadModule mime_magic_module /usr/lib/apache/1.3/mod_mime_magic.so
    LoadModule mime_module /usr/lib/apache/1.3/mod_mime.so
    LoadModule negotiation_module /usr/lib/apache/1.3/mod_negotiation.so
    LoadModule status_module /usr/lib/apache/1.3/mod_status.so
    LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so
    LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so
    LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so
    LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so
    LoadModule alias_module /usr/lib/apache/1.3/mod_alias.so
    LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so
    LoadModule access_module /usr/lib/apache/1.3/mod_access.so
    LoadModule auth_module /usr/lib/apache/1.3/mod_auth.so
    LoadModule expires_module /usr/lib/apache/1.3/mod_expires.so
    LoadModule unique_id_module /usr/lib/apache/1.3/mod_unique_id.so
    LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so
    LoadModule dav_module /usr/lib/apache/1.3/libdav.so
    LoadModule perl_module /usr/lib/apache/1.3/mod_perl.so
    LoadModule ssl_module /usr/lib/apache/1.3/mod_ssl.so
    LoadModule fastcgi_module /usr/lib/apache/1.3/mod_fastcgi.so
    LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
    Loadmodule suphp_module /usr/lib/apache/1.3/mod_suphp.so


  • Next message: Helge Tore Høyland: "NVidia install in Sarge?"

    Relevant Pages

    • Thanks!
      ... which was to display all errors including notices. ... actually the command to be used. ... With a older version of the apache and php ...
      (alt.php)
    • Help with php5 install under windows
      ... This includes moving php from the ... Enable the PHP scripting language engine under Apache. ... or per-virtualhost web server configuration file. ... The PHP directives register_globals, ...
      (php.general)
    • Re: PHP/Apache Configuration
      ... Try altering the LoadModule statement to refer to php5apache2_2.dll and see ... After that also try removing the AddModule line. ... I added my PHP directory, C:/PHP5, to my PATH ... If I comment out the above two statemens, Apache will start. ...
      (comp.lang.php)
    • RE: Virtual hosts and PHP "downloads": php5 and apache22 on FreeBSD6.1-STABLE
      ... Apache web server. ... Subject: Virtual hosts and PHP "downloads": php5 and apache22 on ...
      (freebsd-questions)
    • Re: HELP: send binary replies back and forth ???
      ... > My php application needs to do the following: ... > My PHP script loops through all records and sends each of them ONE BY ONE. ... > other than to be able to communicate with apache. ... All communication is binary because the connection used is pricy and ...
      (comp.lang.php)