Softaculous


Topic : Can’t access/fix the php.ini file in my WordPress Installation


1

Posted By: stevenshaw on April 9, 2019, 11:43 am
So I have a WordPress site installed on a LiteSpeed v7.2 Server (used cPanel through WHM), I need to raise my max upload size to install a theme I purchased but my php.ini file is not to be found. I ran a php.info function, and it said my php.ini is at “/opt/cpanel/ea-php70/root/etc/php.ini” but I can’t even find the opt folder in root. I also don’t have the option to use MultiPHP ini editor in either CPanel or WHM (not sure why). Any advice would be greatly appreciated!



-----------------------
https://sarkariresult.onl/ https://pnrstatus.vip/ https://showbox.bio/

Posted By: wolke on April 9, 2019, 11:55 am | Post: 1
Not really related to virtualizor, you should contact cPanel support or use the cPanel community forum.
anyway, Just a few thoughts about that:
  1. make sure you enabled MultiPHP in your plans features
  2. make sure you are really logging in as root to access the /opt/[...] folder (from your description it sounds like you are logging in as cpanel user which may be caged or jailshelled.)


Edited by wolke : April 9, 2019, 11:55 am

Posted By: miyabhai101 on December 8, 2019, 10:28 am | Post: 2
f your changes to php.ini aren't taking, there are a few things to consider.

What settings are you trying to change?

What PHP handler is in use? Cgi, fcgid, suphp, fpm, lsapi, DSO... This might require root access to confirm, but knowing what the "Server API" says in a phpinfo page would potentially help.

Some handlers allow ini changes, some require in .user.ini, DSO requires the change to be in .htaccess

The ability for users to even have user level inis can be disabled by root as well.

I recommend contacting your provider, as that may be the quickest way to get this figured out. If you're able to answer some of the above let me know.

-----------------------
tubemate mobdro authorityapk

Posted By: STAYOMIR on January 20, 2020, 2:35 pm | Post: 3
you can with wordpress plugin, i have did on my wordpress site.

thank you so much

stayomir

Posted By: Wall-Tech on January 21, 2020, 6:35 pm | Post: 4
check that you access to /root/etc/php.ini ??


-----------------------
work together, earn together

https://hostbut.com

Posted By: bhaiterabhai on January 24, 2020, 7:25 pm | Post: 5
i think you should enable hidden files in control panel

Posted By: annejones101 on March 25, 2020, 5:47 pm | Post: 6
tried did not help any other solution? vlc.vin vidmateapp.vin 9appsapk.vin

Posted By: bhaiterabhai on April 11, 2020, 6:40 am | Post: 7
Are you doing this through the file manager or ssh? If cpanel allows you to send commands to the server you can try 'which php > /home/temp.txt ' and navigate to the temp.txt file within the gui. (This is assuming you have access to the home folder - try 'which php > /home/$USER/temp.txt' otherwise)
shareit vidmate

Posted By: behtarina on April 19, 2020, 3:14 pm | Post: 8
Thanks help me a lot

Posted By: mortimas on May 29, 2020, 4:01 am | Post: 9
i think you should enable hidden files in control panel

-----------------------
192.168.10.1 192.168.1.1 10.0.0.0.1

Posted By: mortimas on May 29, 2020, 4:02 am | Post: 10
Thanks help me a lot

-----------------------
192.168.10.1 192.168.1.1 10.0.0.0.1

Posted By: anyonealone on May 29, 2020, 2:59 pm | Post: 11
Search for hidden files in Cpanel. This will help.--





Posted By: markkevin123 on July 13, 2020, 12:31 pm | Post: 12
Log in to your web hosting account and go to cPanel.
Click on FILES -> File Manager.
Select “Document Root for:” from the Directory Selection and click on Go. ( ...
Go to your wp-admin folder.
Find a file called php.ini or php5.ini. ( ...
Open the php.ini file.

Posted By: namijack on July 22, 2020, 8:25 am | Post: 13
I am getting upload max error on my wordpress website. Can anyone please help me how to fix this error on my legal steriods website.

Posted By: flisterthree on December 25, 2020, 6:39 pm | Post: 14
Gonna try all these suggestions today but this is a great work around if I can't change the upload size. I'm thinking I might not need to upload any images over 2MB anyway so this could certainly be a solution.

Posted By: rakibulfb1 on January 9, 2021, 7:21 pm | Post: 15
I think you should enable hidden files in the control panel.

a

Posted By: rakibulfb1 on February 22, 2021, 10:13 am | Post: 16
I think you should enable hidden files in the control panel

symphony i10 flash file
symphony v96 flash file

Posted By: lukashik on February 25, 2021, 4:34 pm | Post: 17
There are many commands in the php.ini file, and each command is modified in WordPress. So we need to know where PHP.ini is located in WordPress. ... Otherwise, if PHP is installed as a module, it will be in the second place. The creation of the file .php may not always work , and you will have to use other methods to find the location of the php.ini file.

-----------------------
GB WhatsApp - Best Messenger of the Year

Posted By: Chopra on March 6, 2021, 12:21 pm | Post: 18
Thank you so much for the post you do. I like your post and all you share with us is up to date and quite informative, i would like to bookmark the page so i can come here again to read you, as you have done a wonderful job.

-----------------------
Watch Anime online
Money Heist Season

Posted By: unicornn on March 8, 2021, 3:14 am | Post: 19
I feel very happy reading your share! thank you!


Posted By: lukashik on April 26, 2021, 7:18 am | Post: 20
I also struggled with using WordPress before, but then decided to change the engine to DLE. If you know even a little the basic concepts of HTML, then you definitely won't know any problems with it. Most importantly, it is very fast.

-----------------------
GB WhatsApp - Best Messenger of the Year

Posted By: Chopra on April 30, 2021, 3:53 pm | Post: 21
Attack on titans anime is one of the best japanese popular anime tv show.It also reflects the watch attack on titan dubbed
Xmen Movies
https://myvestigeproduct.com/

-----------------------
Watch Anime online
Money Heist Season

Posted By: Chopra on October 17, 2021, 2:36 am | Post: 22
The php.ini should be in the wp-admin directory, if it isn't just create it and then define whats needed, by default it should contain.
one punch man season 2 dub
home
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300

-----------------------
Watch Anime online
Money Heist Season

Posted By: wolke on October 17, 2021, 7:38 am | Post: 23
Quote
one punch man season 2 dub home


really? seriously? Is it possible that your device is infected?

Posted By: Chopra on November 2, 2021, 7:54 am | Post: 24
Quote From : stevenshaw April 9, 2019, 11:43 am
So I have a WordPress site installed on a LiteSpeed v7.2 Server (used cPanel through WHM), I need to raise my max upload size to install a theme I purchased but my php.ini file is not to be found. I ran a php.info function, and it said my php.ini is at “/opt/cpanel/ea-php70/root/etc/php.ini” but I can’t even find the opt folder in root. I also don’t have the option to use MultiPHP ini editor in either CPanel or WHM (not sure why). Any advice would be greatly appreciated!



Try This hope it will help
I see this question so much! everywhere I look lacks the real answer.

The php.ini should be in the wp-admin directory, if it isn't just create it and then define whats needed, by default it should contain.

upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300

-----------------------
Watch Anime online
Money Heist Season

Posted By: Chopra on November 24, 2021, 7:24 am | Post: 25
Thanks help me a lot

-----------------------
Watch Anime online
Money Heist Season

Posted By: marialovely on December 6, 2021, 6:07 am | Post: 26
user. ini and the custom configuration files are used on a per-directory basis, so you should be able to either put it in the root of your Wordpress installation or under the wp-admin folder Twacy

Posted By: adsloye on December 13, 2021, 3:38 am | Post: 27
The Emirates Identity Authority inquires about the id card status [/url] check of the applied application

Posted By: John112233 on January 4, 2022, 2:35 pm | Post: 28
Are you doing this through the file manager or ssh? If cpanel allows you to send commands to the server you can try 'which php > /home/temp.txt ' and navigate to the temp.txt file within the gui. (This is assuming you have access to the home folder - try 'which php > /home/$USER/temp.txt' otherwise)

Posted By: Whatapk on January 12, 2022, 3:33 pm | Post: 29
Now you can download the latest and updated version of SF Girls MOD APK

Posted By: Arsh_gabbi on February 5, 2022, 5:23 pm | Post: 30
Thanks help me a lot


-----------------------
f95zone - uwatchfree

Posted By: Whatapk on February 5, 2022, 5:24 pm | Post: 31
Check https://whatapk.net/yareel-3d-mod-apk/

Posted By: unogamerules on May 10, 2022, 5:23 pm | Post: 32
Thanks you

Posted By: elinvid on June 17, 2022, 12:01 pm | Post: 33
I also struggled with using WordPress before, but then decided to change the engine to DLE.

Posted By: Topbnom on September 5, 2022, 5:30 am | Post: 34
navigate to the temp.txt file within the gui. (This is assuming you have access to the home folder - try 'which php
I need to raise my max upload size to install a theme I purchased but my php.ini file is not to be found

Posted By: Roselin on October 17, 2022, 2:19 am | Post: 35
good

Posted By: marialovely on March 12, 2023, 5:50 am | Post: 36
to fix the php file is very easy you just have to understand the whole method so it will be very easy for you to fix https://instapro-apk.com/

Posted By: seotoko on July 12, 2023, 10:04 pm | Post: 37
you can with wordpress plugin, i have did on my wordpress site.

-----------------------
VidMate Momix

Posted By: AlvinJohnson on December 12, 2023, 12:45 am | Post: 38
you can with wordpress plugin, i have did on my wordpress site.

-----------------------
https://vidmate.click | https://myfiosgateway.win/

Posted By: bennypal on January 30, 2024, 12:30 pm | Post: 39
Download the BGMI APK for Android for free. Discover the latest version of Battlegrounds Mobile India, the popular battle royale.

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.