Re: Why the constant conflicts between Apache2 & PHP4, Now Gallery has quit!

From: John Foster (jfoster_at_augustmail.com)
Date: 12/31/04

  • Next message: michael: "acpi errors"
    To: debian-user@lists.debian.org
    Date: Fri, 31 Dec 2004 07:39:27 -0600
    
    

    On Thursday 30 December 2004 11:37 am, Michael wrote:
    > > There seem to be constant conflicts between Apache2 & PHP4 as far as
    > > getting
    > > the apache2-mod-php4 and any dependent applicatione to work properly. Any
    > > one
    > > know why this condition is predominent. I think there is a bug in the
    > > configs
    > > as Debian installed them as I have tweaked them to get them to try to
    > > work.
    > > Apache2 says it has loaded the php4 module. I don't know of a way to
    > > check php4 the see if the various php.ini files are configured correctly.
    > > I did add
    > > the lines highlighted below to my apache2.conf file and it did change
    > > the error message, but still no gallery.
    > >
    > > AddType application/x-httpd-php .php
    > > AddType application/x-httpd-php-source .phps
    > >
    > > # To use CGI scripts outside /cgi-bin/:
    > > #
    > > AddHandler cgi-script .cgi
    > > AddHandler cgi-script .php
    > > AddHandler cgi-script.pl
    > >
    > > Keep in mind that my photo gallery (gallery) was working just fine until
    > > I
    > > upgraded Apache2 then more issues.
    > > Any ideas to get it working again?
    > > --
    > > John Foster
    >
    > Sounds like you are trying to use apache the 'normal' way. Use it the
    > 'debian' way and you will find that it works a lot better when you
    > upgrade.
    >
    sorry that assumption is incorrect: as you can't get more debian than apt-get
    install Apache2xxxxx
    > It is all split up so you can easily upgrade versions without having to
    > re-configure or miss out on new configurations. It just implys that you do
    > it correctly otherwise all your hard work might start disappearing on you.
    >
    > get the original apache2.conf back
    > (if you want to edit apache2.conf, add stuff to the blank httpd.conf
    > instead)
    >
    > find what you want in this directory
    > /etc/apache2/mods-available
    > symlink what you want from that directory to this directory
    > /etc/apache2/mods-enabled
    >
    again, those 'mods' are all working fine according to the server itself:
    > For gallery do something like this
    >
    > make a file /etc/apache2/conf.d/gallery
    >
    debian install does that when you install the application.
    > dump this inside
    > #-----------------------------------
    > Alias /gallery /usr/share/gallery
    >
    > <Directory /usr/share/gallery>
    > Options FollowSymLinks
    > AllowOverride Limit Options FileInfo
    > </Directory>
    > #------------------------------------
    >
    debian also does this.
    > as for php.ini
    >
    > phpinfo.php
    > //-----------------
    > phpinfo();
    > //-----------------
    >
    > will tell you the configuration.
    >
    ahha that is what I was seeking, as I think the issue is with php4 not
    Apache2 since all 10 of the websites it serves seem to be running fine. This
    might help.
    > -Mike

    -- 
    John Foster
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: michael: "acpi errors"

    Relevant Pages

    • RE: Apache2 Manhattan Virtual Classroom
      ... Subject: Apache2 Manhattan Virtual Classroom ... I'm just a guy who lurks on the debian user list. ... On the debian lists, threads are formed by matching numeric ... I don't know anything about Apache, so I can't help on your software ...
      (Debian-User)
    • RE: Apache2 Manhattan Virtual Classroom
      ... Red Hat Linux background, so Debian, seems to be as close a match to this ... Subject: Apache2 Manhattan Virtual Classroom ... support you. ... that shows the requests and how Apache is answering them. ...
      (Debian-User)
    • Re: Apache2 Manhattan Virtual Classroom
      ... community-based or community-supported distro. ... hiring a Debian consultant. ... You mention creating the virtual host configuration, ... output that shows the requests and how Apache is answering them. ...
      (Debian-User)
    • Re: Web server with PHP setup & mod-ssl
      ... > Debian stable is considered the most secure. ... > So, yes, the version of Apache in stable is 1.3.26, which is older. ... CSFB retains and monitors electronic communications sent ...
      (Debian-User)
    • Re: security issues with apache!
      ... The actual list for security issues is debian-security. ... Give us your current package versions of apache. ... I'm not completely new to Debian or Linux, ... Essentially the machine is Debian Sarge, with MySQL and PHP4. ...
      (Debian-User)