NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
a1k3m1
Jan 25, 2016Aspirant
Trouble Finding php.ini file for Wordpress
Hey Guys, I brought a ReadyNAS a few weeks back, I managed to get the Wordpress app installed onto the system, All seems to be working well until I try and upload a theme for Wordpress, I ge...
StephenB
Jan 26, 2016Guru - Experienced User
The username has to be admin for this to work. Also be very careful on the direction of the slashes.
Does the time/date on the PC match the NAS?
BaJohn
Jan 28, 2016Virtuoso
StephenB wrote:The username has to be admin for this to work. Also be very careful on the direction of the slashes.
Does the time/date on the PC match the NAS?
Sorry to 'hijack' this slightly, but I have just logged a similar post - apologies for that.
The question I would ask is relevant, as it is
'How do I use the find command when logged in as admin, in the root directory and want to pirnt ONLY the location of ALL php.ini files?'
I used to do Linux years ago, and could (then) do this off the top of my head, but recently I am not as bright as I once was.
Thanks in advance
- StephenBJan 28, 2016Guru - Experienced User
BaJohn wrote:
'How do I use the find command when logged in as admin, in the root directory and want to pirnt ONLY the location of ALL php.ini files?'
If you are logged in using ssh, then
find . -name php.ini
will find all php.ini files in the current folder and its subfolders. If you do this from the root directory, it will search the data volumes, not just the OS directories.
- BaJohnJan 28, 2016Virtuoso
StephenB wrote:
find . -name php.ini
This worked fine ... as below:-
Welcome to ReadyNASOS 6.4.1Last login: Thu Jan 28 11:23:12 2016 from 192.168.1.4..root@XNAS:~# cd /
root@XNAS:/# find . -name php.ini
./etc/php5/cli/php.ini
./etc/php5/embed/php.ini
./etc/php5/apache2/php.ini
..
root@XNAS:/#Now all I need to do is find out which one of these is the one to change, or to create a new one in/apps/wordpress/web/wp-content/wp-admin (on RN516 with OS 6.4.1). - BaJohnJan 28, 2016Virtuoso
As I could not make up my mine which it might be (or another new php.ini elsewhere),
I edited all 3 files in previous post and gave it a try.
The change was simply to add a zero between the 2 and 'M' of UPLOAD_MAX_FILESIZE = 2M,
allowing 20M to be uploaded. (My file was 5.1 M).
It worked which means that I can upload into WordPress any Theme, Plugin etc.
Thanks guys, and especially StephenB.
I still have to sort out my FTP to WordPress on another post.
- a1k3m1Jan 30, 2016Aspirant
Im still not having any luck with connecting through command prompt, after trying what i think is the admin account and another account i created i am still getting this Error 86 issue.
What would be the default login and password be to the ReadyNAS?
Username: admin Password: password
is this correct?
Sorry to take up all of your time for something so simple :(
- BaJohnJan 30, 2016Virtuoso
If using SSH try typing in 'root' and then using the same passord as used for the 'admin' user.
Related Content
NETGEAR Academy

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