Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 541
  • Last Modified:

enable global variables in php


I am tracking down a problem that I referenced in Q_21824725.html

I have just moved to a new server and apparently I cannot use global variables as I used to.  I would like to reenable this as it was in teh past.

I guess that there is a setting called global_variables that is set to "off" by default.  How do I set this to "on"?  I have root access on this server so there should be no problem with me being able to change this setting if I knew how.

Thanks very much.

Schuyler Kuhl
Schuyler Kuhl
1 Solution
Then you could best look for it in your php.ini.

When you have multiple domains on your server and are running apache, you can also set this in the vhosts section of your apache conf.

Schuyler KuhlAuthor Commented:
Yes this is exactly correct.

On this server in question I found this file in /usr/local/lib

Thanks again.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now