NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
mhop74
Jan 20, 2011Aspirant
PHP scripts download rather than execute
Hi,
I've installed PHP 5.3.2 on my Ultra 4 using the PHP53 add on from WhoCares? The PHP installation has worked - running php -v from a terminal gives the following:
PHP 5.3.2-1 with Suhosin-Patch (cli) (built: Jun 26 2010 23:10:34)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
However PHP scripts prompt to download the script rather than being executed.
I think its an Apache problem but have struggled to restart apache:
#sudo /etc/init.d/apache2 restart
Restarting web server: apache2apache2: Could not open configuration file /etc/apache2/apache2.conf: No such file or directory
failed!
Any ideas what is going wrong?
Thanks
Marcus
I've installed PHP 5.3.2 on my Ultra 4 using the PHP53 add on from WhoCares? The PHP installation has worked - running php -v from a terminal gives the following:
PHP 5.3.2-1 with Suhosin-Patch (cli) (built: Jun 26 2010 23:10:34)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
However PHP scripts prompt to download the script rather than being executed.
I think its an Apache problem but have struggled to restart apache:
#sudo /etc/init.d/apache2 restart
Restarting web server: apache2apache2: Could not open configuration file /etc/apache2/apache2.conf: No such file or directory
failed!
Any ideas what is going wrong?
Thanks
Marcus
4 Replies
Replies have been turned off for this discussion
- WhoCares_MentorTry
apache-ssl -f /etc/frontview/apache/httpd.conf -k stop
apache-ssl -f /etc/frontview/apache/httpd.conf
If that doesn't solve your problem, just contact me.
-Stefan - mhop74AspirantThanks - will try that tonight.
- mhop74AspirantThis worked. Thanks very much for your help.
- ludwichAspirantthis dosent work for me can u plz help since i got the exact same problem
Related Content
NETGEAR Academy

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