![]() |
|
|
|
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| PHP / MySQL Assistance We understand. Not all of you are experienced programmers, but some of you are highly skilled at coding. So we've set aside this forum so you can ask questions, and provide answers to the most commonly asked PHP / MySQL issues. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
So by default:
/home/<user>/public_html/ so your php.ini is in your /public_html/ -is this where the content you're having problems with is? or do you need it in a specific folder? since the php.ini needs to be in a specific folder to apply the changes... so if you're having issues in /public_html/apple/ your php.ini should be in /apple/
__________________
Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket. |
|
||||
|
The scripts that are generating the warnings are in subfolders of my public_html folder, but I thought that if I ran phpinfo() in my public_html folder and it showed no functions were disabled, there was no way there would be any disabled in subfolders that had no php.ini in them.
I was using the public_html folder to determine how to enable the functions as my server configuration won't allow me to view phpinfo() from the actual subfolders involved. My questions are:
Thanks |
|
||||
|
THat's pretty cool. Not many hosts allow custom php.ini files in folders. Nice to know.
__________________
█ HostICan Discount - New customer? Save $50 on your HostICan hosting purchase! █ HostICan Hosting Reviews - See what other customers say about HostICan. █ Simple Hosting - Web Hosting Made Simple! |
|
||||
|
Quote:
1. look at point number 2. 2. Yes, I would try this, place a php.ini file in the sub folder that you have the script in, that way it should apply that feature. (it maybe a security hole that was fixed in the latest verion of PHP5 (not sure). Let us know how that goes....
__________________
Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket. |
|
||||
|
I'm not sure I understand what you're asking me to do, and I still haven't found out how to enable a function. I can't find anything in the PHP manual that describes how to do so.
So, I created a php.ini that has the single line: Code:
disable_functions = "" I still get the warnings: Quote:
Quote:
|
|
||||
|
Try with a full php.ini file and upload it to the subdirectory where you have your scripts. If there's no luck, I will ask one of the guys here to check on it for you.
__________________
Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket. |
|
||||
|
I uploaded a full php.ini including the line:
Quote:
It looks like this problem began somewhere between 9/5 and 9/12. It was definitely working on 9/5, and definitely wasn't working on 9/12. I made no changes at this end, if that helps narrow down the possible reason shell_exec() and escapeshellarg() have been disabled. Maybe you could have whoever works on it email or PM me for the domain name and other site-specific info if you need it? |
|
|||
|
Take the php.ini file from the ZIP archive I've attached and put it (just to be absolutely sure) into the folder where the PHP file you call is and also into the folder where the file that tries to use those two functions is located (unless these the two folders or even files are the same, of course). The name and location of the latter file is mentioned in the error messages you receive.
This should fix your problem. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|