increasing memory of php.ini on virtual server – can someone explain this to me?
-
hello everyone,
i had been having a problem for a little while with one of my blogs prompting download of php files instead of running them, meaning that i basically can’t use most of the dashboard.
after searching the forums here i found this thread:
https://www.ads-software.com/support/topic/95787?replies=5and this article:
https://www.jarrodgoddard.com/blog/wordpress-prompting-to-download-files-instead-of-displaying-themwhich suggest increasing the memory on the php.ini file.
i got in touch with my hosts and thry sent me this reply:You will need to SSH to your server as the root user and edit the php.ini file which is located in the directory below and change or add the setting ‘memory_limit = xxM’ where xx is equal to the amount of megabytes you wish to allocate.
‘/etc/php.ini’
I have provided instructions on how to SSH to your server below:
To access your server through SSH, use the IP address(es) for your server and log in with your username and password:
User ID:
This is the User ID you defined when you set up your accountPassword:
Use the password you defined when you set up your accountNOTE: You can find the IP address(es) for your virtual dedicated server in your Virtual Dedicated Hosting Manager.
If you do not have an SSH client, you can download the Putty SSH freeware client at: https://www.chiark.greenend.org.uk/~sgtatham/putty/
Some functionality requires root access. You cannot log in to your server remotely using ‘root’. You will need to use the su command. The su (short for substitute user) command makes it possible to log in as root temporarily while you are logged in with your normal User ID.
To use su for root access, type:
su –
Your root password is the same as the password for your normal User ID.
i have (i think!) managed to connect as root through the ssh on the simple control pannel that comes with my godaddy virtual server but i am absolutely stumped as to what next..
what i am looking for (and i know it is a big ask but i will love you forever and bake you virtual cookies) is someone who will explain to me in baby steps what i need to do becuse i don’t have a clue and am really worried about doing something BAD to my server..
i have tried searching google and the tutorial files on godaddy but nothing i have found has explained the process from start to finish without assuming a degree of knowledge i don’t have.
thank you for taking the time to read this, any help will be greatly apreciated..
- The topic ‘increasing memory of php.ini on virtual server – can someone explain this to me?’ is closed to new replies.