You are here: php.ini listed in phpinfo questions « PHP Programming Language « IT news, forums, messages
php.ini listed in phpinfo questions

Posted by Phil Latio on 10/04/07 06:54

I was trying to follow some instructions on installing Smarty and suddenly
found php.ini is not where phpinfo lists it to be.

1. Is /usr/local/lib the default location for the php.ini
2. In old versions of PHP, did php.ini install by default and not have to be
copied?

The thing is I've installed PHP on my own home servers for years and never
had the need to edit the php.ini file before (well I don't remember doing
so). Anyhow checking through the files, I see a file called php-config
resident in the scripts directory and it has been created (or last edited?)
when I installed PHP.

Am I correct in assuming that all I need to do is copy php-config to
/usr/local/lib and rename php.ini ?

Cheers

Phil

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация