Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
[RESOLVED] Can't find httpd.conf after php install
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-01-10
03:57 PM
2015-01-10
03:57 PM
[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 ?
Message 1 of 6
Labels:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-01-10
03:58 PM
2015-01-10
03:58 PM
Re: Can't find httpd.conf after php install
Those instructions are for legacy readynas not for your 102
Message 2 of 6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-01-10
04:02 PM
2015-01-10
04:02 PM
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 :
But still an index php file at the root of my http directory isn't showed correctly (no problem with an index.html)
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-01-10
05:05 PM
2015-01-10
05:05 PM
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?
Do you have a backup of your data?
Message 4 of 6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-01-10
05:14 PM
2015-01-10
05:14 PM
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?
I have several backups yes
Could you lead me to a how-to if you know any?
Message 5 of 6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-01-11
07:40 AM
2015-01-11
07:40 AM
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