NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
maverick56
Jan 21, 2012Aspirant
PHP 5.3 installation
Hi,
I found many tuto to install PHP on ReadyNas Duo, but none for PHP 5.3 ...
Do you know if it's possible ?
Merci
I found many tuto to install PHP on ReadyNas Duo, but none for PHP 5.3 ...
Do you know if it's possible ?
Merci
11 Replies
- maverick56AspirantNow i can access to all data (system include), is it possible to fix the probleme ?
This is my httpd.conf :ServerRoot /frontview/ui/resource/html
ServerTokens ProductOnly
LockFile /var/log/frontview/apache.lock
PidFile /var/log/frontview/apache-ssl.pid
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
StartServers 1
MinSpareServers 1
MaxSpareServers 1
MaxClients 15
MaxRequestsPerChild 250
Listen 80
# Please keep this LoadModule: line here, it is needed for installation.
LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so
LoadModule auth_pam_module /usr/lib/apache2/modules/mod_auth_pam.so
LoadModule auth_sys_group_module /usr/lib/apache2/modules/mod_auth_sys_group.so
LoadModule apreq_module /usr/lib/apache2/modules/mod_apreq2.so
APREQ2_ReadLimit 2147483648
ExtendedStatus On
User admin
Group admin
ServerAdmin admin@localhost
Options Indexes
DocumentRoot /frontview/ui/resource/html
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
<Files ~ "\.(js|jpg|jpeg|gif|html|htm|png|css)">
Header set Pragma: public
</Files>
UseCanonicalName Off
TypesConfig /etc/mime.types
DefaultType text/plain
<IfModule mod_mime_magic.c>
MIMEMagicFile share/magic
</IfModule>
HostnameLookups Off
ErrorLog /var/log/frontview/error.log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %v" full
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %P %T" debug
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog /var/log/frontview/access.log combined
<IfModule mod_autoindex.c>
IndexOptions Charset=
IndexOptions FancyIndexing NameWidth=*
AddIconByEncoding (CMP,/images/Icons/compressed.gif) x-compress x-gzip
AddIconByType (TXT,/images/Icons/text.gif) text/*
AddIconByType (IMG,/images/Icons/image2.gif) image/*
AddIconByType (SND,/images/Icons/sound2.gif) audio/*
AddIconByType (VID,/images/Icons/movie.gif) video/*
AddIcon /images/Icons/binary.gif .bin .exe
AddIcon /images/Icons/binhex.gif .hqx
AddIcon /images/Icons/tar.gif .tar
AddIcon /images/Icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /images/Icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /images/Icons/a.gif .ps .ai .eps
AddIcon /images/Icons/layout.gif .html .shtml .htm .pdf
AddIcon /images/Icons/text.gif .txt
AddIcon /images/Icons/c.gif .c
AddIcon /images/Icons/p.gif .pl .py
AddIcon /images/Icons/f.gif .for
AddIcon /images/Icons/dvi.gif .dvi
AddIcon /images/Icons/uuencoded.gif .uu
AddIcon /images/Icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /images/Icons/tex.gif .tex
AddIcon /images/Icons/bomb.gif core
AddIcon /images/Icons/back.gif ..
AddIcon /images/Icons/hand.right.gif README
AddIcon /images/Icons/folder.gif ^^DIRECTORY^^
AddIcon /images/Pix.gif ^^BLANKICON^^
DefaultIcon /images/Icons/unknown.gif
ReadmeName /html/AUTOINDEX.html
HeaderName HEADER.html
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
</IfModule>
<IfModule mod_mime.c>
AddEncoding x-compress Z
AddEncoding x-gzip gz tgz
AddLanguage da .dk
AddLanguage nl .nl
AddLanguage en .en
AddLanguage et .ee
AddLanguage fr .fr
AddLanguage de .de
AddLanguage el .el
AddLanguage it .it
AddLanguage ja .ja
AddCharset ISO-2022-JP .jis
AddLanguage pl .po
AddCharset ISO-8859-2 .iso-pl
AddLanguage pt .pt
AddLanguage pt-br .pt-br
AddLanguage ltz .lu
AddLanguage ca .ca
AddLanguage es .es
AddLanguage sv .se
AddLanguage cz .cz
<IfModule mod_negotiation.c>
LanguagePriority en da nl et fr de el it ja pl pt pt-br ltz ca es sv
</IfModule>
AddType application/x-tar .tgz
AddType image/bmp .bmp
AddType text/x-hdml .hdml
AddType video/x-ms-asf .asf
AddType video/x-ms-asf .asx
AddType video/x-msvideo .avi
AddType video/quicktime .mov
AddType video/x-sgi-movie .movie
AddType video/mp4 .mp4
AddType video/mpeg .mpe
AddType video/mpeg .mpeg
AddType video/mpeg .mpg
AddType video/x-sgi-movie .mv
AddType video/vnd.mpegurl .mxu
AddType video/quicktime .qt
AddType video/x-rad-screenplay .vx
AddType video/x-ms-wm .wm
AddType video/x-ms-wmv .wmv
AddType video/x-ms-wmx .wmx
AddType video/x-ms-wvx .wvx
AddHandler cgi-script .cgi .sh .pl
</IfModule>
#AddDefaultCharset utf-8
<IfModule mod_setenvif.c>
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "Microsoft-WebDAV-MiniRedir/5.1.2600" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS" redirect-carefully
# Drop the Range header when more than 5 ranges.
# CVE-2011-3192
SetEnvIf Range (,.*?){5,} bad-range=1
RequestHeader unset Range env=bad-range
</IfModule>
DAVLockDB /ramfs/WebDAVLock.db
DAVMinTimeout 600
Listen 443
SSLEngine On
SSLSessionCache dbm:/ramfs/gcache.db
SSLSessionCacheTimeout 600
SSLCACertificatePath /etc/frontview/apache
SSLCertificateFile /etc/frontview/apache/apache.pem
# -------------------------------------------------------------------
# Uncomment following when more graceful error message docs are used.
# Currently IE defaults it it's browser message, overriding any error
# docs we create anyway.
# -------------------------------------------------------------------
# ErrorDocument 401 /error/401.html
# ErrorDocument 403 /error/403.html
# ErrorDocument 404 /error/404.html
# ErrorDocument 500 /error/500.html
# Alias /error /frontview/ui/error
<Location />
Options ExecCGI
DirectoryIndex redirect.html index.html index.htm index.php
</Location>
Alias /message_handler /frontview/lib
<Location /message_handler>
Options ExecCGI
DirectoryIndex message_handler.cgi
AuthType Basic
AuthName "Control Panel"
require user admin
</Location>
Alias /shares /frontview/ui/resource/html
<Location /shares>
Options ExecCGI
DirectoryIndex user.pl
AuthType Basic
AuthName "My Shares"
require valid-user
</Location>
Alias /password_recovery /frontview/ui/resource/html
<Location /password_recovery>
DirectoryIndex password_recovery.html
Options ExecCGI
</Location>
<Location /index.html>
SetHandler server-status
Order Deny,Allow
Deny from all
</Location>
Alias /images/ /frontview/ui/resource/images/
Alias /theme/ /frontview/ui/resource/theme/
Alias /js/ /frontview/ui/resource/js/
Alias /language/ /frontview/ui/resource/language/
Alias /html/ /frontview/ui/resource/html/
PerlSwitches -I /etc/frontview/addons/ui
Alias /addons/ /etc/frontview/addons/ui/
Alias /admin /frontview/ui/resource/html
<Location /admin>
DirectoryIndex index.html
Options ExecCGI
AuthType Basic
AuthName "Control Panel"
require user admin
</Location>
Alias get_handler /frontview/lib
PerlSwitches -I /frontview/lib
PerlModule Frontview
PerlModule get_handler
<Location /get_handler>
SetHandler perl-script
PerlHandler get_handler
PerlSendHeader On
Options ExecCGI
Order allow,deny
Allow from all
AuthType Basic
AuthName "Control Panel"
require user admin
</Location>
Alias /np_handler /frontview/lib
<Location /np_handler>
Options ExecCGI
DirectoryIndex np_handler.pl
Allow from all
</Location>
LoadModule listhandler_module /frontview/lib/mod_listhandler.so
<Location /list_handler>
SetHandler listhandler
</Location>
Alias /dir_list /frontview/lib/dir_list.pl
<Location /dir_list>
AuthType Basic
AuthName "Control Panel"
require user admin
Options ExecCGI
Allow from all
</Location>
Include /etc/frontview/apache/Ports.conf
Include /etc/frontview/apache/Virtual.conf
Include /etc/frontview/apache/addons/*.conf
Include /etc/frontview/apache/Shares.conf
and my error.log :
[Sat Jan 21 20:20:08 2012] [warn] module php5_module is already loaded, skipping
Bad free() ignored (PERL_CORE) at /frontview/lib/Frontview.pm line 2.
Bad free() ignored (PERL_CORE) at /frontview/lib/Frontview.pm line 2.
[Sat Jan 21 20:21:39 2012] [notice] Apache/2.2.6 (Debian) mod_ssl/2.2.6 OpenSSL/0.9.8e DAV/2 PHP/5.2.0-8+etch9~bpo31+1 mod_apreq2-20051231/2.6.0 mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
[Sat Jan 21 21:03:05 2012] [error] [client 192.168.1.1] GROUP: admin not in required group(s)., referer: http://192.168.1.2/webSite/
[Sat Jan 21 21:03:11 2012] [error] [client 192.168.1.1] GROUP: admin not in required group(s)., referer: http://192.168.1.2/webSite/
[Sat Jan 21 21:06:38 2012] [notice] caught SIGTERM, shutting down
[Sat Jan 21 21:07:24 2012] [warn] module php5_module is already loaded, skipping
Bad free() ignored (PERL_CORE) at /frontview/lib/Frontview.pm line 2.
Bad free() ignored (PERL_CORE) at /frontview/lib/Frontview.pm line 2.
Bad free() ignored (PERL_CORE) at /frontview/lib/get_handler.pm line 2.
Bad free() ignored (PERL_CORE) at /frontview/lib/get_handler.pm line 2.
Bad free() ignored (PERL_CORE) at /frontview/lib/get_handler.pm line 2.
[Sat Jan 21 21:07:32 2012] [notice] Apache/2.2.6 (Debian) mod_ssl/2.2.6 OpenSSL/0.9.8e DAV/2 PHP/5.2.0-8+etch9~bpo31+1 mod_apreq2-20051231/2.6.0 mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
[Sat Jan 21 21:07:43 2012] [error] [client 192.168.1.1] GROUP: admin not in required group(s)., referer: http://192.168.1.2/webSite/
[Sat Jan 21 21:07:46 2012] [error] [client 192.168.1.1] GROUP: admin not in required group(s)., referer: http://192.168.1.2/webSite/
df: `/d': No such file or directory
df: `/e': No such file or directory
df: `/f': No such file or directory
dumpe2fs 1.40.11 (17-June-2008)
dumpe2fs 1.40.11 (17-June-2008)
dumpe2fs: No such file or directory while trying to open /dev/d/d
dumpe2fs 1.40.11 (17-June-2008)
dumpe2fs: No such file or directory while trying to open /dev/e/e
dumpe2fs 1.40.11 (17-June-2008)
dumpe2fs: No such file or directory while trying to open /dev/f/f
[Sun Jan 22 03:12:57 2012] [error] [client 213.79.125.20] File does not exist: /frontview/ui/resource/html/htdocs
[Sun Jan 22 03:12:57 2012] [error] [client 213.79.125.20] File does not exist: /frontview/ui/resource/html/phpldapadmin
[Sun Jan 22 03:12:58 2012] [error] [client 213.79.125.20] File does not exist: /frontview/ui/resource/html/phpldapadmin
[Sun Jan 22 03:12:58 2012] [error] [client 213.79.125.20] File does not exist: /frontview/ui/resource/html/phpLDAPadmin
[Sun Jan 22 03:12:59 2012] [error] [client 213.79.125.20] File does not exist: /frontview/ui/resource/html/phpLDAPadmin-1.2.1.1
[Sun Jan 22 03:12:59 2012] [error] [client 213.79.125.20] File does not exist: /frontview/ui/resource/html/phpldapadmin-1.2.1.1
[Sun Jan 22 06:25:20 2012] [notice] caught SIGTERM, shutting down
[Sun Jan 22 06:25:38 2012] [warn] module php5_module is already loaded, skipping
Bad free() ignored (PERL_CORE) at /frontview/lib/Frontview.pm line 2.
Bad free() ignored (PERL_CORE) at /frontview/lib/Frontview.pm line 2.
Bad free() ignored (PERL_CORE) at /frontview/lib/Frontview.pm line 2.
Bad free() ignored (PERL_CORE) at /frontview/lib/Frontview.pm line 2.
Bad free() ignored (PERL_CORE) at /frontview/lib/get_handler.pm line 2.
Bad free() ignored (PERL_CORE) at /frontview/lib/get_handler.pm line 2.
Bad free() ignored (PERL_CORE) at /frontview/lib/get_handler.pm line 2.
[Sun Jan 22 06:25:55 2012] [notice] Apache/2.2.6 (Debian) mod_ssl/2.2.6 OpenSSL/0.9.8e DAV/2 PHP/5.2.0-8+etch9~bpo31+1 mod_apreq2-20051231/2.6.0 mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
[Sun Jan 22 17:06:59 2012] [notice] Graceful restart requested, doing restart
[Sun Jan 22 17:07:00 2012] [warn] module php5_module is already loaded, skipping
apache-ssl: Could not reliably determine the server's fully qualified domain name, using 192.168.1.2 for ServerName
[Sun Jan 22 17:07:02 2012] [error] [client 192.168.1.1] shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory, referer: https://192.168.1.2/admin/
[Sun Jan 22 17:07:04 2012] [notice] Apache/2.2.6 (Debian) mod_ssl/2.2.6 OpenSSL/0.9.8e DAV/2 PHP/5.2.0-8+etch9~bpo31+1 mod_apreq2-20051231/2.6.0 mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
[Sun Jan 22 17:10:27 2012] [error] [client 192.168.1.1] PAM: user 'admin' - not authenticated: Permission denied, referer: https://192.168.1.2/admin/
[Sun Jan 22 17:10:28 2012] [error] [client 192.168.1.1] PAM: user 'admin' - not authenticated: Permission denied, referer: http://192.168.1.2/phpadm/index.php?token=a24f3b68427dd3993240d17931f02738
[Sun Jan 22 17:10:32 2012] [error] [client 192.168.1.1] PAM: user 'admin' - not authenticated: Permission denied, referer: http://192.168.1.2/phpadm/index.php?token=a24f3b68427dd3993240d17931f02738
[Sun Jan 22 17:10:37 2012] [error] [client 192.168.1.1] PAM: user 'maverick56' - not authenticated: Permission denied, referer: http://192.168.1.2/phpadm/index.php?token=a24f3b68427dd3993240d17931f02738
[Sun Jan 22 17:27:11 2012] [error] [client 192.168.1.1] PAM: user 'admin' - not authenticated: Permission denied, referer: https://192.168.1.2/admin/
[Sun Jan 22 17:27:15 2012] [error] [client 192.168.1.1] PAM: user 'admin' - not authenticated: Permission denied, referer: https://192.168.1.2/admin/
[Sun Jan 22 17:39:48 2012] [error] [client 192.168.1.1] PAM: user 'admin' - not authenticated: Permission denied
[Sun Jan 22 17:39:52 2012] [error] [client 192.168.1.1] PAM: user 'admin' - not authenticated: Permission denied
[Sun Jan 22 17:40:09 2012] [error] [client 192.168.1.1] PAM: user 'maverick56' - not authenticated: Permission denied
[Sun Jan 22 17:40:12 2012] [error] [client 192.168.1.1] PAM: user 'root' - not authenticated: Permission denied
[Sun Jan 22 17:41:46 2012] [error] [client 192.168.1.1] File does not exist: /frontview/ui/resource/js/thickbox.js, referer: http://192.168.1.2/password_recovery/
[Sun Jan 22 17:42:41 2012] [error] [client 192.168.1.1] sudo: , referer: http://192.168.1.2/password_recovery/
[Sun Jan 22 17:42:41 2012] [error] [client 192.168.1.1] uid 98 does not exist in the passwd file!, referer: http://192.168.1.2/password_recovery/
[Sun Jan 22 17:42:41 2012] [error] [client 192.168.1.1] , referer: http://192.168.1.2/password_recovery/
[Sun Jan 22 17:42:43 2012] [error] [client 192.168.1.1] sendmail: authentication failed (GNU SASL, method LOGIN), referer: http://192.168.1.2/password_recovery/
[Sun Jan 22 17:42:43 2012] [error] [client 192.168.1.1] sendmail: Server message: 535-5.7.1 Username and Password not accepted. Learn more at , referer: http://192.168.1.2/password_recovery/
[Sun Jan 22 17:42:43 2012] [error] [client 192.168.1.1] sendmail: Server message: 535 5.7.1 http://support.google.com/mail/bin/answer.py?answer=14257 cb8sm4041885wib.0, referer: http://192.168.1.2/password_recovery/
[Sun Jan 22 17:42:43 2012] [error] [client 192.168.1.1] sendmail: could not send mail (account default from /etc/msmtprc), referer: http://192.168.1.2/password_recovery/
[Sun Jan 22 17:44:07 2012] [error] [client 192.168.1.1] sudo: , referer: http://192.168.1.2/password_recovery/
[Sun Jan 22 17:44:07 2012] [error] [client 192.168.1.1] uid 98 does not exist in the passwd file!, referer: http://192.168.1.2/password_recovery/
[Sun Jan 22 17:44:07 2012] [error] [client 192.168.1.1] , referer: http://192.168.1.2/password_recovery/
[Sun Jan 22 17:44:09 2012] [error] [client 192.168.1.1] sendmail: authentication failed (GNU SASL, method LOGIN), referer: http://192.168.1.2/password_recovery/
[Sun Jan 22 17:44:09 2012] [error] [client 192.168.1.1] sendmail: Server message: 535-5.7.1 Username and Password not accepted. Learn more at , referer: http://192.168.1.2/password_recovery/
[Sun Jan 22 17:44:09 2012] [error] [client 192.168.1.1] sendmail: Server message: 535 5.7.1 http://support.google.com/mail/bin/answer.py?answer=14257 m8sm10626677wia.11, referer: http://192.168.1.2/password_recovery/
[Sun Jan 22 17:44:09 2012] [error] [client 192.168.1.1] sendmail: could not send mail (account default from /etc/msmtprc), referer: http://192.168.1.2/password_recovery/
[Sun Jan 22 17:44:23 2012] [error] [client 192.168.1.1] PAM: user 'admin' - not authenticated: Permission denied
[Sun Jan 22 17:44:28 2012] [error] [client 192.168.1.1] PAM: user 'admin' - not authenticated: Permission denied
[Sun Jan 22 17:49:06 2012] [error] [client 192.168.1.1] PAM: user 'admin' - not authenticated: Permission denied
[Sun Jan 22 17:49:11 2012] [error] [client 192.168.1.1] PAM: user 'admin' - not authenticated: Permission denied
[Sun Jan 22 17:49:17 2012] [error] [client 192.168.1.1] PAM: user 'admin' - not authenticated: Permission denied
[Sun Jan 22 17:49:27 2012] [error] [client 192.168.1.1] PAM: user 'maverick56' - not authenticated: Permission denied
[Sun Jan 22 17:56:15 2012] [error] [client 192.168.1.1] File does not exist: /frontview/ui/resource/js/thickbox.js, referer: http://192.168.1.2/password_recovery/
[Sun Jan 22 17:57:04 2012] [error] [client 192.168.1.1] sudo: , referer: http://192.168.1.2/password_recovery/
[Sun Jan 22 17:57:04 2012] [error] [client 192.168.1.1] uid 98 does not exist in the passwd file!, referer: http://192.168.1.2/password_recovery/
[Sun Jan 22 17:57:04 2012] [error] [client 192.168.1.1] , referer: http://192.168.1.2/password_recovery/
[Sun Jan 22 17:57:06 2012] [error] [client 192.168.1.1] sendmail: authentication failed (GNU SASL, method LOGIN), referer: http://192.168.1.2/password_recovery/
[Sun Jan 22 17:57:06 2012] [error] [client 192.168.1.1] sendmail: Server message: 535-5.7.1 Username and Password not accepted. Learn more at , referer: http://192.168.1.2/password_recovery/
[Sun Jan 22 17:57:06 2012] [error] [client 192.168.1.1] sendmail: Server message: 535 5.7.1 http://support.google.com/mail/bin/answer.py?answer=14257 bu13sm31835068wib.6, referer: http://192.168.1.2/password_recovery/
[Sun Jan 22 17:57:06 2012] [error] [client 192.168.1.1] sendmail: could not send mail (account default from /etc/msmtprc), referer: http://192.168.1.2/password_recovery/
[Sun Jan 22 18:00:52 2012] [notice] caught SIGTERM, shutting down
thanks
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!