apache not correctly running php scripts

Jacob Mansfield cyberjacob at gmail.com
Wed Oct 20 22:05:49 UTC 2010


I used apt-get to install squirrelmail. the output of 'dpkg -l |grep php
follows

administrator at jay:~$ dpkg -l | grep php
ii  libapache2-mod-php5
5.3.3-1ubuntu9.1                                  server-side, HTML-embedded
scripting language (Apache 2 module)
ii  libapache2-mod-suphp
0.7.1-1                                           Apache2 module to run php
scripts with the owner permissions
ii  libnusoap-php
0.7.3-3                                           SOAP toolkit for PHP
ii  php-crypt-cbc
0.4-3                                             A class to emulate Perl's
Crypt::CBC module
ii  php-fpdf
2:1.53.dfsg-6.1                                   PHP class to generate PDF
files
ii  php-mail-mime
1.5.3-0.1                                         PHP PEAR module for
creating MIME messages
ii  php-mail-mimedecode
1.5.0-3                                           PHP PEAR module to decode
MIME messages
ii  php-pear
5.3.3-1ubuntu9.1                                  PEAR - PHP Extension and
Application Repository
ii  php-xml-parser
1.3.2-2                                           PHP PEAR module for
parsing XML
ii  php-xml-serializer
0.20.0-2.1                                        swiss-army knife for
reading and writing XML files
ii  php5
5.3.3-1ubuntu9.1                                  server-side, HTML-embedded
scripting language (metapackage)
ii  php5-cgi
5.3.3-1ubuntu9.1                                  server-side, HTML-embedded
scripting language (CGI binary)
ii  php5-cli
5.3.3-1ubuntu9.1                                  command-line interpreter
for the php5 scripting language
ii  php5-common
5.3.3-1ubuntu9.1                                  Common files for packages
built from the php5 source
ii  php5-curl
5.3.3-1ubuntu9.1                                  CURL module for php5
ii  php5-dev
5.3.3-1ubuntu9.1                                  Files for PHP5 module
development
ii  php5-gd
5.3.3-1ubuntu9.1                                  GD module for php5
ii  php5-idn
1.2b-6                                            PHP API for the IDNA
library
ii  php5-imagick
3.0.0~rc1-1build1                                 ImageMagick module for
php5
ii  php5-imap
5.3.3-0ubuntu1                                    IMAP module for php5
ii  php5-mcrypt
5.3.3-0ubuntu2                                    MCrypt module for php5
ii  php5-memcache
3.0.4-4                                           memcache extension module
for PHP5
ii  php5-ming
1:0.4.3-1ubuntu2                                  Ming module for php5
ii  php5-mysql
5.3.3-1ubuntu9.1                                  MySQL module for php5
ii  php5-pspell
5.3.3-1ubuntu9.1                                  pspell module for php5
ii  php5-recode
5.3.3-1ubuntu9.1                                  recode module for php5
ii  php5-snmp
5.3.3-1ubuntu9.1                                  SNMP module for php5
ii  php5-sqlite
5.3.3-1ubuntu9.1                                  SQLite module for php5
ii  php5-tidy
5.3.3-1ubuntu9.1                                  tidy module for php5
ii  php5-xmlrpc
5.3.3-1ubuntu9.1                                  XML-RPC module for php5
ii  php5-xsl
5.3.3-1ubuntu9.1                                  XSL module for php5
ii  phpmyadmin
4:3.3.7-1                                         MySQL web administration
tool
ii  suphp-common
0.7.1-1                                           Common files for mod suphp


Jacob Mansfield
Programmer



On 20 October 2010 22:50, Hal Burgiss <hal at burgiss.net> wrote:

> On Wed, Oct 20, 2010 at 5:29 PM, Jacob Mansfield <cyberjacob at gmail.com>wrote:
>
>> I am trying to install squirrelmail onto my new mail server, however it
>> appears that Apache is not running the server-side php scripts as when I try
>> to open the squirrelmail page FireFox reports that the file will be
>> downloaded as it's mime type is application/x-httpd-suphp if i open the
>> downloaded file I can see that none of the php has been phrased is is
>> clearly visible, which it should not be. I'd like some help on this one as
>> I'm a web developer not a mail server admin
>>
>
> Was all this installed as Ubuntu packages? If so, I'd guess there is some
> php stuff that did not get installed. Can you list the php related packages,
> something like 'dpkg -l |grep php'. A generic Ubuntu install should "just
> work" (assuming all the php stuff is installed).
>
> --
> Hal
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20101020/b29c1139/attachment.html>


More information about the ubuntu-users mailing list