[FX.php List] How to edit PHP settings

Derrick Fogle derrick at fogles.net
Sun Jan 6 10:54:17 MST 2008


Search for your PHP.ini file: In MacOS, open terminal and type: locate  
php.ini

There's a good chance you'll only find a php.ini.default file. If so,  
duplicate it and rename the duplicate to just php.ini. If you find  
several, you'll have to figure out for sure which one is the real  
file. I'd recommend emailing back with more info (OS, Apache version,  
PHP version, where the files were found, etc.) if that's the case.

Once you've located (or created) the right php.ini file, you'll need  
to edit it, save the changes, and restart your web services. I use  
BBEdit in MacOS GUI, Pico in terminal, or whatever plain text editor  
floats your boat for Windows.

You'll need admin privs, but it should be easy finding and changing  
the short_open_tags directive. You'll do well to browse through the  
file and familiarize yourself with the rest of the directives in the  
file, too.

More info on the PHP.ini file directives can be found at http://php.net.

Good luck!

On Jan 6, 2008, at 11:37 AM, Bob Patin wrote:

> I'm trying to find out how to change a setting in my PHP install,  
> but having never done it in my web servers, am stuck.
>
> I want to change short_open_tags to FALSE; can anyone tell me  how  
> to do that?
>
> Thanks,
>
> Bob Patin
> Longterm Solutions
> bob at longtermsolutions.com
> 615-333-6858
> http://www.longtermsolutions.com
> Member of FileMaker Business Alliance and FileMaker TechNet
>
>  CONTACT US VIA INSTANT MESSAGING:
>     AIM or iChat: longterm1954
>     Yahoo: longterm_solutions
>     MSN: tech at longtermsolutions.com
>     ICQ: 159333060
>
> --------------------------
> Contact us for FileMaker hosting and programming for all versions of  
> FileMaker
> PHP • CDML • Full email services • Free DNS hosting • Colocation •  
> Consulting
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list