PDA

View Full Version : trying to install rss, ran into language problem



piplio
06-23-2005, 12:05 PM
yoyoyo.

i tried to install a rss reader, but it can't read the feeds because it doesn't understand the language (tw, cn, jp, kr type) so i emailed the MAN, and the MAN told me that i have to install

mbstring + iconv with my php

now i looked at the config file for php and i found a bunch

(/usr/local/Zend/etc/php.ini
/usr/local/directadmin/customapache/php-4.3.10/pear/tests/php.ini
/usr/local/directadmin/customapache/php-4.3.10/php.ini-dist
/usr/local/directadmin/customapache/php-4.3.10/php.ini-recommended
/usr/local/lib/php.ini
)


i didn't know which one to modify so i modified /usr/local/lib/php.ini to test

i "believe" that i enabled mbstring in the .ini file by commenting out the ####s, but when i do php.info, it is still not showing up there, do i have to restart php? how do i do that?

i haven't spotting iconv in the .ini file, does it mean that i have to reconfigure php and recompile it again?

if so, i would rather install php5, but how can i uninstall my current php4 and install php5 without breaking anything? !!!

anyone has any good experience with it?

thanks in advance.

pip

jmstacey
06-23-2005, 04:39 PM
Updating php has already been covered in the version updates forum.

You will need to recompile php with those modules.
The php website contains installation instructions. Use those instructions in reference to these
http://help.directadmin.com/item.php?id=23

piplio
06-24-2005, 06:49 AM
i found out that freebsd is a POSIX-compliant system, so i don't have to install iconv, and for mbstring, i have to compile it with "enable" not "with"

anyhow,

i got to this point

./build clean
./build php

an error message saying

bash# ./build clean
bash: ./build: cannot execute binary file
bash# ./build php
bash: ./build: cannot execute binary file


what to dooooo next? :)

jmstacey
06-25-2005, 09:26 PM
build isn't a binary file. You didn't make any modifications to it did you?
Try deleting it and fetching a new copy from DirectAdmin's fileserver.

wget http://files.directadmin.com/services/customapache/build