problem editing php.ini
hi Everyone
for increasing the php memory size and other php parameters I created manually a php.ini using some text editor and I pasted the following in it and saved the file :::
safe_mode = Off
memory_limit = 256M
post_max_size = 256M
upload_max_filesize = 256M
despite that the changes don't affect the php parameters as they remain unchanged
could you please help
thanks
-
Hello, Please check which php.ini file is using for your website. You have to create phpinfo file and check php.ini file path. 0 -
Hello silue massaillon, You can try placing this in your public_html/.htaccess instead of creating a php.ini file. AllowOverride Options AllowOverride All safe_mode = Off memory_limit = 256M post_max_size = 256M upload_max_filesize = 256M 0 -
Hello, Please check which php.ini file is using for your website. You have to create phpinfo file and check php.ini file path.
hi @SysSachin I tried what you mentioned but the is the path is a linux path and I don't know how to access the path for accessing the right php.ini0 -
Hello silue massaillon, You can try placing this in your public_html/.htaccess instead of creating a php.ini file. AllowOverride Options AllowOverride All safe_mode = Off memory_limit = 256M post_max_size = 256M upload_max_filesize = 256M
hi daniel I tried this way too but still no affecting the php parameter.0 -
Hello silue, Do you have access to a WHM panel? If you do you can edit your php options in your WHM. I strongly advise writing down the default settings before editing. This way if something goes wrong you can easily go back to the original settings. WHM/Service Configuration/php configuration editor 0 -
Hello, Please check steps in mentioned below screen-shot for how to create custom php.ini for single account. prntscr.com/d3f01s Please try and update here if you have any query. 0 -
Hello, Please see the following post for information about editing the php.ini file in EasyApache 4: EA4 php.ini/local.ini behavior Thanks! 0
Please sign in to leave a comment.
Comments
7 comments