Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- where is php.ini for the PHP CLI binary?
August 13, 2010, 7:27 pm
rate this thread
echo "hello, world!";
That produces the following:
PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3
and greater in Unknown on line 0
PHP Warning: Directive 'register_long_arrays' is deprecated in PHP
5.3 and greater in Unknown on line 0
I'd like to update my php.ini file to make those errors go away but
don't know where it is. Any ideas as to how I could go about finding
Re: where is php.ini for the PHP CLI binary?
It is/should be in the root directory where your index.php document is
stored. Check with your ISP to confirm that the file is named php.ini.
Mine, for example, is named php5.ini, and everything failed miserably
before I properly named it.
Do you have #!bin/php in the [pagename].php document? Try removing it.
- Captain Paralytic
August 16, 2010, 10:45 am
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum