Is there ANY way of viewing the server config information if the use of phpinfo() has been disabled?

I administer/manage an intranet behind a firewall on an internal server where they have disabled it "for security reasons". As the admin for the site, I don't know how not having access to this information will be anything but a hinderance if I plan to implement new things for the site.

Can anyone help?

    if you have shell access, and can find the php binary, then:

    $ php -i

      Thanks ... I'll try that at work tomorrow and see if that works.

        Don't have permissions for the location where php is installed. Any other options or am I SOL?

          sounds like you are gonna have a hard time doing anything since they aren't giving you ANY control over the server at all

          do they want static pages or what

          just have them take off the disable feature and upload and delete the file as you need to view the information

            Well, the best thing to do, IMHO, is to complain to the people that have disabled it, and if they won't budge, complain to their managers. That's just ridiculous to not give the developer access to that function.

            If they won't budge at all with that, then you should be able to use a few other functions to get the info you need. All of the functions that pertain to php options and information are documented here: http://us3.php.net/manual/en/ref.info.php . For example, if you want to know what modules (extensions) are available you could run get_loaded_extensions(). That is... if they haven't disabled that as well.

              Thanks guys! That is where I'm going with this Monday. Will also try out some stuff as suggested above.

                Write a Reply...