Re: [PHP] newbie2

2003-04-03 Thread Marek Kilimajer
You need to restart http server, php is loaded usually as module.
For apache on unix:
apachectl restart
or
/etc/init.d/httpd restart
on windows close the apache console and start apache again
Ilyas wrote:

It is an online shop : oscommerce

How can I restart Php? Any ideas???

Ilyas
At 06:42 02.04.2003 -0500, you wrote:
fatal error? What gave you this? Enabling it might not be a good 
idea, for
security.
.. but if you want to enable it you have to editing the php.ini and set
register_globals to ON.

cheers,
- Sebastian
- Original Message -
From: Ilyas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 6:32 AM
Subject: [PHP] newbie2
| FATAL ERROR: register_globals is disabled in php.ini, please enable 
it!
|
| How can I make this?
|
| Thanks...
|
|
| --
| PHP General Mailing List (http://www.php.net/)
| To unsubscribe, visit: http://www.php.net/unsub.php
|

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] newbie2

2003-04-02 Thread Ilyas
FATAL ERROR: register_globals is disabled in php.ini, please enable it!

How can I make this?

Thanks...

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] newbie2 php.ini

2003-04-02 Thread Chris Hayes
At 13:32 2-4-03, you wrote:
FATAL ERROR: register_globals is disabled in php.ini, please enable it!

How can I make this?
First question would be: do i want this? Since PHP 4.10 the 
register_globals is turned off by default, see the release notes at 
http://www.php.net/release_4_1_0.php .

Second question: do you have access to php.ini? If not, ask your host to 
set it.

If you do have your own server, find php.ini, it is typically on the 
location you specified on installation (if you read the instructions), or 
else in
WINDOWS: c:/windows/php.ini  or do a search for file php.ini
LINUX: /etc/ (something)/php.ini with (something) depending on your 
unix/linux type.  try typing: where php.ini

In php.ini find the line that says register_globals=Off
and now change Off to ON.
Have a carefull look at the other options too. Change what you want to change.
Now, unless you know PHP runs as a CGI script, restart your server to make 
the changes have effect. 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] newbie2

2003-04-02 Thread Sebastian
fatal error? What gave you this? Enabling it might not be a good idea, for
security.
.. but if you want to enable it you have to editing the php.ini and set
register_globals to ON.

cheers,
- Sebastian

- Original Message -
From: Ilyas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 6:32 AM
Subject: [PHP] newbie2


| FATAL ERROR: register_globals is disabled in php.ini, please enable it!
|
| How can I make this?
|
| Thanks...
|
|
| --
| PHP General Mailing List (http://www.php.net/)
| To unsubscribe, visit: http://www.php.net/unsub.php
|


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] newbie2

2003-04-02 Thread Ilyas
It is an online shop : oscommerce

How can I restart Php? Any ideas???

Ilyas
At 06:42 02.04.2003 -0500, you wrote:
fatal error? What gave you this? Enabling it might not be a good idea, for
security.
.. but if you want to enable it you have to editing the php.ini and set
register_globals to ON.
cheers,
- Sebastian
- Original Message -
From: Ilyas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 6:32 AM
Subject: [PHP] newbie2
| FATAL ERROR: register_globals is disabled in php.ini, please enable it!
|
| How can I make this?
|
| Thanks...
|
|
| --
| PHP General Mailing List (http://www.php.net/)
| To unsubscribe, visit: http://www.php.net/unsub.php
|
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php