Forums / Install & configuration / variables_order = "EGPCS"

variables_order = "EGPCS"

Author Message

Ben Adamson

Wednesday 06 January 2010 6:05:50 pm

Hi, i'm a big newbie to php and most online programming.

Call me old school, the last thing I did was C++ on the good ol pentium 1s.

I'm trying to get my site up and running through my server, and I've run into a barrier with configuration.

The message is

" 1. PHP does not register environment variables

PHP is currently not configured to register enviroment variables in the global variable $_ENV.

"

The forums have the answer just add " variables_order = "EGPCS" in php.ini "

My question is HOW do I add this command. I've tried pasting it into the config.php but I get nothing but errors.

Whats the syntax or method for adding this line of code?

It's not in the config.php-reccomended.

Thank you well in advance!

ben

Pablo Pernot

Thursday 07 January 2010 12:10:07 am

Hello,

look at php.ini and not config.php

php.ini has nothing to do with config.php from ez.

should be in /etc/php5/...

put a file let say call phpinfo.php with

<?php phpinfo(); // one line is enough

open it with you browser, and seek the php.ini : Configuration File (php.ini) Path

If you change something in the php.ini you need to restart your apache.

Pablo Pernot
http://www.smartview.fr
http://www.areyouagile.com