This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

PHP.INI
#1
PHP.INI
I am new to the forum and Sentora and VPS as well. I have an Ubuntu 14.04 64 Droplet on Digital Ocean.
I don't have much of a clue as to what I'm doing but am trying to locate my php.ini file to raise the values so I can import my SQL database for one of my sites. I installed Sentora in panel.mydomain.com and have added ELFileManager rfor the root but am missing where Sentora files live specifically php.ini Any help getting pointed in the right direction would be appreciated.
Reply
Thanks given by:
#2
RE: PHP.INI
As you are using ubuntu:

http://askubuntu.com/questions/356968/fi...p-ini-file

We use system php.ini
everything under: /etc/php5/
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by: ericwwheeler
#3
RE: PHP.INI
[attachment=410 Wrote:Me.B pid='15446' dateline='1456244418']As you are using ubuntu:

http://askubuntu.com/questions/356968/fi...p-ini-file

We use system php.ini
everything under: /etc/php5/

"
Code:
/etc/php5/apache2/php.ini
 is for the PHP plugin used by Apache. This is the one you need to edit for changes to be applied for your Apache setup."

I edited the /etc/php5/apache2/php.ini file nd changed the max upload to 20M (my Wordpress SQL file is 8M) but am still getting the error in phpMyAdmin as shown in picture below. I also tried uploading it using wget with cadaver through Box.com to /var/sentora/temp but that didn't work either. I'm missing something somewhere or I edited the wrong php.ini file Huh


Attached Files Thumbnail(s)
   
Reply
Thanks given by:
#4
RE: PHP.INI
did you restart apache after the change?

Check phpinfo() for to confirm php settings.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by: ericwwheeler
#5
RE: PHP.INI
There is more to edit than just the max_upload:
memory_limit = 32M
upload_max_filesize = 10M
post_max_size = 20M


http://www.cyberciti.biz/faq/linux-unix-...oad-limit/

Although, for large database importing, you should use BigDump or similar.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#6
RE: PHP.INI
(02-24-2016, 03:34 AM)Me.B Wrote: did you restart apache after the change?

Check phpinfo() for to confirm php settings.

Ahhhhhh  Big Grin details...we learn as we go. thank you for your kindness is replying. Restart of apache was what the doctor ordered.
Reply
Thanks given by:
#7
RE: PHP.INI
also some time check .htaccess as you can set limits there too. I saw it in some packages.

Fine so issue resolved.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by: ericwwheeler


Forum Jump:


Users browsing this thread: 1 Guest(s)