2.8 Editing your PHP configurationThis is NOT the latest copy of this book; click here for the latest version.
PHP gets its options from a file php.ini on your hard drive. If this does not exist, PHP assumes a default set of values, so it is best to set up a php.ini file to make sure you have PHP working as you want.
If you do not have access to your php.ini file, perhaps because you host your site elsewhere, you will need to hand set your PHP settings in each script, although there are limitations on how much you can change.
|
Want to see this stuff in print? PHP in a Nutshell takes the core topics covered here, adds in thousands of edits from the editorial team and myself, and combines them to make an unbeatable reference for PHP programmers at all levels.
My latest book has hundreds more tips on how to use PHP, Apache, and MySQL, plus Perl, Python, shell scripts, performance tuning, and more!
|