NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

jum's avatar
jum
Aspirant
Aug 08, 2011

PHP scripts not processed

I am running RAIDiator 4.2.17 on my ReadyNAS Ultra 2 Plus and have tried to install PHP according to the instructions in the Wordpress How-to installation (http://www.readynas.com/?p=213).

After step 4 and before installing Wordpress application I checked if PHP worked and it did not.

I got no faults during installation but PHP scripts are not processed, instead they are processed as a file for download.

HTML files works fine (including Frontview).

Although I am not running 4.01c1-p1 or earlier I have checked the content of HTTPD.CONF and there is a line containing "DirectoryIndex redirect.html index.html index.htm index.php".

Any suggestions?

3 Replies

Replies have been turned off for this discussion
  • Happened to me a few years ago and created this how-to: http://home.bott.ca/webserver/?p=127

    *For some reason, whenever I tried to load a .php file in my browser the file would try to download rather than display. As it turns out, I needed to edit the /etc/frontview/apache/httpd.conf file to include the line in red to prevent the .php files from downloading:

    LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so
    LoadModule apreq_module /usr/lib/apache2/modules/mod_apreq2.so
    LoadModule php5_module /usr/lib/apache2/modules/libphp5.so


    Not sure if it still applies, though.

    -Dave
  • Thanks to dbott67. I was totally stuck with this problem.

    It works now on my ReadyNAS.

    I have tested it with Firefox, IE and Chrome. I had a hard time with Chrome as it kept downloading my PHP test file until at cleared the cache (refresh did not work).

NETGEAR Academy

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

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More