× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

[RESOLVED] Can't find httpd.conf after php install

titimoi
Aspirant

[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
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 ?
Message 1 of 6
mdgm-ntgr
NETGEAR Employee Retired

Re: Can't find httpd.conf after php install

Those instructions are for legacy readynas not for your 102
Message 2 of 6
titimoi
Aspirant

Re: Can't find httpd.conf after php install

Thank'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)
Message 3 of 6
mdgm-ntgr
NETGEAR Employee Retired

Re: Can't find httpd.conf after php install

Why didn't you just use the PHP add-on under Apps > Available Apps?

Do you have a backup of your data?
Message 4 of 6
titimoi
Aspirant

Re: Can't find httpd.conf after php install

I 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?
Message 5 of 6
titimoi
Aspirant

Re: [RESOLVED] Can't find httpd.conf after php install

Ok There is no httpd, and actually everything is working out of the box.
Message 6 of 6
Top Contributors
Discussion stats
  • 5 replies
  • 2047 views
  • 0 kudos
  • 2 in conversation
Announcements