If we have an account with UHB do we have a php.ini file that we can edit?
If we have an account with UHB do we have a php.ini file that we can edit?
Hi,
It's WHB
Yes, you can create your own php.ini file and edit it to your specifications. Just put it in the directory where the script is located.
How can I get a copy of the original WHB php.ini file?
As far as I understand I am resetting those to the default with my new php.ini file if I don't define them in there.
That's correct. You can obtain a copy by opening a Support ticket.
We have also created a small but knowledgeable PHP Tutorial you should check out.
Unless I'm mistaken, for many php sites, you would have to create a php.ini file in every directory. You might consider including a script on each page that checks the current directory for the .ini file and then create it if it does not exist.
Again, unless I'm mistaken, shared servers do NOT allow global php.ini access because that would interfere with other shared server users. Hope I could help clear that up.
If overrides are required, a php.ini would be needed only in each directory of the script or application. Once a local php.ini is installed, for that directory only the local php.ini will be used and not the server's php.ini.
I am not WHB staff and I am not paid.
I provide help in these forums on my own time.