NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
leoj3n
Jul 15, 2012Aspirant
[Solved] Help set up PHP CGI Environment please
Sorry for the newbie question.
I followed the steps @ http://www.readynas.com/?p=140 ("Setting up a PHP CGI Environment")
I didn't get any errors. At the moment .php files are downloaded by the browser instead of their output being displayed as HTML...
I thought this might be a problem with httpd.conf, .vhost, and related files but after playing with those settings for some time I figured the problem must be elsewhere. That's when I thought to run apache-ssl -f /etc/frontview/apache/httpd.conf -M which output:
Skipping over the warnings, I got the info I was looking for... the php5 module isn't listed in the Loaded Modules section. Does this mean that the "Setting up a PHP CGI Environment" tutorial I followed didn't work properly?
Thanks for any tips you may be able to provide.
--- Update ---
After adding the code
I restarted my NAS and now the error is just permissions (403):
This is the log after reboot before visiting any .php page:
After visiting a .php page:
Here's my complete configuration (/etc/frontview/apache/): http://leoj3n.otzo.com/apache_updated.tar.gz
I followed the steps @ http://www.readynas.com/?p=140 ("Setting up a PHP CGI Environment")
I didn't get any errors. At the moment .php files are downloaded by the browser instead of their output being displayed as HTML...
I thought this might be a problem with httpd.conf, .vhost, and related files but after playing with those settings for some time I figured the problem must be elsewhere. That's when I thought to run apache-ssl -f /etc/frontview/apache/httpd.conf -M which output:
# apache-ssl -f /etc/frontview/apache/httpd.conf -M
[Sat Jul 14 20:49:06 2012] [warn] The Alias directive in /etc/frontview/apache/DefAlias.conf at line 48 will probably never match because it overlaps an earlier Alias.
[Sat Jul 14 20:49:06 2012] [warn] The Alias directive in /etc/frontview/apache/DefAlias.conf at line 48 will probably never match because it overlaps an earlier Alias.
apache-ssl: Could not reliably determine the server's fully qualified domain name, using 10.0.1.2 for ServerName
Loaded Modules:
core_module (static)
authz_host_module (static)
authz_user_module (static)
auth_basic_module (static)
include_module (static)
log_config_module (static)
logio_module (static)
env_module (static)
expires_module (static)
headers_module (static)
setenvif_module (static)
ssl_module (static)
mpm_prefork_module (static)
http_module (static)
mime_module (static)
dav_module (static)
status_module (static)
autoindex_module (static)
cgi_module (static)
dav_fs_module (static)
negotiation_module (static)
dir_module (static)
alias_module (static)
rewrite_module (static)
so_module (static)
perl_module (shared)
apreq_module (shared)
addonhandler_module (shared)
authnz_external_module (shared)
auth_sys_group_module (shared)
Syntax OK
Skipping over the warnings, I got the info I was looking for... the php5 module isn't listed in the Loaded Modules section. Does this mean that the "Setting up a PHP CGI Environment" tutorial I followed didn't work properly?
Thanks for any tips you may be able to provide.
--- Update ---
After adding the code
LoadModule php5_module /usr/lib/apache2/modules/libphp5.soto /etc/frontview/apache/httpd.conf, "php5_module" shows up at the end of the list:
AddHandler php5-script .php
AddType text/html .php
#AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Loaded Modules:
core_module (static)
authz_host_module (static)
authz_user_module (static)
auth_basic_module (static)
include_module (static)
log_config_module (static)
logio_module (static)
env_module (static)
expires_module (static)
headers_module (static)
setenvif_module (static)
ssl_module (static)
mpm_prefork_module (static)
http_module (static)
mime_module (static)
dav_module (static)
status_module (static)
autoindex_module (static)
cgi_module (static)
dav_fs_module (static)
negotiation_module (static)
dir_module (static)
alias_module (static)
rewrite_module (static)
so_module (static)
perl_module (shared)
apreq_module (shared)
addonhandler_module (shared)
authnz_external_module (shared)
auth_sys_group_module (shared)
php5_module (shared)
Syntax OK
I restarted my NAS and now the error is just permissions (403):
Forbidden
You don't have permission to access / on this server.
This is the log after reboot before visiting any .php page:
[Sat Jul 14 21:27:51 2012] [warn] RSA server certificate CommonName (CN) `10.0.1.26' does NOT match server name!?
[Sat Jul 14 21:27:52 2012] [warn] RSA server certificate CommonName (CN) `10.0.1.26' does NOT match server name!?
[Sat Jul 14 21:27:52 2012] [notice] Apache/2.2.6 (Debian) mod_ssl/2.2.6 OpenSSL/0.9.8c DAV/2 PHP/5.2.0-8+etch16 mod_apreq2-20051231/2.6.0 mod_perl/2.0.2 Perl/v5.8.8 configured -- resuming normal operations
[Sat Jul 14 21:27:56 2012] [notice] Graceful restart requested, doing restart
[Sat Jul 14 21:27:57 2012] [warn] The Alias directive in /etc/frontview/apache/DefAlias.conf at line 48 will probably never match because it overlaps an earlier Alias.
[Sat Jul 14 21:27:57 2012] [warn] The Alias directive in /etc/frontview/apache/DefAlias.conf at line 48 will probably never match because it overlaps an earlier Alias.
apache-ssl: Could not reliably determine the server's fully qualified domain name, using 10.0.1.2 for ServerName
[Sat Jul 14 21:27:57 2012] [warn] RSA server certificate CommonName (CN) `10.0.1.26' does NOT match server name!?
[Sat Jul 14 21:27:57 2012] [notice] Apache/2.2.6 (Debian) mod_ssl/2.2.6 OpenSSL/0.9.8c DAV/2 PHP/5.2.0-8+etch16 mod_apreq2-20051231/2.6.0 mod_perl/2.0.2 Perl/v5.8.8 configured -- resuming normal operations
After visiting a .php page:
[Sat Jul 14 21:27:51 2012] [warn] RSA server certificate CommonName (CN) `10.0.1.26' does NOT match server name!?
[Sat Jul 14 21:27:52 2012] [warn] RSA server certificate CommonName (CN) `10.0.1.26' does NOT match server name!?
[Sat Jul 14 21:27:52 2012] [notice] Apache/2.2.6 (Debian) mod_ssl/2.2.6 OpenSSL/0.9.8c DAV/2 PHP/5.2.0-8+etch16 mod_apreq2-20051231/2.6.0 mod_perl/2.0.2 Perl/v5.8.8 configured -- resuming normal operations
[Sat Jul 14 21:27:56 2012] [notice] Graceful restart requested, doing restart
[Sat Jul 14 21:27:57 2012] [warn] The Alias directive in /etc/frontview/apache/DefAlias.conf at line 48 will probably never match because it overlaps an earlier Alias.
[Sat Jul 14 21:27:57 2012] [warn] The Alias directive in /etc/frontview/apache/DefAlias.conf at line 48 will probably never match because it overlaps an earlier Alias.
apache-ssl: Could not reliably determine the server's fully qualified domain name, using 10.0.1.2 for ServerName
[Sat Jul 14 21:27:57 2012] [warn] RSA server certificate CommonName (CN) `10.0.1.26' does NOT match server name!?
[Sat Jul 14 21:27:57 2012] [notice] Apache/2.2.6 (Debian) mod_ssl/2.2.6 OpenSSL/0.9.8c DAV/2 PHP/5.2.0-8+etch16 mod_apreq2-20051231/2.6.0 mod_perl/2.0.2 Perl/v5.8.8 configured -- resuming normal operations
[Sat Jul 14 21:28:51 2012] [error] [client 99.104.49.12] Directory index forbidden by Options directive: /c/public_html/2011cc/
[Sat Jul 14 21:28:51 2012] [error] [client 99.104.49.12] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Sat Jul 14 21:29:00 2012] [error] [client 99.104.49.12] Directory index forbidden by Options directive: /c/public_html/2011cc/
[Sat Jul 14 21:29:00 2012] [error] [client 99.104.49.12] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Sat Jul 14 21:29:06 2012] [error] [client 99.104.49.12] File does not exist: /public_html/leoj3n/favicon.ico
Here's my complete configuration (/etc/frontview/apache/): http://leoj3n.otzo.com/apache_updated.tar.gz
3 Replies
Replies have been turned off for this discussion
- WhoCares_Mentor
leoj3n wrote: I followed the steps @ http://www.readynas.com/?p=140 ("Setting up a PHP CGI Environment")
Before getting deeper into the whole matter, I'd say this is the original source of your problems. The page you're reffering to is quite date and there's a reason why there are additional and full-blown PHP add-ons. To verify my guess, could you please post the output fromdpkg -l | grep -v "^ii"
. I'm quite confident that the libapache2-mod-php5 module never got installed correctly on your ReadyNAS.
-Stefan - leoj3nAspirantThanks WhoCares?. This is the result:
alfa-nas:~# dpkg -l | grep -v "^ii"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==================================-========================-============================================
alfa-nas:~#
I don't understand the grep you had me do. This is the result without it:alfa-nas:~# dpkg -l
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============================-==============================-============================================================================
ii acl 2.2.47-2 Access control list utilities
ii acpid 1.0.4-5etch2 Utilities for using ACPI power management
ii adduser 3.112+nmu2 add and remove users and groups
ii apache-common 1.3.34-4.1+etch1 support files for all Apache webservers
ii apache2 2.2.6-2.netgear2 Next generation, scalable, extendable web server
ii apache2-mpm-prefork 2.2.6-2.netgear2 Traditional model for Apache HTTPD
ii apache2-utils 2.2.6-2.netgear2 utility programs for webservers
ii apache2.2-common 2.2.6-2.netgear2 Next generation, scalable, extendable web server
ii apt 0.7.20.2+lenny2 Advanced front-end for dpkg
ii at 3.1.10.2.netgear1 Delayed job execution and batch processing
ii attr 1:2.4.43-2 Utilities for manipulating filesystem extended attributes
ii avahi-autoipd 0.6.23-4em1.netgear1 Avahi IPv4LL network address configuration daemon
ii avahi-daemon 0.6.23-4em1.netgear1 Avahi mDNS/DNS-SD daemon
ii base-files 4.0.1~bpo40+1 Debian base system miscellaneous files
ii base-passwd 3.5.11 Debian base system master password and group files
ii bash 3.1dfsg-8 The GNU Bourne Again SHell
ii bsdutils 1:2.13.1.1-1.netgear2 Basic utilities from 4.4BSD-Lite
ii ca-certificates 20070303 Common CA Certificates PEM files
ii chrony 1.24-3+b1 Sets your computer's clock from time servers on the Net
ii coreutils 8.5-1 GNU core utilities
ii cpio 2.6-18.1+etch1 GNU cpio -- a program to manage archives of files
ii cracklib2 2.7-19 pro-active password checker library
ii cron 3.0pl1-106.netgear1 process scheduling daemon
ii cupsys 1.1.14-5woody12.netgear1 Common UNIX Printing System(tm) - server
ii curl 7.15.5-1etch3 Get a file from an HTTP, HTTPS, FTP or GOPHER server
ii dbus 1.2.1-5em1 simple interprocess messaging system
ii debconf 1.5.36.1 Debian configuration management system
ii debconf-i18n 1.5.11etch2 full internationalization support for debconf
ii debian-archive-keyring 2009.01.31 GnuPG archive keys of the Debian archive
ii debian-backports-keyring 2007.06.10 GnuPG archive key of the backports.org repository
ii debianutils 2.17 Miscellaneous utilities specific to Debian
ii diffutils 1:3.0-1 File comparison utilities
ii dosfstools 3.0.9-1.netgear1 utilities for making and checking MS-DOS FAT filesystems
ii dpkg 1.14.31 Debian package management system
ii e2fslibs 1.41.14-1.netgear1 ext2/ext3/ext4 file system libraries
ii e2fsprogs 1.41.14-1.netgear1 ext2/ext3/ext4 file system utilities
ii ethtool 6+20080913-1 display or change Ethernet device settings
ii exim 3.36-18.2 An obsolete MTA (Mail Transport Agent), replaced by exim4
ii faad 2.6.1-3 freeware Advanced Audio Decoder player
ii ffmpeg 4:0.6.6-1.netgear1 Multimedia player, server, encoder and transcoder
ii file 5.04-5+b1 Determines file type using "magic" numbers
ii findutils 4.2.28-1etch1 utilities for finding files--find, xargs, and locate
ii flac 1.2.1-1.2 Free Lossless Audio Codec - command line tools
ii gcc-4.1-base 4.1.1-21 The GNU Compiler Collection (base package)
ii gcc-4.3-base 4.3.2-1.1 The GNU Compiler Collection (base package)
ii gnupg 1.4.9-3+lenny1 GNU privacy guard - a free PGP replacement
ii gpgv 1.4.6-2+etch1 GNU privacy guard - signature verification tool
ii gphoto2 2.2.0-3.netgear2 The gphoto2 digital camera command-line client
ii grep 2.5.1.ds2-6 GNU grep, egrep and fgrep
ii gzip 1.3.12-9 GNU compression utilities
ii hdparm 9.32-1 tune hard disk parameters for high performance
ii host 20000331-9 utility for querying DNS servers
ii hostname 3.04 utility to set/show the host name or domain name
ii ifplugd 0.28-2.3 A configuration daemon for ethernet devices
ii ifupdown 0.6.8 high level tools to configure network interfaces
ii initscripts 2.86.ds1-47~bpo40+1 Scripts for initializing and shutting down the system
ii install-info 4.13a.dfsg.1-6 Manage installed documentation in info format
ii iptables 1.4.8-3 administration tools for packet filtering and NAT
ii iputils-ping 3:20020927-6 Tools to test the reachability of network hosts
ii ipwatchd 1.2-2.netgear2 IP conflict detection tool
ii iscsitarget 1.4.20.2+svn396-netgear1 iSCSI Enterprise Target userland tools
ii klogd 1.4.1-18 Kernel Logging Daemon
ii libacl1 2.2.47-2 Access control list shared library
ii libapache-mod-php5 5.2.0+dfsg-8+etch16 server-side, HTML-embedded scripting language (apache 1.3 module)
ii libapache2-mod-apreq2 2.08-4 generic Apache request library - Apache module
ii libapache2-mod-auth-sys-group 1.1.1-6.1 Module for Apache2 which checks user against system group
ii libapache2-mod-perl2 2.0.2-2.4 Integration of perl with the Apache2 web server
ii libapache2-mod-php5 5.2.0+dfsg-8+etch16 server-side, HTML-embedded scripting language (apache 2 module)
ii libapache2-request-perl 2.08-4 generic Apache request library - Perl modules
ii libapr1 1.2.7-9 The Apache Portable Runtime Library
ii libapreq2 2.08-4 generic Apache request library
ii libaprutil1 1.2.7+dfsg-2+etch3 The Apache Portable Runtime Utility Library
ii libatm1 2.4.1-17 shared library for ATM (Asynchronous Transfer Mode)
ii libattr1 1:2.4.43-2 Extended attribute shared library
ii libavahi-client3 0.6.23-4em1.netgear1 Avahi client library
ii libavahi-common-data 0.6.23-4em1.netgear1 Avahi common data files
ii libavahi-common3 0.6.23-4em1.netgear1 Avahi common library
ii libavahi-core5 0.6.23-4em1.netgear1 Avahi's embeddable mDNS/DNS-SD library
ii libavcodec52 4:0.6.6-1.netgear1 FFmpeg codec library
ii libavdevice52 4:0.6.6-1.netgear1 FFmpeg device handling library
ii libavformat52 4:0.6.6-1.netgear1 FFmpeg file format library
ii libavutil50 4:0.6.6-1.netgear1 FFmpeg utility library
ii libblkid1 1.41.14-1.netgear1 block device id library
ii libbz2-1.0 1.0.5-1+lenny1 high-quality block-sorting file compressor library - runtime
ii libc6 2.7-18lenny7 GNU C Library: Shared libraries
ii libc6-amd64 2.7-18lenny7 GNU C Library: 64bit Shared libraries for AMD64
ii libcap1 1:1.10-14 support for getting/setting POSIX.1e capabilities
ii libcomerr2 1.41.14-1.netgear1 common error description library
ii libcupsys2 1.1.14-5woody12.netgear1 Common UNIX Printing System(tm) - libs
ii libcurl3 7.19.7-1.netgear2 Multi-protocol file transfer library (OpenSSL)
ii libdaemon0 0.12-1 lightweight C library for daemons - runtime library
ii libdb3 3.2.9+dfsg-0.1 Berkeley v3 Database Libraries [runtime]
ii libdb3-util 3.2.9+dfsg-0.1 Berkeley v3 Database Utilities
ii libdb4.4 4.4.20-8 Berkeley v4.4 Database Libraries [runtime]
ii libdb4.8 4.8.30-2 Berkeley v4.8 Database Libraries [runtime]
ii libdbd-mysql-perl 3.0008-1 A Perl5 database interface to the MySQL database
ii libdbi-perl 1.53-1etch1 Perl5 database interface by Tim Bunce
ii libdbus-1-3 1.2.1-5em1 simple interprocess messaging system
ii libdevel-symdump-perl 2.03-3 Perl module for inspecting perl's symbol table
ii libdevmapper1.02 2:1.02.08-1 The Linux Kernel Device Mapper userspace library
ii libdvdread3 0.9.7-2 library for reading DVDs
ii libedit2 2.9.cvs.20050518-2.2 BSD editline and history libraries
ii libevent-1.4-2 1.4.13-stable-1~bpo50+1 An asynchronous event notification library
ii libevent1 1.1a-1 An asynchronous event notification library
ii libexif12 0.6.16-2.1 library to parse EXIF files
ii libexpat1 1.95.8-3.4+etch3 XML parsing C library - runtime library
ii libfaad0 2.6.1-3 freeware Advanced Audio Decoder - runtime files
ii libfile-ncopy-perl 0.34-1 file copying like cp for perl
ii libfile-remove-perl 0.31-1 remove files and directories, accepts wildcards
ii libflac8 1.2.1-1.2 Free Lossless Audio Codec - runtime C library
ii libfreetype6 2.4.2-2.1+squeeze2 FreeType 2 font engine, shared library files
ii libgcc1 1:4.3.2-1.1 GCC support library
ii libgcrypt11 1.4.5-2 LGPL Crypto library - runtime library
ii libgd2-noxpm 2.0.36~rc1~dfsg-5.1 GD Graphics Library version 2 (without XPM support)
ii libgdbm3 1.8.3-3 GNU dbm database routines (runtime version)
ii libgnutls13 1.4.4-3+etch5 the GNU TLS library - runtime library
ii libgnutls26 2.8.6-1 the GNU TLS library - runtime library
ii libgpg-error0 1.6-1 library for common error values and messages in GnuPG components
ii libgphoto2-2 2.2.1-16.netgear1 gphoto2 digital camera library
ii libgphoto2-port0 2.2.1-16.netgear1 gphoto2 digital camera port library
ii libgsasl7 0.2.26-2 GNU SASL library
ii libgssglue1 0.1-1 mechanism-switch gssapi library
ii libhtml-parser-perl 3.55-1+etch1 A collection of modules that parse HTML text documents
ii libhtml-tagset-perl 3.10-2 Data tables pertaining to HTML
ii libhtml-tree-perl 3.19.01-2 represent and create HTML syntax trees
ii libid3tag0 0.15.1b-10 ID3 tag reading library from the MAD project
ii libident 0.22-3 simple RFC1413 client library - runtime
ii libidn11 0.6.5-1 GNU libidn library, implementation of IETF IDN specifications
ii libiw28 28-1+etchnhalf.1 Wireless tools - library
ii libjpeg62-turbo 6b1-1.1.1.netgear1 The Independent JPEG Group's JPEG runtime library
ii libkadm55 1.6.dfsg.4~beta1-5lenny6 MIT Kerberos administration runtime libraries
ii libkeyutils1 1.2-9 Linux Key Management Utilities (library)
ii libkrb53 1.6.dfsg.4~beta1-5lenny6 MIT Kerberos runtime libraries
ii libldap-2.4-2 2.4.23-6 OpenLDAP libraries
ii libldap2 2.1.30-13.3 OpenLDAP libraries
ii liblocale-gettext-perl 1.05-1 Using libc functions for internationalization in Perl
ii libltdl3 1.5.22-4+etch1 A system independent dlopen wrapper for GNU libtool
ii liblzo1 1.08-3 data compression library (old version)
ii libmad0 0.15.1b-2.1 MPEG audio decoder library
ii libmagic1 5.04-5+b1 File type determination library using "magic" numbers
ii libmcrypt4 2.5.7-5 De-/Encryption Library
ii libmhash2 0.9.7-1 Library for cryptographic hashing and message authentication
ii libmysqlclient15off 5.0.32-7etch8 mysql database client library
ii libncurses5 5.7+20100313-5 shared libraries for terminal handling
ii libncursesw5 5.5-5 Shared libraries for terminal handling (wide character support)
ii libnet-daemon-perl 0.38-1.1 Perl module for building portable Perl daemons easily.
ii libnet-netmask-perl 1.9012-2 parse, manipulate and lookup IP network blocks
ii libnet1 1.1.2.1-2 library for the construction and handling of network packets
ii libnfnetlink0 1.0.0-1 Netfilter netlink library
ii libnfsidmap2 0.18-0 An nfs idmapping library
ii libnl1 1.1-5 library for dealing with netlink sockets
ii libnss-mdns 0.10-3 NSS module for Multicast DNS name resolution
ii libntlm0 0.3.13-1 NTLM authentication library
ii libogg0 1.1.3-2 Ogg Bitstream Library
ii libopencdk8 0.5.9-2 Open Crypto Development Kit (OpenCDK) (runtime)
ii libpam-modules 0.79-5+etch1 Pluggable Authentication Modules for PAM
ii libpam-runtime 0.79-5+etch1 Runtime support for the PAM library
ii libpam0g 0.79-5+etch1 Pluggable Authentication Modules library
ii libpcap0.8 0.9.5-1 System interface for user-level packet capture
ii libpci2 2:2.1.11-3 Obsolete shared library for accessing pci devices
ii libpcre3 7.6-2.1 Perl 5 Compatible Regular Expression Library - runtime files
ii libperl5.8 5.8.8-7etch6 Shared Perl library
ii libplrpc-perl 0.2017-1.1 Perl extensions for writing PlRPC servers and clients
ii libpng12-0 1.2.15~beta5-1+etch2 PNG library - runtime
ii libpopt0 1.10-3 lib for parsing cmdline parameters
ii libpq4 8.1.19-0etch1 PostgreSQL C client library
ii libreadline5 5.2-2 GNU readline and history libraries, run-time libraries
ii librpcsecgss3 0.17-1 allows secure rpc communication using the rpcsec_gss protocol
ii libsasl2-2 2.1.23.dfsg1-5 Cyrus SASL - authentication abstraction library
ii libselinux1 1.32-3 SELinux shared libraries
ii libsensors3 1:2.10.1-3 library to read temperature/voltage/fan sensors
ii libsepol1 1.14-2 Security Enhanced Linux policy library for changing policy binaries
ii libslang2 2.0.6-4 The S-Lang programming library - runtime version
ii libsnmp-base 5.2.3-7etch4.netgear1 NET SNMP (Simple Network Management Protocol) MIBs and Docs
ii libsnmp9 5.2.3-7etch4.netgear1 NET SNMP (Simple Network Management Protocol) Library
ii libsqlite3-0 3.7.5-1.netgear3 SQLite 3 shared library
ii libss2 1.41.14-1.netgear1 command-line interface parsing library
ii libssl0.9.8 0.9.8o-4squeeze1 SSL shared libraries
ii libstdc++6 4.3.2-1.1 The GNU Standard C++ Library v3
ii libsysfs2 2.1.0-1 interface library to sysfs
ii libtasn1-3 2.7-1 Manage ASN.1 structures (runtime)
ii libtext-charwidth-perl 0.04-4 get display widths of characters on the terminal
ii libtext-iconv-perl 1.4-3 converts between character sets in Perl
ii libtext-wrapi18n-perl 0.06-5 internationalized substitute of Text::Wrap
ii liburi-perl 1.35-2 Manipulates and accesses URI strings
ii libusb-0.1-4 2:0.1.12-5 userspace USB programming library
ii libuuid1 1.41.14-1.netgear1 Universally Unique ID library
ii libvolume-id0 0.125-7+lenny3.netgear1 libvolume_id shared library
ii libvorbis0a 1.1.2.dfsg-1.4+etch1 The Vorbis General Audio Compression Codec
ii libwbclient0 2:3.5.16-netgear1 Samba winbind client library
ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers library
ii libwww-perl 5.805-1 WWW client/server library for Perl (aka LWP)
ii libxml2 2.6.32.dfsg-5+lenny4 GNOME XML library
ii locales 2.7-18lenny7 GNU C Library: National Language (locale) data [support]
ii login 1:4.0.18.1-7+etch1 system login tools
ii logrotate 3.7.1-3 Log rotation utility
ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init script functionality
ii lvm-common 1.5.20 The Logical Volume Manager for Linux (common files)
ii lvm2 2.02.06-4etch1.netgear1 The Linux Logical Volume Manager
ii lynx 2.8.5-2sarge2.2 Text-mode WWW Browser
ii lzma 4.43-14 Compression method of 7z format in 7-Zip program
ii makedev 2.3.1-83 creates device files in /dev
ii mawk 1.3.3-15 a pattern scanning and text processing language
ii mcrypt 2.6.4-3.2 Replacement for old unix crypt(1)
ii mdadm 3.1.4-1+8efb9d1 tool to administer Linux MD arrays (software RAID)
ii memtester 4.1.3-1 A utility for testing the memory subsystem
ii mime-support 3.51-1 MIME files 'mime.types' & 'mailcap', and support programs
ii mktemp 1.5-2 Makes unique filenames for temporary files
ii module-init-tools 3.3-pre4-2 tools for managing Linux kernel modules
ii mount 2.13.1.1-1.netgear2 Tools for mounting and manipulating filesystems
ii msmtp 1.4.9-1 light SMTP client with support for server profiles
ii mt-daapd 1.0.0-svn-1676.netgear5 iTunes-compatible DAAP server
ii mysql-client-5.0 5.0.32-7etch8 mysql database client binaries
ii mysql-common 5.0.32-7etch8 mysql database common files (e.g. /etc/mysql/my.cnf)
ii mysql-server 5.0.32-7etch5 mysql database server (meta package depending on the latest version)
ii mysql-server-5.0 5.0.32-7etch5 mysql database server binaries
ii ncftp 2:3.2.0-1 A user-friendly and well-featured FTP client
ii ncurses-base 5.5-5 Descriptions of common terminal types
ii ncurses-bin 5.7+20100313-5 terminal-related programs and man pages
ii net-tools 1.60-17 The NET-3 networking toolkit
ii netatalk 2.2.3-p1.netgear1 AppleTalk user binaries
ii netbase 4.29 Basic TCP/IP networking system
ii nfs-common 1:1.1.2-4.netgear1 NFS support files common to client and server
ii nfs-kernel-server 1:1.1.2-4.netgear1 support for NFS kernel server
ii noflushd 2.7.5-2.netgear17 allow idle hard disks to spin down
ii ntfs-3g 1:2012.1.15-1.netgear1 read-write NTFS driver for FUSE
ii ntpdate 1:4.2.2.p4+dfsg-2etch4 client for setting system time from NTP servers
ii nut 2.0.5-0.netgear12 The core system of the nut - Network UPS Tools
ii openbsd-inetd 0.20050402-6 The OpenBSD Internet Superserver
ii openssh-client 1:4.3p2-9 Secure shell client, an rlogin/rsh/rcp replacement
ii openssh-server 1:4.3p2-9 Secure shell server, an rshd replacement
ii openssl 0.9.8o-4squeeze1 Secure Socket Layer (SSL) binary and related cryptographic tools
ii passwd 1:4.0.18.1-7+etch1 change and administer password and group data
ii pciutils 1:2.2.4~pre4-1 Linux PCI Utilities
ii perl 5.8.8-7etch6 Larry Wall's Practical Extraction and Report Language
ii perl-base 5.8.8-7etch6 The Pathologically Eclectic Rubbish Lister
ii perl-modules 5.8.8-7etch6 Core Perl modules
ii php5-common 5.2.0+dfsg-8+etch16 Common files for packages built from the php5 source
ii php5-mcrypt 5.2.0+dfsg-8+etch16 MCrypt module for php5
ii php5-mysql 5.2.0+dfsg-8+etch16 MySQL module for php5
ii portmap 5-26 The RPC portmapper
ii procps 1:3.2.7-3 /proc file system utilities
ii proftpd 1.3.3g.netgear1 Versatile, virtual-hosting FTP daemon
ii psmisc 22.6-1 Utilities that use the proc filesystem
ii python 2.4.4-2 An interactive high-level object-oriented language (default version)
ii python-minimal 2.4.4-2 A minimal subset of the Python language (default version)
ii python2.4 2.4.4-3+etch3 An interactive high-level object-oriented language (version 2.4)
ii python2.4-minimal 2.4.4-3+etch3 A minimal subset of the Python language (version 2.4)
ii quota 4.00~pre1-6.netgear1 implementation of the disk quota system
ii radvd 1:1.6-1 Router Advertisement Daemon
ii readline-common 5.2-2 GNU readline and history libraries, common files
ii rsync 3.0.9-1.netgear2 fast remote file copy program (like rcp)
ii samba 2:3.5.16-netgear1 SMB/CIFS file, print, and login server for Unix
ii samba-common 2:3.5.16-netgear1 common files used by both the Samba server and client
ii samba-common-bin 2:3.5.16-netgear1 common files used by both the Samba server and client
ii sdparm 1.02-1 Output and modify SCSI device parameters
ii sed 4.1.5-1 The GNU sed stream editor
ii smartmontools 5.42-1.netgear2 control and monitor storage systems using S.M.A.R.T.
ii smbclient 2:3.5.16-netgear1 command-line SMB/CIFS clients for Unix
ii smbfs 2:3.5.16-netgear1 Samba file system utilities
ii snmp 5.2.3-7etch4.netgear1 NET SNMP (Simple Network Management Protocol) Apps
ii snmpd 5.2.3-7etch4.netgear1 NET SNMP (Simple Network Management Protocol) Agents
ii ssh 1:4.3p2-9etch3 Secure shell client and server (transitional package)
ii sudo 1.6.8p12-4 Provide limited super user privileges to specific users
ii sysklogd 1.4.1-18 System Logging Daemon
ii sysv-rc 2.86.ds1-38+etchnhalf.1 System-V-like runlevel change mechanism
ii sysvinit 2.86.ds1-38+etchnhalf.1 System-V-like init utilities
ii sysvinit-utils 2.86.ds1-47~bpo40+1 System-V-like utilities
ii tar 1.23-3 GNU version of the tar archiving utility
ii tcpd 7.6.dbs-13 Wietse Venema's TCP wrapper utilities
ii tftp-hpa 0.43-1.1 HPA's tftp client
ii timelimit 1.6-1 Simple utility to limit a process's absolute execution time
ii tzdata 2011k-0squeeze1 time zone and daylight-saving time data
ii ucf 3.0025+nmu1 Update Configuration File: preserve user changes to config files.
ii udev 0.125-7+lenny3.netgear1 /dev/ and hotplug management daemon
ii unrar 1:3.5.4-1.1 Unarchiver for .rar files (non-free version)
ii unzip 5.52-12 De-archiver for .zip files
ii update-inetd 4.27-0.5 inetd.conf updater
ii util-linux 2.13.1.1-1.netgear2 Miscellaneous system utilities
ii wget 1.11.4-2+lenny2 retrieves files from the web
ii wide-dhcpv6-client 20080615-8.netgear1 DHCPv6 client for automatic IPv6 hosts configuration
ii winbind 2:3.5.16-netgear1 Samba nameservice integration server
ii wireless-tools 28-1+etchnhalf.1 Tools for manipulating Linux Wireless Extensions
ii zip 2.32-1 Archiver for .zip files
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
alfa-nas:~#
These make it look like it's installed to me, but I am not sure of how dpkg works:libapache-mod-php5: server-side, HTML-embedded scripting language (apache 1.3 module)
libapache2-mod-php5: server-side, HTML-embedded scripting language (apache 2 module)
php5-common: Common files for packages built from the php5 source - leoj3nAspirantThe solution was to create a file @ /etc/frontview/apache/addons/00_php5module.conf with the following contents:
<IfModule !mod_php5.c>
LoadModule php5_module /usr/lib/apache2/modules/libphp5.so
</IfModule>
<IfModule mod_php5.c>
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
</IfModule>
More info: viewtopic.php?f=35&t=35896&p=362068#p362068
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!