VendorLockHosting.com - Forum - PHP Software Questions & AnswersLearn about PHP, get answers to your questions, ask other members, find a fix or resolution to a php error or common problem. Ask the experts at the VendorLock Hosting Forum.https://vendorlockhosting.com/forum/list.php?3
Sun, 07 Jun 2020 01:54:29 -0700Phorum 5.2.23https://vendorlockhosting.com/forum/read.php?3,3,3#msg-3How to fix php_ini error in php software scripts (no replies)https://vendorlockhosting.com/forum/read.php?3,3,3#msg-3
that's because it is disabled on all shared web hosting servers these days. It is a high security risk for the entire
server, so that function in php is usually disabled. Fortunately most legit scripts don't really need the php_ini() line.

So the quick fix for this issue is to edit the script or file that is showing error. In most cases you can see what line
the error is on by reading the error code. Or use search in your browser or HTML editor for " php_ini "

When you find the line of code that start with php_ini just add two forward slashes to the beginning of that line.
That will "quote out" the line of code and the script will then skip over it when it runs, removing the error.

So now your line of code starts like

//php_ini()

Save the file like that, and then try the php script again and you should see the error is gone.
If you need more help please post here on the forum first, and one of our support staff will answer your question,
or perhaps one of the Vendor-Lock Hosting community members will have a quick answer for you.
We appreciate your participation on our forum to help make common questions and answers more available to the public.