Hi,
Bit of a newbie with regards to CPanal and WHM. How do I access my php.ini file if it is stored in /usr/local/lib/php.ini?
Thanks,
H.
Hi,
Bit of a newbie with regards to CPanal and WHM. How do I access my php.ini file if it is stored in /usr/local/lib/php.ini?
Thanks,
H.
Is this your server or one you have rented? If you are renting a hosting account you will only be able to make an override php.ini file for use on your sites.
regards,
George
Hey gtgeorge, thanks for the quick reply.
I have a virtual miniserver which has ssh access and I can run commands (not sure how though!).
However, I am fine on Windows, but a complete novice with *nix. I suppose I need to know how to run commands first.
Never mind, I appreciate that this is quite an ambiguous question. I will ask their support team if they can shed any light on what I need to/can do.
Thanks again for your time. I am sure with practice I will be able to master this *nux malarky!
Jamie.
Thank you for the help.
I will login and see how to lauch the equivalent of cmd prompt in my WHM control panel and try running the command to see what I get.
Thanks again - I appreciate your help as I am out on a limb here,
Jamie.
If you wish to edit the file, you can use
nano /usr/local/lib/php.ini
Might want to type nano --help first to make sure you can navigate the editor first.
EDIT: You may also make changes to the php.ini under Service Configuration>>PHP Configuration Editor in WHM
Last edited by gtgeorge; 03-20-2008 at 04:43 PM.
regards,
George
hi,
some new compile ea3 /usr/local/php4/lib/php.ini
create new php file
<?
phpinfo();
?>
upload your server and find php.ini directory path name.
regards,
Thanks for the reply. I have gained access to root now via SSH and can now edit the php.ini file.
Thanks for taking the time to reply for me.
Jamie.