Dec
17th
Mon
17th
Installation of gettext
Download PHP-5.2.4 (or php-5.2.5) source code in PHP official site. or you can download it by using your Terminal.
cd /SourceCache
curl -O http://www.opensource.apple.com/darwinsource/10.5/apache_mod_php-43/php-5.2.4.tar.bz2
tar xzpf php-5.2.4.tar.bz2
cd /SourceCache/php-5.2.4/ext/gettext
sudo phpize
./configure
sudo make
sudo make install 4. Integration of gettext and PHP
Go to /etc and edit php.ini with your favorite editor (I like BBEdit). and add this line:
extension=gettext.so
and search this line in php.ini (VERY IMPORTANT)
extension_dir = “./”
Disable this line if this line is uncommented, just add a semicolon in front of this line.
Download PHP-5.2.4 (or php-5.2.5) source code in PHP official site. or you can download it by using your Terminal.
cd /SourceCache
curl -O http://www.opensource.apple.com/darwinsource/10.5/apache_mod_php-43/php-5.2.4.tar.bz2
tar xzpf php-5.2.4.tar.bz2
cd /SourceCache/php-5.2.4/ext/gettext
sudo phpize
./configure
sudo make
sudo make install 4. Integration of gettext and PHP
Go to /etc and edit php.ini with your favorite editor (I like BBEdit). and add this line:
extension=gettext.so
and search this line in php.ini (VERY IMPORTANT)
extension_dir = “./”
Disable this line if this line is uncommented, just add a semicolon in front of this line.