Re: [PHP] Php.ini on Solaris?
644 should be fine. I don't know about you, but for some reason on my linux box, I can't get $HTTP_POST_VARS or $_POST to work at all. it sends the value wrong. If I were you'd change the form method=post to method=get and then use $HTTP_GET_VARS or $_GET and see if it works. I think there is a bug with method=POST in php 4.2.2. Adam On Thu, 15 Aug 2002, Randall Perry wrote: > Thanks. I put it in /usr/local/lib and turned register_globals On (I plan on > setting it off after I rewrite all my scripts and give my hosting clients > notice and time to rewrite theirs). > > But, it's still not passing vars (though $HTTP_POST_VARS[] works ok). Is > their something else I need to do to get it to read the php.ini? Php.ini is > owned by root -- tried both 644 and 755 permissions. > > > rename php.ini-dist thats with the php source code to php.ini and copy it > > to /usr/local/lib > > > > Adam > > > > On Thu, 15 Aug 2002, Randall Perry wrote: > > > >>> is usually in /usr/local/lib > >> > >> > >> Ok, just reinstalled 4.2.2 to make sure I didn't miss anything -- it didn't > >> install any php.ini file (although phpinfo() says it's location is > >> /usr/local/lib). > >> > >> Should I just create one from scratch? > >> > >> > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Php.ini on Solaris?
Thanks. I put it in /usr/local/lib and turned register_globals On (I plan on setting it off after I rewrite all my scripts and give my hosting clients notice and time to rewrite theirs). But, it's still not passing vars (though $HTTP_POST_VARS[] works ok). Is their something else I need to do to get it to read the php.ini? Php.ini is owned by root -- tried both 644 and 755 permissions. > rename php.ini-dist thats with the php source code to php.ini and copy it > to /usr/local/lib > > Adam > > On Thu, 15 Aug 2002, Randall Perry wrote: > >>> is usually in /usr/local/lib >> >> >> Ok, just reinstalled 4.2.2 to make sure I didn't miss anything -- it didn't >> install any php.ini file (although phpinfo() says it's location is >> /usr/local/lib). >> >> Should I just create one from scratch? >> >> > -- Randy Perry sysTame Mac Consulting/Sales phn 772.589.6449 mobile email[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Php.ini on Solaris?
rename php.ini-dist thats with the php source code to php.ini and copy it to /usr/local/lib Adam On Thu, 15 Aug 2002, Randall Perry wrote: > > is usually in /usr/local/lib > > > Ok, just reinstalled 4.2.2 to make sure I didn't miss anything -- it didn't > install any php.ini file (although phpinfo() says it's location is > /usr/local/lib). > > Should I just create one from scratch? > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Php.ini on Solaris?
> is usually in /usr/local/lib Ok, just reinstalled 4.2.2 to make sure I didn't miss anything -- it didn't install any php.ini file (although phpinfo() says it's location is /usr/local/lib). Should I just create one from scratch? -- Randy Perry sysTame Mac Consulting/Sales phn 772.589.6449 mobile email[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Php.ini on Solaris?
is usually in /usr/local/lib > -Original Message- > From: Randall Perry [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 15 August 2002 11:58 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Php.ini on Solaris? > > > Just compiled Apache 1.3.26 with latest php and discovered my > form variables > weren't getting thru to php scripts. > > Looked through archives and found ref to register_globals setting in > php.ini. Only trouble is, I can't find php.ini on my server (except in the > php source code folder). > > Where should it be? > > -- > Randy Perry > sysTame > Mac Consulting/Sales > > phn 772.589.6449 > mobile email[EMAIL PROTECTED] > > > > -- > 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] Php.ini on Solaris?
Run a script with phpinfo() in it, and it should tell u the path to the php.ini file for your installation. It will be different for everyone. For what it's worth, you should look to having register globals OFF in your scripts as a short term goal, using the $_POST, $_GET, $_COOKIE, $_SESSION etc etc global arrays. It will ensure safer, more reliable scripts. Justin French on 15/08/02 11:58 AM, Randall Perry ([EMAIL PROTECTED]) wrote: > Just compiled Apache 1.3.26 with latest php and discovered my form variables > weren't getting thru to php scripts. > > Looked through archives and found ref to register_globals setting in > php.ini. Only trouble is, I can't find php.ini on my server (except in the > php source code folder). > > Where should it be? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Php.ini on Solaris?
Just compiled Apache 1.3.26 with latest php and discovered my form variables weren't getting thru to php scripts. Looked through archives and found ref to register_globals setting in php.ini. Only trouble is, I can't find php.ini on my server (except in the php source code folder). Where should it be? -- Randy Perry sysTame Mac Consulting/Sales phn 772.589.6449 mobile email[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php