Hi Everyone,
I'm setting up a wordpress site for development purposes. I'm trying to locate the php.ini file so I can increase the size limit for uploads. I did a search on the hda directory with no success.
Any ideas?
Thanks!
Dr. Bones
SOLVED: Wordpress Webapp location of php.ini
Re: Wordpress Webapp location of php.ini
Best not to modify that file. You can apply the same settings by adding an .htacess file in the app directory or if one exists, add to it:
You can find location of files by doing this as root user:<Files *.php>
php_value upload_max_filesize 512M
</Files>
Code: Select all
find / -name php.ini
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Wordpress Webapp location of php.ini
Hi Bigfoot,
Thanks for the reply, just to confirm, would I put the file in the wordpress \var\hda\webapps\wordpress directory or the apps directory /var\hda\apps?
Can I just create a file using gedit and name it .htacess?
Thanks!
DrB
Thanks for the reply, just to confirm, would I put the file in the wordpress \var\hda\webapps\wordpress directory or the apps directory /var\hda\apps?
Can I just create a file using gedit and name it .htacess?
Thanks!
DrB
Re: Wordpress Webapp location of php.ini
It would go in /var/hda/web-apps/wordpress/html directory where all the app files are located.Thanks for the reply, just to confirm, would I put the file in the wordpress \var\hda\webapps\wordpress directory or the apps directory /var\hda\apps?
You can use any editor you choose to create it and ensure you set the ownership permissions to apache:users for the file or it will not work.Can I just create a file using gedit and name it .htacess?
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Wordpress Webapp location of php.ini
Thanks again for the help.
FYI I had a typo, it should be .htaccess not .htacess. I placed it in the wordpress webapp folder \var\hda\webapps\wordpress before I received your reply to see if it would work, and it did. I'll have to see if there are any issues and if I have to move it to the html folder.
Thanks again!
Dr.B
FYI I had a typo, it should be .htaccess not .htacess. I placed it in the wordpress webapp folder \var\hda\webapps\wordpress before I received your reply to see if it would work, and it did. I'll have to see if there are any issues and if I have to move it to the html folder.
Thanks again!
Dr.B
Re: Wordpress Webapp location of php.ini
No problem. Glad to help.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Who is online
Users browsing this forum: No registered users and 19 guests