Re: Problem with php.ini file



On Sep 25, 3:24 pm, Geevaa <govivasa...@xxxxxxxxx> wrote:
John wrote:
Hello,

I'm trying to install a script and it needs register_globals = on.

I know about the security risk etc. and it should be off, but the
script will not run with it off.

I contacted my hosting company because I couldn't find the php.ini
file. They told me to create one and put it in the root.

The problem is I don't know exactly what is the root with all the
different folder.

etc 755
logs 750
mail 770
public_ftp 755
public_html 750
tmp 755
www 750
Create New File
.bash_logout 0 k 0644
.bash_profile 0 k 0644
.bashrc 0 k 0644
.contactemail 0 k 0644
.cpanel-ducache 0 k 0600
.emacs 0 k 0644
.ftpquota 0 k 0600
.lastlogin 0 k 0600
.zshrc 0 k 0644
php.ini 0 k 0644 <-------------- I put it here

I have one line register_globals = on in the php.ini file.

When I try phpinfo.php to show what is set, it shows that the
registered globals are still off. I tried putting it in www and then
public_html and then also tried to put in my add on domain folder, but
none worked.

Any help would be appreciated.

Thanks!

php.ini may be in the path etc/php.ini

Is this path is not getting displayed by the phpinfo() method in the
browser..???

it should be /etc/php.ini

.



Relevant Pages

  • Re: "Permission Denied" error for root user when perms are 0775?
    ... I downloaded an svn version of mythtv, cd'd to the folder, and tried to run './configure --help', Got a 'Permission Denied' error. ... I am root and the permissions were and are 0775...chmod changes nothing, ... The directory is on a 'rw' partition, since I just downloaded to it, using a script. ...
    (Fedora)
  • RE: Location of web root
    ... Subject: Location of web root ... during install) pointing out that a Custom install will allow for a more ... in a different folder off C:. ... were the script kiddie, how would you exploit the machine. ...
    (Security-Basics)
  • Re: redirecting "My Documents" question....
    ... When the login script and the policy runs, the my documents ends up here ... So, the root of my documents is right in the root of the share, what I need ... drive with Net use command and i have a policy that sets folder ...
    (microsoft.public.windows.server.general)
  • Re: "Permission Denied" error for root user when perms are 0775?
    ... I downloaded an svn version of mythtv, cd'd to the folder, and tried to run './configure --help', Got a 'Permission Denied' error. ... I am root and the permissions were and are 0775...chmod changes nothing, ... The directory is on a 'rw' partition, since I just downloaded to it, using a script. ...
    (Fedora)
  • Re: Very Annoying Permissions
    ... session, not a user session. ... Running the script under a local computer session ... To find out when a user logs on and logs off, ... the value of file names in the log folder. ...
    (microsoft.public.windows.file_system)