Re: [PHP] php installation problem
Dear Richar! I already told you there is no iconv or iconv-devel installed on my first box then whey I need on second box? Regrads, Umar Draz Richard Lynch wrote: Perhaps you don't have iconv and/or iconv-devel installed on the second box? On Sun, January 27, 2008 2:54 am, Umar wrote: Dear Members! I have installed php-5.2.5 on slackware 12.0 with these option successfully ./configure --prefix=/usr/local/php --with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/apache/conf --with-pcre-regex --with-layout=GNU --enable-sysvshm --enable-shmop --enable-sysvmsg --enable-sysvsem --enable-exif --enable-ftp --enable-safe-mode --enable-bcmath --disable-debug --enable-sockets --enable-force-cgi-redirect --with-gettext --with-zlib --with-gd --enable-gd-native-ttf --disable-rpath --enable-mbregex --with-bz2 --with-mime-magic --enable-calendar --enable-inline-optimization --enable-magic-quotes --enable-wddx=shared --with-ncurses=shared --with-xmlrpc --with-regex=system --with-pear --with-curl --with-gmp --with-png-dir=/usr/local --enable-mbstring --with-jpeg-dir=/usr/local --with-pic --with-mm=/usr/local --with-libexpat-dir=/usr/local --with-xsl=/usr/local --with-mcrypt --with-mhash --with-ldap=/usr/local/ldap Now I am trying to install php-5.2.5 on another slackware 12.0 with same options but i got error on make ext/gd/libgd/.libs/gdkanji.o: In function `do_convert': /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/gd/libgd/gdkanji.c:350: und efined reference to `libiconv_open' /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/gd/libgd/gdkanji.c:365: und efined reference to `libiconv' /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/gd/libgd/gdkanji.c:381: und efined reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `_php_iconv_strlen': /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:603: undefine d reference to `libiconv_open' /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:626: undefine d reference to `libiconv' /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:660: undefine d reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `php_iconv_string': /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:441: undefine d reference to `libiconv_open' /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:453: undefine d reference to `libiconv' /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:467: undefine d reference to `libiconv' /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:478: undefine d reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `_php_iconv_strpos': /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:851: undefine d reference to `libiconv_open' /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:879: undefine d reference to `libiconv' /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:993: undefine d reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `_php_iconv_appendl': /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:348: undefine d reference to `libiconv' /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:385: undefine d reference to `libiconv' ext/iconv/.libs/iconv.o: In function `_php_iconv_substr': /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:723: undefine d reference to `libiconv_open' /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:747: undefine d reference to `libiconv' /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:802: undefine d reference to `libiconv_close' /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:806: undefine d reference to `libiconv_close' /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:755: undefine d reference to `libiconv_open' ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_decode': /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:1354: undefin ed reference to `libiconv_open' /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:1465: undefin ed reference to `libiconv_close' /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:1468: undefin ed reference to `libiconv_open' /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:1823: undefin ed reference to `libiconv_close' /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:1826: undefin ed reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_dtor': /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:2465: undefin ed reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_encode': /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:1043: undefin
[PHP] php installation problem
/php] Error 1 Now please help what should i do? systems are both slackware 12.0 php version same php installation paraments same then why this error message appears. Kind Regards, Umar Draz -- View this message in context: http://www.nabble.com/php-installation-problem-tp15117164p15117164.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php installation problem
Hi Andres! Thanks for your reply.. That is intresting there is no libiconv or icon installed on my First Slackware machine where I have successfully installed php. But there is a libiconv installed on second Slackware machine. Regards, Umar Draz Andrés Robinet wrote: -Original Message- From: Andrés Robinet [mailto:[EMAIL PROTECTED] Sent: Sunday, January 27, 2008 11:03 AM To: php-general@lists.php.net Subject: RE: [PHP] php installation problem -Original Message- From: Umar [mailto:[EMAIL PROTECTED] Sent: Sunday, January 27, 2008 3:55 AM To: php-general@lists.php.net Subject: [PHP] php installation problem Dear Members! I have installed php-5.2.5 on slackware 12.0 with these option successfully ./configure --prefix=/usr/local/php --with- apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/apache/conf --with-pcre-regex --with-layout=GNU --enable-sysvshm --enable-shmop --enable-sysvmsg --enable-sysvsem --enable-exif --enable-ftp --enable-safe-mode --enable-bcmath --disable-debug --enable-sockets --enable-force-cgi- redirect --with-gettext --with-zlib --with-gd --enable-gd-native-ttf -- disable- rpath --enable-mbregex --with-bz2 --with-mime-magic --enable-calendar --enable-inline-optimization --enable-magic-quotes --enable- wddx=shared --with-ncurses=shared --with-xmlrpc --with-regex=system --with-pear --with-curl --with-gmp --with-png-dir=/usr/local --enable-mbstring --with-jpeg-dir=/usr/local --with-pic --with-mm=/usr/local --with-libexpat-dir=/usr/local --with-xsl=/usr/local --with-mcrypt --with-mhash --with-ldap=/usr/local/ldap Now I am trying to install php-5.2.5 on another slackware 12.0 with same options but i got error on make ext/gd/libgd/.libs/gdkanji.o: In function `do_convert': /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext/gd/libgd/gdkanji.c:350: und efined reference to `libiconv_open' /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext/gd/libgd/gdkanji.c:365: und efined reference to `libiconv' /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext/gd/libgd/gdkanji.c:381: und efined reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `_php_iconv_strlen': /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext/iconv/iconv.c:603: undefine d reference to `libiconv_open' /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext/iconv/iconv.c:626: undefine d reference to `libiconv' /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext/iconv/iconv.c:660: undefine d reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `php_iconv_string': /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext/iconv/iconv.c:441: undefine d reference to `libiconv_open' /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext/iconv/iconv.c:453: undefine d reference to `libiconv' /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext/iconv/iconv.c:467: undefine d reference to `libiconv' /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext/iconv/iconv.c:478: undefine d reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `_php_iconv_strpos': /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext/iconv/iconv.c:851: undefine d reference to `libiconv_open' /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext/iconv/iconv.c:879: undefine d reference to `libiconv' /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext/iconv/iconv.c:993: undefine d reference to `libiconv_close' ext/iconv/.libs/iconv.o: In function `_php_iconv_appendl': /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext/iconv/iconv.c:348: undefine d reference to `libiconv' /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext/iconv/iconv.c:385: undefine d reference to `libiconv' ext/iconv/.libs/iconv.o: In function `_php_iconv_substr': /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext/iconv/iconv.c:723: undefine d reference to `libiconv_open' /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext/iconv/iconv.c:747: undefine d reference to `libiconv' /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext/iconv/iconv.c:802: undefine d reference to `libiconv_close' /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext/iconv/iconv.c:806: undefine d reference to `libiconv_close' /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext/iconv/iconv.c:755: undefine d reference to `libiconv_open' ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_decode': /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext/iconv/iconv.c:1354: undefin ed reference to `libiconv_open' /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext/iconv/iconv.c:1465: undefin ed reference to `libiconv_close' /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext/iconv/iconv.c:1468: undefin ed reference to `libiconv_open' /home/data/pkgs_docs/unix-pkgs/web/php/php
[PHP] @imap_headerinfo-date
Dear Members! When I try to get email date through @imap_headerinfo the output like this Wed, 30 May 2007 01:14:03 +0900 Tue, 29 May 2007 22:31:43 +0500 But i want to change it e.g on current date it should be only time 01:14 PM and on previous day its should be (May 29) how i can do it plz help. Regards, Umar Draz -- View this message in context: http://www.nabble.com/%40imap_headerinfo-%3Edate-tf3835635.html#a10859574 Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] how create system users with php
Hi dear members!! i want a script that i can add system user through php. For example i have FreeBSD 5.3 for adding a user in freebsd i use this command pw useradd username -g groupname -d /home/username -m now i want creating user through php what kind of script will be required thanks and regards Umar Draz __ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php