Re: globals on globals off (help
| From: | Brad Pauly | Date: | Tue, 16 Sep 2003 22:23:56 +0000 |
| Subject: | Re: globals on globals off (help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-162796@lists.php.net to get a copy of this message | ||
Frank Tudor wrote:
This is more for a linux group post but I know someone can provide enlightenment on this issue. I have the latest version of apache and php I have created my entire sie in a foxserv environment on windows but my production environment is on mandrake linux 9.1 The globals are set to off but i'll be damned if I know where I can set them to on. I found a php.ini-dist and a php.ini-recommended file but changing these files does nothing. can someone give me some give me a hand with this?Create a script that outputs phpinfo(). <?php echo phpinfo(); ?> This will tell you where the php.ini file should be (it probably isn't there right now). Copy php.ini-recommended to the location that phpinfo() told you it was, and name it php.ini. Make the necessary changes to php.ini. Restart Apache. You should be all set. - Brad