NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
titimoi
Jan 10, 2015Aspirant
[RESOLVED] Can't find httpd.conf after php install
Hello,
I installed php5 using these instructions : https://www.readynas.com/forum/viewtopic.php?t=63434&p=386139
I'n then supposed to modify httpd.conf (at least to test an index.php file) but I couldn't manage to find httpd.conf, it's not in my /etc/frontview/apache or elsewhere (find an grep)
Did I miss something ?
I installed php5 using these instructions : https://www.readynas.com/forum/viewtopic.php?t=63434&p=386139
apt-get install nano libapache2-mod-php5 php5 php5-mysql php5-gd phpmyadmin
I'n then supposed to modify httpd.conf (at least to test an index.php file) but I couldn't manage to find httpd.conf, it's not in my /etc/frontview/apache or elsewhere (find an grep)
Did I miss something ?
5 Replies
Replies have been turned off for this discussion
- mdgm-ntgrNETGEAR Employee RetiredThose instructions are for legacy readynas not for your 102
- titimoiAspirantThank's for your quick answer.
I guessed it, the thing is that I didn't manage to find the right ones.. I found something in /etc/apache2/mods-available/dir.conf, but I'd prefer to have instructions to follow to make sure not to break everything.
It contains :
<IfModule mod_dir.c>
DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm
</IfModule>
But still an index php file at the root of my http directory isn't showed correctly (no problem with an index.html) - mdgm-ntgrNETGEAR Employee RetiredWhy didn't you just use the PHP add-on under Apps > Available Apps?
Do you have a backup of your data? - titimoiAspirantI want to do it myself so that I can learn by doing.
I have several backups yes
Could you lead me to a how-to if you know any? - titimoiAspirantOk There is no httpd, and actually everything is working out of the box.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!