[PHP] Php installation
Hi all, I'm using Fedora 8. I installed php, mysql and apache. Now i can run a script connecting to a database from terminal but not from browser. Any suggestion? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
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
Re: [PHP] php installation problem
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 ed reference to `libiconv_open' /home/data/pkgs_docs/unix-pkgs/web/php/php-5.2.5/ext/iconv/iconv.c:1057: undefin ed reference to `libiconv_open'
[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'
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- 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 ed reference to `libiconv_open' /home/data/pkgs_docs/unix-pkgs/web/php/php- 5.2.5/ext
RE: [PHP] php installation problem
-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- 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
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
Re: [PHP] PHP installation
... Thanks for the help. I've got it installed now. In the end I found that the server came with 5.1.6 installed (:/), which despite not being 5.2.x, is still a jump from the 5.0.x I had before. -- Richard Heyes +44 (0)800 0213 172 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP installation
Hi, Trying to install PHP, however it's failing with the following: Configuring extensions checking whether to enable LIBXML support... yes checking libxml2 install dir... /usr/lib64 checking for xml2-config path... /usr/bin/xml2-config checking whether libxml build works... no configure: error: build test failed. Please check the config.log for details. The following is in config.log: configure:20028: checking whether libxml build works configure:20055: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl -lxml2 -lz -lm 15 /usr/bin/ld: cannot find -lz collect2: ld returned 1 exit status configure: failed program was: #line 20044 configure #include confdefs.h char xmlInitParser(); int main() { xmlInitParser(); return 0; } If it helps, this is a bit of an `ls -l` of /usr/lib64: libxml2.so - libxml2.so.2.6.27 libxml2.so.2 - libxml2.so.2.6.27 libxml2.so.2.6.19 libxml2.so.2.6.27 And this is what's at the end of my config.log: configure:19793: checking whether to enable LIBXML support configure:19841: checking libxml2 install dir configure:19870: checking for xml2-config path configure:20028: checking whether libxml build works configure:20055: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl -lxml2 -lz -lm 15 /usr/bin/ld: cannot find -lz collect2: ld returned 1 exit status configure: failed program was: #line 20044 configure #include confdefs.h char xmlInitParser(); int main() { xmlInitParser(); return 0; } Thanks. -- Richard Heyes +44 (0)800 0213 172 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP installation
Richard Heyes wrote: The following is in config.log: configure:20028: checking whether libxml build works configure:20055: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl -lxml2 -lz -lm 15 /usr/bin/ld: cannot find -lz Looks like you need to install libz. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP installation
Per Jessen wrote: Richard Heyes wrote: The following is in config.log: configure:20028: checking whether libxml build works configure:20055: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl -lxml2 -lz -lm 15 /usr/bin/ld: cannot find -lz Looks like you need to install libz. I installed various zlib and zlib-devel packages, but finally went with an rpm, but when I run `apachectl configtest` I get this: Cannot load /usr/lib64/httpd/modules/libphp5.so into server: /usr/lib64/httpd/modules/libphp5.so: undefined symbol: apr_pool_cleanup_null Umm help? -- Richard Heyes +44 (0)800 0213 172 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP installation
Richard Heyes wrote: Per Jessen wrote: Richard Heyes wrote: The following is in config.log: configure:20028: checking whether libxml build works configure:20055: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl -lxml2 -lz -lm 15 /usr/bin/ld: cannot find -lz Looks like you need to install libz. I installed various zlib and zlib-devel packages, but finally went with an rpm, but when I run `apachectl configtest` I get this: Cannot load /usr/lib64/httpd/modules/libphp5.so into server: /usr/lib64/httpd/modules/libphp5.so: undefined symbol: apr_pool_cleanup_null OK so now I'm back to compiling PHP after the ridiculous nightmare of rpms. I checked /lib and have the following: [EMAIL PROTECTED] php-5.2.4]# ls -l /lib/libz.so.1.2.3 -rwxr-xr-x 1 root root 71744 Sep 21 19:23 /lib/libz.so.1.2.3 Is PHP looking for a different file? Thanks. -- Richard Heyes +44 (0)800 0213 172 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP installation
Richard Heyes wrote: OK so now I'm back to compiling PHP after the ridiculous nightmare of rpms. I checked /lib and have the following: [EMAIL PROTECTED] php-5.2.4]# ls -l /lib/libz.so.1.2.3 -rwxr-xr-x 1 root root 71744 Sep 21 19:23 /lib/libz.so.1.2.3 Is PHP looking for a different file? Thanks. Richard, sorry for leaving you hanging this afternoon. Try this: find /lib /usr/lib -iname libz\* -ls You should see: /lib/libz.so.1 - libz.so.1.2.3 /lib/libz.so.1.2.3 /usr/lib/libz.so.1 - libgz.so.1 ls /usr/lib/libgz* /usr/lib/libgz.so.1 - /lib/libz.so.1* Your libz is in the right place, but check your symlinks. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php installation problem
Just installed apache and am looking at an error Warning: session_start() [function.session-start]: open(C:\DOCUME~1\Ross\LOCALS~1\Temp\php\upload\sess_ob822kp9sqlndjvu089r845e50, O_RDWR) failed: No such file or directory (2) in C:\Apache\Apache2\htdocs\ssn\editor.php on line 4 Should I set up a local folder to save the session data or something. Do I set this up in the php.ini or apache config? R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php installation problem
Ross wrote: Just installed apache and am looking at an error Warning: session_start() [function.session-start]: open(C:\DOCUME~1\Ross\LOCALS~1\Temp\php\upload\sess_ob822kp9sqlndjvu089r845e50, O_RDWR) failed: No such file or directory (2) in C:\Apache\Apache2\htdocs\ssn\editor.php on line 4 Should I set up a local folder to save the session data or something. Do I set this up in the php.ini or apache config? Well it's trying to save here: C:\DOCUME~1\Ross\LOCALS~1\Temp\php\upload\ You can either create the path, make sure it has appropriate permissions. Or tell php where to save the session and create that folder (and check permissions). See http://www.php.net/manual/en/function.session-save-path.php -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Installation question
Solved. Ditched Slackware 10 and installed Slackware 11. Both were installed the exact same way, so who knows Thanks to all. -Original Message- From: Ryan Creaser [mailto:[EMAIL PROTECTED] Sent: December 7, 2006 10:05 PM To: Beauford Cc: php-general@lists.php.net Subject: Re: [PHP] PHP Installation question Beauford wrote: Hi, I am trying to install vBulletin and keep getting this error: Fatal error: Call to undefined function: gzinflate(). The only thing I can find on this is that zlib needs to be configured with PHP at compile time. So I reinstalled PHP using the following: ./configure --with-mysql --with-apache=../apache_1.3.36 --with-zlib --with-gd make make install The above finishes with no error. I rebooted, but still get same error, and zlib or gd doesn't show up in my phpinfo output. zlib is installed, and from my understanding gd is included with PHP, all the other libraries for gd are also installed. So what am I doing wrong? Also, how do I find out where something is installed? i.e. zlib. If I do a search on it I get hundreds of hits... Last. In the above ./configure line I get a message from PHP saying I am using the built in version of MySQL - if I point it to the actual MySQL source directory I get the following error. configure: error: Cannot find libmysqlclient library under ../mysql-5.0.22 Any help is appreciated. I am using Slacware 10, PHP 4.4.4, MySQL5.0, and Apache 1.3.36 Thanks Did you recompile apache after running php's make install? Using --with-apache builds a module that gets compiled *into* apache (as opposed to --with-apxs which creates a dynamic module), ie. you need to rebuild apache after building php. My guess is the gzinflate error probably comes from an old php module. - rjc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Installation question
I'm thinking though that this isn't really the problem. When I install Slackware, I install everything (except for games). On my older PC I installed version 8.1 and had no problems, but now with version 10 I have problems. I'm pretty sure that zlib-dev or zlib-devel has never been included in either version of Slack. So I think I'm just going around in circles with this. Thoughts.. B -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: December 7, 2006 12:15 AM To: Beauford Cc: php-general@lists.php.net Subject: Re: [PHP] PHP Installation question Beauford wrote: I have zlib-1.2.1.1-i486-1. Whether that is zlib-devel or zlib-dev I have no idea, and not sure how to find out. Zlib is different to zlib-dev/zlib-devel. The zlib package only contains the binaries and man pages. The zlib-devel package contains the header files (zlib.h for example) you need for compiling against it. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Installation question
Beauford wrote: I'm thinking though that this isn't really the problem. When I install Slackware, I install everything (except for games). On my older PC I installed version 8.1 and had no problems, but now with version 10 I have problems. I'm pretty sure that zlib-dev or zlib-devel has never been included in either version of Slack. So I think I'm just going around in circles with this. locate zlib.h if that returns nothing, then the problem is still that you need the zlib-dev package installed. If it does return something then what does it return ? Maybe you need to specify the path to zlib in the php configure line. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Installation question
On the old PC zlib.h is in /usr/local/inlude. On the new PC it's in /usr/include and /usr/include/linux. I'm in the process of reinstalling PHP, but I have my doubts. Thanks -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: December 7, 2006 8:21 PM To: Beauford Cc: php-general@lists.php.net Subject: Re: [PHP] PHP Installation question Beauford wrote: I'm thinking though that this isn't really the problem. When I install Slackware, I install everything (except for games). On my older PC I installed version 8.1 and had no problems, but now with version 10 I have problems. I'm pretty sure that zlib-dev or zlib-devel has never been included in either version of Slack. So I think I'm just going around in circles with this. locate zlib.h if that returns nothing, then the problem is still that you need the zlib-dev package installed. If it does return something then what does it return ? Maybe you need to specify the path to zlib in the php configure line. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Installation question
Beauford wrote: Hi, I am trying to install vBulletin and keep getting this error: Fatal error: Call to undefined function: gzinflate(). The only thing I can find on this is that zlib needs to be configured with PHP at compile time. So I reinstalled PHP using the following: ./configure --with-mysql --with-apache=../apache_1.3.36 --with-zlib --with-gd make make install The above finishes with no error. I rebooted, but still get same error, and zlib or gd doesn't show up in my phpinfo output. zlib is installed, and from my understanding gd is included with PHP, all the other libraries for gd are also installed. So what am I doing wrong? Also, how do I find out where something is installed? i.e. zlib. If I do a search on it I get hundreds of hits... Last. In the above ./configure line I get a message from PHP saying I am using the built in version of MySQL - if I point it to the actual MySQL source directory I get the following error. configure: error: Cannot find libmysqlclient library under ../mysql-5.0.22 Any help is appreciated. I am using Slacware 10, PHP 4.4.4, MySQL5.0, and Apache 1.3.36 Thanks Did you recompile apache after running php's make install? Using --with-apache builds a module that gets compiled *into* apache (as opposed to --with-apxs which creates a dynamic module), ie. you need to rebuild apache after building php. My guess is the gzinflate error probably comes from an old php module. - rjc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Installation question
# [EMAIL PROTECTED] / 2006-12-08 12:21:16 +1100: Beauford wrote: I'm thinking though that this isn't really the problem. When I install Slackware, I install everything (except for games). On my older PC I installed version 8.1 and had no problems, but now with version 10 I have problems. I'm pretty sure that zlib-dev or zlib-devel has never been included in either version of Slack. So I think I'm just going around in circles with this. locate zlib.h if that returns nothing, then the problem is still that you need the zlib-dev package installed. or that his locate database hasn't been rebuilt since he installed the file. please give better advice. -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP Installation question
Hi, I am trying to install vBulletin and keep getting this error: Fatal error: Call to undefined function: gzinflate(). The only thing I can find on this is that zlib needs to be configured with PHP at compile time. So I reinstalled PHP using the following: ./configure --with-mysql --with-apache=../apache_1.3.36 --with-zlib --with-gd make make install The above finishes with no error. I rebooted, but still get same error, and zlib or gd doesn't show up in my phpinfo output. zlib is installed, and from my understanding gd is included with PHP, all the other libraries for gd are also installed. So what am I doing wrong? Also, how do I find out where something is installed? i.e. zlib. If I do a search on it I get hundreds of hits... Last. In the above ./configure line I get a message from PHP saying I am using the built in version of MySQL - if I point it to the actual MySQL source directory I get the following error. configure: error: Cannot find libmysqlclient library under ../mysql-5.0.22 Any help is appreciated. I am using Slacware 10, PHP 4.4.4, MySQL5.0, and Apache 1.3.36 Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Installation question
Beauford wrote: Hi, I am trying to install vBulletin and keep getting this error: Fatal error: Call to undefined function: gzinflate(). The only thing I can find on this is that zlib needs to be configured with PHP at compile time. So I reinstalled PHP using the following: ./configure --with-mysql --with-apache=../apache_1.3.36 --with-zlib --with-gd make make install The above finishes with no error. I rebooted, but still get same error, and zlib or gd doesn't show up in my phpinfo output. zlib is installed, and from my understanding gd is included with PHP, all the other libraries for gd are also installed. So what am I doing wrong? Check if you have zlib-devel or zlib-dev package installed. You need this to be able to compile support into other applications. No idea how you do this on slackware. Also try specifying the path to zlib: --with-zlib=/usr for example. Also, how do I find out where something is installed? i.e. zlib. If I do a search on it I get hundreds of hits... No idea about slackware. Do a search or ask a slackware list/forum. Last. In the above ./configure line I get a message from PHP saying I am using the built in version of MySQL - if I point it to the actual MySQL source directory I get the following error. configure: error: Cannot find libmysqlclient library under ../mysql-5.0.22 Install the mysql-dev/devel /or mysql-client packages most likely. Or point it to the right directory. You need to point it to the base of the mysql package. Eg if mysql is installed in /usr/local/mysql (so binaries are under /usr/local/mysql/bin libs are in /usr/local/mysql/lib) then --with-mysql=/usr/local/mysql -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Installation question
I have zlib-1.2.1.1-i486-1. Whether that is zlib-devel or zlib-dev I have no idea, and not sure how to find out. Sort of figured out the MySQL problem, but now I get an error when I run 'make'. This is not a biggie, but the other problem I need to get resolved. Thanks -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: December 6, 2006 7:35 PM To: Beauford Cc: php-general@lists.php.net Subject: Re: [PHP] PHP Installation question Beauford wrote: Hi, I am trying to install vBulletin and keep getting this error: Fatal error: Call to undefined function: gzinflate(). The only thing I can find on this is that zlib needs to be configured with PHP at compile time. So I reinstalled PHP using the following: ./configure --with-mysql --with-apache=../apache_1.3.36 --with-zlib --with-gd make make install The above finishes with no error. I rebooted, but still get same error, and zlib or gd doesn't show up in my phpinfo output. zlib is installed, and from my understanding gd is included with PHP, all the other libraries for gd are also installed. So what am I doing wrong? Check if you have zlib-devel or zlib-dev package installed. You need this to be able to compile support into other applications. No idea how you do this on slackware. Also try specifying the path to zlib: --with-zlib=/usr for example. Also, how do I find out where something is installed? i.e. zlib. If I do a search on it I get hundreds of hits... No idea about slackware. Do a search or ask a slackware list/forum. Last. In the above ./configure line I get a message from PHP saying I am using the built in version of MySQL - if I point it to the actual MySQL source directory I get the following error. configure: error: Cannot find libmysqlclient library under ../mysql-5.0.22 Install the mysql-dev/devel /or mysql-client packages most likely. Or point it to the right directory. You need to point it to the base of the mysql package. Eg if mysql is installed in /usr/local/mysql (so binaries are under /usr/local/mysql/bin libs are in /usr/local/mysql/lib) then --with-mysql=/usr/local/mysql -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Installation question
Beauford wrote: I have zlib-1.2.1.1-i486-1. Whether that is zlib-devel or zlib-dev I have no idea, and not sure how to find out. Zlib is different to zlib-dev/zlib-devel. The zlib package only contains the binaries and man pages. The zlib-devel package contains the header files (zlib.h for example) you need for compiling against it. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP installation determination
Hi, I'm using 2 copies of PHP 1/ on local computer for developing 2/ on web server regular running webs Is there any way to determine what PHP i'm using? Where am I?. Can I somehow define my own constant in php.ini? Brona -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP installation determination
Hi, I didn't mean to able to determine this myself. I was thinking somethink like ?php if (is_debug()) do something else do something else function is_debug() { here I need to determine where am I } Brona Dave Goodchild wrote: Two easy ways - type 'php -v' on the command line or run phpinfo() and view the output. On 28/03/06, *Bronislav Klucka* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, I'm using 2 copies of PHP 1/ on local computer for developing 2/ on web server regular running webs Is there any way to determine what PHP i'm using? Where am I?. Can I somehow define my own constant in php.ini? Brona -- PHP General Mailing List ( http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP installation determination
Try using phpinfo(). http://us2.php.net/manual/en/function.phpinfo.php In particular you want to pay attention to the $_SERVER variables (search for PHP Variables in the phpinfo() output). Shaunak Kashyap Senior Web Developer WPT Enterprises, Inc. 5700 Wilshire Blvd., Suite 350 Los Angeles, CA 90036 Direct: 323.330.9870 Main: 323.330.9900 www.worldpokertour.com Confidentiality Notice: This e-mail transmission (and/or the attachments accompanying) it may contain confidential information belonging to the sender which is protected. The information is intended only for the use of the intended recipient. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or taking of any action in reliance on the contents of this information is prohibited. If you have received this transmission in error, please notify the sender by reply e-mail and destroy all copies of this transmission. -Original Message- From: Bronislav Klucka [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 28, 2006 10:08 AM To: php-general@lists.php.net Subject: [PHP] PHP installation determination Hi, I'm using 2 copies of PHP 1/ on local computer for developing 2/ on web server regular running webs Is there any way to determine what PHP i'm using? Where am I?. Can I somehow define my own constant in php.ini? Brona -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php installation
hello all, i need to install php, postgresql and apache. i had redhat 7.3 running. i like to know, the comaptible versions of the above three. i couldn't install the current version of the above three as it is asking for GLIBC-2.3. but i had GLIBC-2.2.5 running. it is not possible to update GLIBC. thanks in advance - Do you Yahoo!? vote.yahoo.com - Register online to vote today!
Re: [PHP] php installation verification
Did you fix this problem yet? The lines below are fine for your apache httpd.conf file. The only thing that appears out of the ordinary is the location of libphp4.so. In my setup (I'm also using Red Hat and Apache 2.0), when I compile PHP, it places libphp4.so in the modules directory (/etc/httpd/modules), which is where I would think it should be on your system, so try changing that line to: LoadModule php4_module modules/libphp4.so Of course, check to make sure the file is in that location first, as I could be way off. Then, restart apache and try to access your test.php script. Long P Nguyen wrote: OK - I tried that and what came up on the browser was the content of the test.php file. I checked in my httpd.conf file I do have the following: AddType application/x-httpd-php .php AddType application/x-http-php-source .phps LoadModule php4_module libexec/libphp4.so Any thoughts? thank you. -- Regards, Ben Ramsey http://benramsey.com --- http://www.phpcommunity.org/ Open Source, Open Community Visit for more information or to join the movement. --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php installation verification
I removed the line AddType application/x-httpd-php .php and add Files *.php SetOutputFilter PHP SetInputFilter PHP /Files restarted httpd and didn't work - what displayed on the browser was: ?php phpinfo(); ? -Original Message- From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 4:51 PM Cc: [EMAIL PROTECTED] Subject: RE: [PHP] php installation verification Quoting Nguyen, Long P (Mission Systems) [EMAIL PROTECTED]: could it be something in my httpd.conf file? Remove the line AddType application/x-httpd-php .php and add Files *.php SetOutputFilter PHP SetInputFilter PHP /Files HTH R'twick -- This is a signature This message was sent using IMP, the Internet Messaging Program. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php installation verification
Please reply to the list so that everyone can benefit from the conversation. I am running Apache 2.0.49 and PHP 4.3.7, but that shouldn't make too much difference. Did you check to make sure that libphp4.so is, in fact, in your modules directory? Also, use the AddType statements instead of the SetOutputFilter and SetInputFilter statements. Just make sure that you're using the AddType statements /after/ you load the module with LoadModule. I do not believe they should come before the LoadModule statement in the httpd.conf file. Here's how it looks in my file: LoadModule php4_module modules/libphp4.so AddType application/x-httpd-php php AddType application/x-httpd-php-source phps Nguyen, Long P (Mission Systems) wrote: Ben, I edited the httpd.conf file with the entry below and restarted the httpd and tried bringing up test.php and the only think displayed on the browser were the source code. LoadModule php4_module modules/libphp4.so Do you have apache v2.0.48 running with php v4.3.6? Any thoughts? -Original Message- From: Ben Ramsey [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 9:31 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] php installation verification Did you fix this problem yet? The lines below are fine for your apache httpd.conf file. The only thing that appears out of the ordinary is the location of libphp4.so. In my setup (I'm also using Red Hat and Apache 2.0), when I compile PHP, it places libphp4.so in the modules directory (/etc/httpd/modules), which is where I would think it should be on your system, so try changing that line to: LoadModule php4_module modules/libphp4.so Of course, check to make sure the file is in that location first, as I could be way off. Then, restart apache and try to access your test.php script. Long P Nguyen wrote: OK - I tried that and what came up on the browser was the content of the test.php file. I checked in my httpd.conf file I do have the following: AddType application/x-httpd-php .php AddType application/x-http-php-source .phps LoadModule php4_module libexec/libphp4.so Any thoughts? thank you. -- Regards, Ben Ramsey http://benramsey.com --- http://www.phpcommunity.org/ Open Source, Open Community Visit for more information or to join the movement. --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php installation verification
I also noticed that you're using .php and .phps in your AddType statement. Take out the dot (.) so that it's just php and phps. That may be the cause of the problem. Ben Ramsey wrote: Please reply to the list so that everyone can benefit from the conversation. I am running Apache 2.0.49 and PHP 4.3.7, but that shouldn't make too much difference. Did you check to make sure that libphp4.so is, in fact, in your modules directory? Also, use the AddType statements instead of the SetOutputFilter and SetInputFilter statements. Just make sure that you're using the AddType statements /after/ you load the module with LoadModule. I do not believe they should come before the LoadModule statement in the httpd.conf file. Here's how it looks in my file: LoadModule php4_module modules/libphp4.so AddType application/x-httpd-php php AddType application/x-httpd-php-source phps Nguyen, Long P (Mission Systems) wrote: Ben, I edited the httpd.conf file with the entry below and restarted the httpd and tried bringing up test.php and the only think displayed on the browser were the source code. LoadModule php4_module modules/libphp4.so Do you have apache v2.0.48 running with php v4.3.6? Any thoughts? -Original Message- From: Ben Ramsey [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 9:31 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] php installation verification Did you fix this problem yet? The lines below are fine for your apache httpd.conf file. The only thing that appears out of the ordinary is the location of libphp4.so. In my setup (I'm also using Red Hat and Apache 2.0), when I compile PHP, it places libphp4.so in the modules directory (/etc/httpd/modules), which is where I would think it should be on your system, so try changing that line to: LoadModule php4_module modules/libphp4.so Of course, check to make sure the file is in that location first, as I could be way off. Then, restart apache and try to access your test.php script. Long P Nguyen wrote: OK - I tried that and what came up on the browser was the content of the test.php file. I checked in my httpd.conf file I do have the following: AddType application/x-httpd-php .php AddType application/x-http-php-source .phps LoadModule php4_module libexec/libphp4.so Any thoughts? thank you. -- Regards, Ben Ramsey http://benramsey.com --- http://www.phpcommunity.org/ Open Source, Open Community Visit for more information or to join the movement. --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php installation verification
I think I know what I did wrong... I should place the test.php file under the Document_Root directory and I should be bringing up the test.php file on the browser address as: http://localhost/test.php right??? What I was doing before was just going to the browser's File -- Open -- and specified the path to /tmp/php/test.php Please let me know, thank you. -Original Message- From: Ben Ramsey [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 10:46 AM To: Nguyen, Long P (Mission Systems) Subject: Re: [PHP] php installation verification I also noticed that you're using .php and .phps in your AddType statement. Take out the dot (.) so that it's just php and phps. That may be the cause of the problem. Ben Ramsey wrote: Please reply to the list so that everyone can benefit from the conversation. I am running Apache 2.0.49 and PHP 4.3.7, but that shouldn't make too much difference. Did you check to make sure that libphp4.so is, in fact, in your modules directory? Also, use the AddType statements instead of the SetOutputFilter and SetInputFilter statements. Just make sure that you're using the AddType statements /after/ you load the module with LoadModule. I do not believe they should come before the LoadModule statement in the httpd.conf file. Here's how it looks in my file: LoadModule php4_module modules/libphp4.so AddType application/x-httpd-php php AddType application/x-httpd-php-source phps Nguyen, Long P (Mission Systems) wrote: Ben, I edited the httpd.conf file with the entry below and restarted the httpd and tried bringing up test.php and the only think displayed on the browser were the source code. LoadModule php4_module modules/libphp4.so Do you have apache v2.0.48 running with php v4.3.6? Any thoughts? -Original Message- From: Ben Ramsey [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 9:31 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] php installation verification Did you fix this problem yet? The lines below are fine for your apache httpd.conf file. The only thing that appears out of the ordinary is the location of libphp4.so. In my setup (I'm also using Red Hat and Apache 2.0), when I compile PHP, it places libphp4.so in the modules directory (/etc/httpd/modules), which is where I would think it should be on your system, so try changing that line to: LoadModule php4_module modules/libphp4.so Of course, check to make sure the file is in that location first, as I could be way off. Then, restart apache and try to access your test.php script. Long P Nguyen wrote: OK - I tried that and what came up on the browser was the content of the test.php file. I checked in my httpd.conf file I do have the following: AddType application/x-httpd-php .php AddType application/x-http-php-source .phps LoadModule php4_module libexec/libphp4.so Any thoughts? thank you. -- Regards, Ben Ramsey http://benramsey.com --- http://www.phpcommunity.org/ Open Source, Open Community Visit for more information or to join the movement. --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php installation verification
Yes, you should be accessing it through http://localhost/test.php That's most definitely the cause of the problem. Long P Nguyen wrote: I think I know what I did wrong... I should place the test.php file under the Document_Root directory and I should be bringing up the test.php file on the browser address as: http://localhost/test.php right??? What I was doing before was just going to the browser's File -- Open -- and specified the path to /tmp/php/test.php Please let me know, thank you. -- Regards, Ben Ramsey http://benramsey.com --- http://www.phpcommunity.org/ Open Source, Open Community Visit for more information or to join the movement. --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php installation verification
OK - thanks for all the help everyone!! -Original Message- From: Ben Ramsey [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 11:02 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] php installation verification Yes, you should be accessing it through http://localhost/test.php That's most definitely the cause of the problem. Long P Nguyen wrote: I think I know what I did wrong... I should place the test.php file under the Document_Root directory and I should be bringing up the test.php file on the browser address as: http://localhost/test.php right??? What I was doing before was just going to the browser's File -- Open -- and specified the path to /tmp/php/test.php Please let me know, thank you. -- Regards, Ben Ramsey http://benramsey.com --- http://www.phpcommunity.org/ Open Source, Open Community Visit for more information or to join the movement. --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php installation verification
I am new to php and was tasked with installing php v.4.3.6. I installed it on redhat with apache v2.0.48. I read in the doc that you can create a test file called test.php with some php tags such as ?phpinfo()?. Could someone post a test.php file as an example? Thanks for the help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php installation verification
Open a file. Put this code in there: ? phpinfo(); ? Save as test.php and point your browser to it. - Original Message - From: Nguyen, Long P (Mission Systems) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 4:33 PM Subject: [PHP] php installation verification I am new to php and was tasked with installing php v.4.3.6. I installed it on redhat with apache v2.0.48. I read in the doc that you can create a test file called test.php with some php tags such as ?phpinfo()?. Could someone post a test.php file as an example? Thanks for the help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php installation verification
Save to your root directory as test.php (or something ending in php). ?php phpinfo(); ? I am new to php and was tasked with installing php v.4.3.6. I installed it on redhat with apache v2.0.48. I read in the doc that you can create a test file called test.php with some php tags such as ?phpinfo()?. Could someone post a test.php file as an example? Thanks for the help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php installation verification
OK - I tried that and what came up on the browser was the content of the test.php file. I checked in my httpd.conf file I do have the following: AddType application/x-httpd-php .php AddType application/x-http-php-source .phps LoadModule php4_module libexec/libphp4.so Any thoughts? thank you. -Original Message- From: Steve Douville [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 4:39 PM To: Nguyen, Long P (Mission Systems); [EMAIL PROTECTED] Subject: Re: [PHP] php installation verification Open a file. Put this code in there: ? phpinfo(); ? Save as test.php and point your browser to it. - Original Message - From: Nguyen, Long P (Mission Systems) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 4:33 PM Subject: [PHP] php installation verification I am new to php and was tasked with installing php v.4.3.6. I installed it on redhat with apache v2.0.48. I read in the doc that you can create a test file called test.php with some php tags such as ?phpinfo()?. Could someone post a test.php file as an example? Thanks for the help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php installation verification
Have you stopped and restarted the web server? OK - I tried that and what came up on the browser was the content of the test.php file. I checked in my httpd.conf file I do have the following: AddType application/x-httpd-php .php AddType application/x-http-php-source .phps LoadModule php4_module libexec/libphp4.so Any thoughts? thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php installation verification
On Wed, 2004-06-02 at 16:47, Nguyen, Long P (Mission Systems) wrote: OK - I tried that and what came up on the browser was the content of the test.php file. Open a file. Put this code in there: ? phpinfo(); ? Try: ?php phpinfo(); ? -- Scot L. Harris [EMAIL PROTECTED] IF I HAD A MINE SHAFT, I don't think I would just abandon it. There's got to be a better way. -- Jack Handley, The New Mexican, 1988. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php installation verification
Yes. -Original Message- From: Daniel Clark [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 4:51 PM To: Nguyen, Long P (Mission Systems) Cc: Steve Douville; [EMAIL PROTECTED] Subject: RE: [PHP] php installation verification Have you stopped and restarted the web server? OK - I tried that and what came up on the browser was the content of the test.php file. I checked in my httpd.conf file I do have the following: AddType application/x-httpd-php .php AddType application/x-http-php-source .phps LoadModule php4_module libexec/libphp4.so Any thoughts? thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php installation verification
I get the source display on the browser as: ?php phpinfo(); ? -Original Message- From: Scot L. Harris [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 4:53 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] php installation verification On Wed, 2004-06-02 at 16:47, Nguyen, Long P (Mission Systems) wrote: OK - I tried that and what came up on the browser was the content of the test.php file. Open a file. Put this code in there: ? phpinfo(); ? Try: ?php phpinfo(); ? -- Scot L. Harris [EMAIL PROTECTED] IF I HAD A MINE SHAFT, I don't think I would just abandon it. There's got to be a better way. -- Jack Handley, The New Mexican, 1988. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php installation verification
And you test.php file has? (note starting with ?php ?php ? Yes. Have you stopped and restarted the web server? OK - I tried that and what came up on the browser was the content of the test.php file. I checked in my httpd.conf file I do have the following: AddType application/x-httpd-php .php AddType application/x-http-php-source .phps LoadModule php4_module libexec/libphp4.so Any thoughts? thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php installation verification
Running Apache? Windows? I get the source display on the browser as: ?php phpinfo(); ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php installation verification
The content of my test.php file has: ?php phpinfo(); ? -Original Message- From: Daniel Clark [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 4:59 PM To: Nguyen, Long P (Mission Systems) Cc: [EMAIL PROTECTED]; Steve Douville; [EMAIL PROTECTED] Subject: RE: [PHP] php installation verification And you test.php file has? (note starting with ?php ?php ? Yes. Have you stopped and restarted the web server? OK - I tried that and what came up on the browser was the content of the test.php file. I checked in my httpd.conf file I do have the following: AddType application/x-httpd-php .php AddType application/x-http-php-source .phps LoadModule php4_module libexec/libphp4.so Any thoughts? thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php installation verification
Seems to me there was a problem with Apache 2 and PHP (some version). The content of my test.php file has: ?php phpinfo(); ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php installation verification
redhat and apache -Original Message- From: Daniel Clark [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 5:02 PM To: Nguyen, Long P (Mission Systems) Cc: Scot L. Harris; [EMAIL PROTECTED] Subject: RE: [PHP] php installation verification Running Apache? Windows? I get the source display on the browser as: ?php phpinfo(); ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php installation verification
could it be something in my httpd.conf file? below are the results of the installation: [EMAIL PROTECTED] php-4.3.6]# make install Installing PHP SAPI module: apache2handler /usr/local/apache/build/instdso.sh SH_LIBTOOL='/usr/local/apache/build/libtool' libphp4.la /usr/local/apache/modules /usr/local/apache/build/libtool --mode=install cp libphp4.la /usr/local/apache/modules/ cp .libs/libphp4.so /usr/local/apache/modules/libphp4.so cp .libs/libphp4.lai /usr/local/apache/modules/libphp4.la libtool: install: warning: remember to run `libtool --finish /tmp/php/php-4.3.6/libs' chmod 755 /usr/local/apache/modules/libphp4.so [activating module `php4' in /usr/local/apache/conf/httpd.conf] Installing PHP CLI binary:/usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing PEAR environment: /usr/local/lib/php/ [PEAR] Archive_Tar- installed: 1.1 [PEAR] Console_Getopt - installed: 1.2 [PEAR] PEAR - installed: 1.3.1 Wrote PEAR system config file at: /usr/local/etc/pear.conf You may want to add: /usr/local/lib/php to your php.ini include_path [PEAR] DB - installed: 1.6.2 [PEAR] HTTP - installed: 1.2.2 [PEAR] Mail - installed: 1.1.3 [PEAR] Net_SMTP - installed: 1.2.3 [PEAR] Net_Socket - installed: 1.0.1 [PEAR] XML_Parser - installed: 1.0.1 [PEAR] XML_RPC- installed: 1.1.0 Installing build environment: /usr/local/lib/php/build/ Installing header files: /usr/local/include/php/ Installing helper programs: /usr/local/bin/ program: phpize program: php-config program: phpextdist [EMAIL PROTECTED] php-4.3.6]# -Original Message- From: Daniel Clark [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 5:02 PM To: Nguyen, Long P (Mission Systems) Cc: Scot L. Harris; [EMAIL PROTECTED] Subject: RE: [PHP] php installation verification Running Apache? Windows? I get the source display on the browser as: ?php phpinfo(); ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php installation verification
Quoting Nguyen, Long P (Mission Systems) [EMAIL PROTECTED]: could it be something in my httpd.conf file? Remove the line AddType application/x-httpd-php .php and add Files *.php SetOutputFilter PHP SetInputFilter PHP /Files HTH R'twick -- This is a signature This message was sent using IMP, the Internet Messaging Program. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php installation help
Hi I have recently installed gd-2.0.15 on my linux 9.0 machine and this machine has a database that i need to access through phpMyadmin so the requirements are that php should be installed but when I error this instruction I get this error; [EMAIL PROTECTED] root]# apt-get install php Reading Package Lists... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: php: Depends: libgd.so.1.8 E: Broken packages I understand that gd 2 comes with libgd.so.2.0. Any help.
[PHP] PHP installation problem in FreeBSD OS.
Hello All, I am not sure if this is the right place to post this problem. I tried with FreeBSD mailing list but could not get much help. I am having hard time in installing php4 using portupgrade in FreeBSD. First i have updated the port directory using cvsup. I am doing fresh installation of php so i gave the following command. portupgrade -NPRri mod_php4. I noticed mysql3.23.51 got updated to mysql3.23.58_2. All the other dependencies also had no problem in updating. However the php installation was not successful. At the end of installation i got the following errors. Command failed [exit code 1] /usr/bin/script -qa /tmp/portupgrade23698.1 make mysql-client-3.23.58 is already installed or may be older version blah blah blah... you can uninstall and reinstall mysql blah blah blah ...to install correctly. If you really want to override without deleting use FORCE_PICG_REGISTER blah blah I also tried to install php after doing make clean in /usr/ports/databases/mysql323-client but it did not help me. Any pointer would be very helpful. Thanks in advace. Thanks, Naveen. Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time.
Re: [PHP] PHP installation problem in FreeBSD OS.
On Mar 22, 2004, at 7:59 PM, Naveen Glore wrote: Hello All, I am not sure if this is the right place to post this problem. I tried with FreeBSD mailing list but could not get much help. No, it isn't. There is a specific installation list ([EMAIL PROTECTED]). I am having hard time in installing php4 using portupgrade in FreeBSD. Try installing from source. There are dozens of tutorials on the net which will help you. Regards, Filip de Waar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php installation problem.
Hello all, I have a FreeBSD4.5 server, Apache 1.3.26_3 and mod_php4-4.2 . I have uninstalled php4-4.2 and tried to install mod_php4-4.3.3,1 but i get the following error read_plist: bad command '@conflicts php4-4*' I guess its some thing to do with version but not sure what exactly the problem is. I would appreciate if someone could help me out. Thanks, Naveen. Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam
[PHP] PHP Installation Questions
I'm running Windows XP Pro and just installed Apache 1.3. It appears to be running, so I guess I'm ready to install PHP. I visited http://snaps.php.net and downloaded the latest PHP program - CVS (5.0.x-dev). I'm reading the installation instructions at http://cvs.php.net/co.php/php-src/win32/install.txt and find them fairly confusing. First, it says, There are two main ways to install PHP for Windows: either manually or by using the InstallShield installer. I definitely want to do it the easy way, but how do I access the InstallShield installer? But it appears that I first have to do two other things: 1. Stop Apache 2. Decide whether I want to install PHP as a CGI or something else (a module?) So how do I stop Apache, and should I install PHP as a CGI or choose the other option? I'm going to be using PHP on websites, primarily to make server side includes and, eventually, to do some work with databases. The instructions say, Once the installation has completed the installer will inform you if you need to restart your system, restart the server, or just start using PHP. I assume this refers to using the InstallShield, which renders just about everything else on the installation instructions page moot, right? If I use the InstallShield, will I still have to install the Windows extensions, or are they installed automatically? Later, the instructions talk about Installing PHP on Windows with Apache 1.3.x. It says, There are two ways to set up PHP to work with Apache 1.3.x on Windows. One is to use the CGI binary (php.exe), the other is to use the Apache module dll. In either case you need to stop the Apache server, and edit your httpd.conf or srm.conf to configure Apache to work with PHP. We'll refer to either of these files with httpd.conf in the text. Is this all done automatically if I use the InstallShield? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Installation Questions
Freedomware wrote: I'm running Windows XP Pro and just installed Apache 1.3. It appears to be running, so I guess I'm ready to install PHP. I visited http://snaps.php.net and downloaded the latest PHP program - CVS (5.0.x-dev). I'm reading the installation instructions at http://cvs.php.net/co.php/php-src/win32/install.txt and find them fairly confusing. First, it says, There are two main ways to install PHP for Windows: either manually or by using the InstallShield installer. I definitely want to do it the easy way, but how do I access the InstallShield installer? But it appears that I first have to do two other things: 1. Stop Apache 2. Decide whether I want to install PHP as a CGI or something else (a module?) So how do I stop Apache, and should I install PHP as a CGI or choose the other option? I'm going to be using PHP on websites, primarily to make server side includes and, eventually, to do some work with databases. The instructions say, Once the installation has completed the installer will inform you if you need to restart your system, restart the server, or just start using PHP. I assume this refers to using the InstallShield, which renders just about everything else on the installation instructions page moot, right? If I use the InstallShield, will I still have to install the Windows extensions, or are they installed automatically? Later, the instructions talk about Installing PHP on Windows with Apache 1.3.x. It says, There are two ways to set up PHP to work with Apache 1.3.x on Windows. One is to use the CGI binary (php.exe), the other is to use the Apache module dll. In either case you need to stop the Apache server, and edit your httpd.conf or srm.conf to configure Apache to work with PHP. We'll refer to either of these files with httpd.conf in the text. Is this all done automatically if I use the InstallShield? Thanks. I don't want to sound like a jerk, but most of the questions you have been asking are thoroughly documented on places like the PHP and Apache websites, and in the README files. This list is here to help, but it's best if you do a bit of research first before posting a question to it. Check the documentation of the app you have a question about first, if you don't find the answer there, try Google, if still no luck, then this list is a good next stop. As for your questions Installing PHP... http://www.php.net/manual/en/install.windows.php Stopping Apache 1.3x... http://httpd.apache.org/docs/windows.html#signal Stopping Apache 2.x... http://httpd.apache.org/docs-2.0/platform/windows.html#winsvc HTH -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Installation Problems
RE: [PHP] PHP Installation ProblemsThis is my experience, I never chose the PHP installation pack, I prefer the uncompressed version, modify the php.ini and put the right dlls into the WINNT\System32 folder... I do not know what windows is going to permit to the installation program (registry entries, dlls substitution, etc). I am running PHP 4.3.0 over W2K Advanced Server, but not using IIS, i´m using Apache 1.3.27 as web server. Everything works fine. I suggest that. 1.- Try to execute from the command line an easy script such php_info(), Hello world or something like that in order to see if PHP is working. 2.- Try to lauch web browser and go to the root of the server in order to see if webserver is working properly If both are working, i suposed the error is that the webserver is not able to understand that this request has to managed by php.exe review this useful article por PHP on IIS http://www.onlamp.com/pub/a/php/2000/12/14/php_admin.html if you are running Apache, review the paths and extensions of httpd.conf specially theese entries. ServerRoot LoadModule php4_module [path of the php4apache.dll) AddModule mod_php4.c Port DocumentRoot Directory and DirectoryIndex AddType application/x-httpd-php .php Regards. This mesage is going to be forwarded to the list in order to let other members sugest or add coments to your thread. -Original Message- From: Andrew Woolley [mailto:[EMAIL PROTECTED] Sent: lunes, 13 de octubre de 2003 14:05 To: 'Daniel Perez Clavero' Subject: RE: [PHP] PHP Installation Problems Ok, Well I tried to install php 4.3.3 on a windows 2000 advanced server box and it said that some ocx file was missing and I needed to set some permissions. So I set the permissions both in active directory on the domain controller and on the local machine I had just installed php on. Php sccripts then loaded in IE as plain text (i could see the code). I ran a windows update on the server box and that has fixed the missing ocx file so I can't tell you what that file was exactly. However upon re-installation of php 4.3.3 I was told at the end of the install process that again I had to set the correct permissions. These are set. The confusing thing is that now I cannot even open the php pages as plain text in IE, instead the browser tells me that the page doesn't exist. Please try and shed some light on the situations as the company I am working for so far has only a mailto: link in the contact page because I can't program asp. Please Help Thanks and Kind Regards Andrew Woolley 168 Technology Ltd -Original Message- From: Daniel Perez Clavero [mailto:[EMAIL PROTECTED] Sent: 10 October 2003 13:42 To: Andrew R. Woolley; [EMAIL PROTECTED] Subject: RE: [PHP] PHP Installation Problems Can you be a bit more explicit about errors? I´ve got some apache+PHP running on W2K Server box... -Original Message- From: Andrew Woolley [mailto:[EMAIL PROTECTED] Sent: viernes, 10 de octubre de 2003 14:11 To: [EMAIL PROTECTED] Subject: [PHP] PHP Installation Problems -Original Message- From: Mehdi Achour [mailto:[EMAIL PROTECTED] Sent: 10 October 2003 12:28 To: Andrew R. Woolley Cc: [EMAIL PROTECTED] Subject: Re: PHP Installation Problems Hi Andrew, Please ask support questions at [EMAIL PROTECTED] didou I use php a lot myself but have only ever installed it on my office pc (Win2K-Pro) and my home pc (WinXP-Pro). However the company I work for is now hosting there own site on one and the Win2K Advanved Server systems in our comms room. I have had problems installing PHP on this system but have no problems installing it on a workstation. Is php compatible with the server software or do I have to run it on a linux box for this to work. Thanks and Kind Regards Andrew Woolley 168 Technology Ltd HYPERLINK mailto:[EMAIL PROTECTED][EMAIL PROTECTED] +44 161 975 6260 +44 7766513134 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.516 / Virus Database: 313 - Release Date: 01/09/2003 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.516 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.516 / Virus Database: 313 - Release Date: 01/09/2003 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.516 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.516 / Virus Database: 313 - Release Date: 01/09/2003
[PHP] PHP Installation Problems
-Original Message- From: Mehdi Achour [mailto:[EMAIL PROTECTED] Sent: 10 October 2003 12:28 To: Andrew R. Woolley Cc: [EMAIL PROTECTED] Subject: Re: PHP Installation Problems Hi Andrew, Please ask support questions at [EMAIL PROTECTED] didou I use php a lot myself but have only ever installed it on my office pc (Win2K-Pro) and my home pc (WinXP-Pro). However the company I work for is now hosting there own site on one and the Win2K Advanved Server systems in our comms room. I have had problems installing PHP on this system but have no problems installing it on a workstation. Is php compatible with the server software or do I have to run it on a linux box for this to work. Thanks and Kind Regards Andrew Woolley 168 Technology Ltd HYPERLINK mailto:[EMAIL PROTECTED][EMAIL PROTECTED] +44 161 975 6260 +44 7766513134 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.516 / Virus Database: 313 - Release Date: 01/09/2003 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.516 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.516 / Virus Database: 313 - Release Date: 01/09/2003
RE: [PHP] PHP Installation Problems
Can you be a bit more explicit about errors? I´ve got some apache+PHP running on W2K Server box... -Original Message- From: Andrew Woolley [mailto:[EMAIL PROTECTED] Sent: viernes, 10 de octubre de 2003 14:11 To: [EMAIL PROTECTED] Subject: [PHP] PHP Installation Problems -Original Message- From: Mehdi Achour [mailto:[EMAIL PROTECTED] Sent: 10 October 2003 12:28 To: Andrew R. Woolley Cc: [EMAIL PROTECTED] Subject: Re: PHP Installation Problems Hi Andrew, Please ask support questions at [EMAIL PROTECTED] didou I use php a lot myself but have only ever installed it on my office pc (Win2K-Pro) and my home pc (WinXP-Pro). However the company I work for is now hosting there own site on one and the Win2K Advanved Server systems in our comms room. I have had problems installing PHP on this system but have no problems installing it on a workstation. Is php compatible with the server software or do I have to run it on a linux box for this to work. Thanks and Kind Regards Andrew Woolley 168 Technology Ltd HYPERLINK mailto:[EMAIL PROTECTED][EMAIL PROTECTED] +44 161 975 6260 +44 7766513134 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.516 / Virus Database: 313 - Release Date: 01/09/2003 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.516 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.516 / Virus Database: 313 - Release Date: 01/09/2003 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP installation on IIS
Hello everyone, This is the first time I am installing PHP on IIS and I don't know what I am doing wrong. I copied the default php.ini file to the winnt dir. Then I added an ISAPI extention with .php to the App Mapings tab. (ISAPI caching enabled) Then I made a test.php file with ?php phpinfo(); ? but ll I see is the source code when I access this page. Does anyone have any ideas? Thank you, - Sid
Re: [PHP] PHP installation on IIS
From: Sid [EMAIL PROTECTED] This is the first time I am installing PHP on IIS and I don't know what I am doing wrong. I copied the default php.ini file to the winnt dir. Then I added an ISAPI extention with .php to the App Mapings tab. (ISAPI caching enabled) Then I made a test.php file with ?php phpinfo(); ? but ll I see is the source code when I access this page. Does anyone have any ideas? 1. Make sure php4isapi.dll is in the same directory as php.exe 2. Make sure the IIS user (typically IUSR_computername) has read permissions to c:\php (or wherever you put PHP) 3. Don't skip adding the ISAPI filter. I don't know why the instructions say this as it never works unless you do it. 4. Make sure you restart IIS after the changes. If that still doesn't work, let me know. If it doesn't work, open up the ISAPI Filter tab and see if you have a red or green arrow next to the PHP Filter. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP installation on RedHat
Oups sorry with a link it always works better ;) http://protonicdesign.com/tutorial/sablot_and_php.php Yann Larrivee www.phpquebec.org www.protonicdesign.com Sorry the tutorial is not in french yet. I will translate it soone. On Sun, 2003-06-15 at 08:02, Tim Best wrote: Bonsoir Yann, Je suis intriguer de votre 'tutorial'! Mais je ne peux pas le trouver... Ou est-it exactement? Merci beaucoup pour votre assistance! (et ecriver en français, merci de votre patience avec moi. ;-) /Tim Best Best IT cell: 504-231-1084 fax: 206-338-6162 [EMAIL PROTECTED] http://www.best-it.biz PS: I am sorry for emailing to you from this different address. I am having problems with my email account. on 6/11/03 10:56, Yann Larrivee at [EMAIL PROTECTED] wrote: Hi i made a tutorial on how to compile php, expath, libxml, sablotron It works well for me. I ran into many probleme so i made an faq page where all errors are listed with an explanation, solution. If anybody encounter other errors i will put them there too. I compile on Suse 8.2 but i dont think it should make a difference. Yann Larrivee www.phpquebec.org www.protonicdesign.com On Sat, 2003-06-14 at 19:24, Info Best-IT wrote: Anyone know where I can get a better step by step how to for installation of PHP with DOM, XSLT, and XPATh support on Red Hat? PHP.NET is not so hot... /T -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP installation on RedHat
Anyone know where I can get a better step by step how to for installation of PHP with DOM, XSLT, and XPATh support on Red Hat? PHP.NET is not so hot... /T -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP installation on RedHat
Hi i made a tutorial on how to compile php, expath, libxml, sablotron It works well for me. I ran into many probleme so i made an faq page where all errors are listed with an explanation, solution. If anybody encounter other errors i will put them there too. I compile on Suse 8.2 but i dont think it should make a difference. Yann Larrivee www.phpquebec.org www.protonicdesign.com On Sat, 2003-06-14 at 19:24, Info Best-IT wrote: Anyone know where I can get a better step by step how to for installation of PHP with DOM, XSLT, and XPATh support on Red Hat? PHP.NET is not so hot... /T -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP Installation on Redhat 8 - General Questions
Hi there, I wonder if someone could answer a few questions for me? First of all, excuse my ignorance as I'm somewhat of a Linux newbie. I have installed PHP, Apache, Mysql, etc. on Windows numerous times, but have found the Linux installation to be more troublesome due in part (more likely in whole) to my lack of Linux experience. Following the instructions for setting up on PHP 4.x for Apache 1.x.x on the URL, http://www.e-gineer.com/instructions/install-php4x-for-apache1xx-on-linux.phtml I installed PHP as a module under Apache. I am using JPGraph which requires the GD graphics library, so after installing PHP with the basic options, I decided to reinstall it with GD support. Here is what I did to accomplish this: In my PHP directory, I removed the config.cache file, did a 'make clean' and recompiled as follows: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ./configure \ --with-config-file-path=/www/conf \ --with-apache=../apache_1.3.27 \ --with-png-dir=/usr/local \ --with-gd=/usr/local \ --with-zlib \ --enable-track-vars -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= This seemed to be successful! In the Apache directory, I did a 'make clean' and and recompiled as follows: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ./configure \ --with-layout=Apache \ --prefix=/usr/local/httpd \ --sysconfdir=/www/conf \ --enable-module=rewrite \ --enable-module=status \ --activate-module=src/modules/php4/libphp4.a -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Typed 'make' Stopped Apache Typed 'make install' Started Apache This also seemed to be successful. However, phpinfo() generates information from the previous install. The configure command generated by phpinfo() is -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= './configure' '--with-config-file-path=/www/conf' '--with-apache=../apache_1.3.27' '--enable-track-vars' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= And the build date show the time/date when I built it yesterday. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Can anyone suggest a reason for this? Is there something I am doing wrong? Thanks very much in advance for your help! - Best regards, Lee Reilly -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Installation on Redhat 8 - General Questions
I don't think you needed to recompile apache, but only php. Did you actually do make make install in PHP directory? Lee P. Reilly wrote: Hi there, I wonder if someone could answer a few questions for me? First of all, excuse my ignorance as I'm somewhat of a Linux newbie. I have installed PHP, Apache, Mysql, etc. on Windows numerous times, but have found the Linux installation to be more troublesome due in part (more likely in whole) to my lack of Linux experience. Following the instructions for setting up on PHP 4.x for Apache 1.x.x on the URL, http://www.e-gineer.com/instructions/install-php4x-for-apache1xx-on-linux.phtml I installed PHP as a module under Apache. I am using JPGraph which requires the GD graphics library, so after installing PHP with the basic options, I decided to reinstall it with GD support. Here is what I did to accomplish this: In my PHP directory, I removed the config.cache file, did a 'make clean' and recompiled as follows: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ./configure \ --with-config-file-path=/www/conf \ --with-apache=../apache_1.3.27 \ --with-png-dir=/usr/local \ --with-gd=/usr/local \ --with-zlib \ --enable-track-vars -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= This seemed to be successful! In the Apache directory, I did a 'make clean' and and recompiled as follows: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ./configure \ --with-layout=Apache \ --prefix=/usr/local/httpd \ --sysconfdir=/www/conf \ --enable-module=rewrite \ --enable-module=status \ --activate-module=src/modules/php4/libphp4.a -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Typed 'make' Stopped Apache Typed 'make install' Started Apache This also seemed to be successful. However, phpinfo() generates information from the previous install. The configure command generated by phpinfo() is -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= './configure' '--with-config-file-path=/www/conf' '--with-apache=../apache_1.3.27' '--enable-track-vars' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= And the build date show the time/date when I built it yesterday. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Can anyone suggest a reason for this? Is there something I am doing wrong? Thanks very much in advance for your help! - Best regards, Lee Reilly -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Installation on Redhat 8 - General Questions
What you need to do is go into your apache_1.3.26/src/modules/php4 directory and and clean out the libphp files. 1. Stop apache. 2. Remove lib files from apache_1.3.26/src/modules/php4 3. Do a make clean in apaches top dir. 4. Do a make clean in php top dir. 5. Remove config.cache in php dir. 6. Then recompile php - make - make install 7. Then recompile apache - make - make install 8. Restart apache 9. View phpinfo() Should work now.. On Wed, 2002-11-13 at 16:43, Lee P. Reilly wrote: Hi there, I wonder if someone could answer a few questions for me? First of all, excuse my ignorance as I'm somewhat of a Linux newbie. I have installed PHP, Apache, Mysql, etc. on Windows numerous times, but have found the Linux installation to be more troublesome due in part (more likely in whole) to my lack of Linux experience. Following the instructions for setting up on PHP 4.x for Apache 1.x.x on the URL, http://www.e-gineer.com/instructions/install-php4x-for-apache1xx-on-linux.phtml I installed PHP as a module under Apache. I am using JPGraph which requires the GD graphics library, so after installing PHP with the basic options, I decided to reinstall it with GD support. Here is what I did to accomplish this: In my PHP directory, I removed the config.cache file, did a 'make clean' and recompiled as follows: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ./configure \ --with-config-file-path=/www/conf \ --with-apache=../apache_1.3.27 \ --with-png-dir=/usr/local \ --with-gd=/usr/local \ --with-zlib \ --enable-track-vars -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= This seemed to be successful! In the Apache directory, I did a 'make clean' and and recompiled as follows: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ./configure \ --with-layout=Apache \ --prefix=/usr/local/httpd \ --sysconfdir=/www/conf \ --enable-module=rewrite \ --enable-module=status \ --activate-module=src/modules/php4/libphp4.a -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Typed 'make' Stopped Apache Typed 'make install' Started Apache This also seemed to be successful. However, phpinfo() generates information from the previous install. The configure command generated by phpinfo() is -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= './configure' '--with-config-file-path=/www/conf' '--with-apache=../apache_1.3.27' '--enable-track-vars' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= And the build date show the time/date when I built it yesterday. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Can anyone suggest a reason for this? Is there something I am doing wrong? Thanks very much in advance for your help! - Best regards, Lee Reilly -- .: B i g D o g :. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP installation _ help needed
Hi people! I have MySQL working with ASP under win2000 and IIS. I have recently tried unsuccessfully to install PHP. Initially I started with zip binary distribution. I tested it with:- html head titlePHP Test/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body bgcolor=#FF text=#00 ?php echo Hello Worldp; ? /body /html Couldn't be much simpler! Nothing worked but view source showed the above code. The implication being that the sever did not parse the code. I then deleted every thing and tried InstallShield with exactly the same result. I have reinstalled IIS - no change I have added PHP to the application mapping. I have given exec permissions to C:/PHP The setup instructions say that I must rename PHP TO PHP.INI in WINNT and that is all. Is this true. If not what precisely must I do? Failing the .INI question I think I have done everything in the OPINS. But you guys will know better. What have I missed? All thoughts gratefully appreciated Thanks Bob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP Installation problem - httpd.conf issue?
Hi there, I recently upgraded from PHP version 4.0-ish to 4.2.3 on my Linux/Apache machine. AFAIK, Apache is setup correctly (it serves HTML) and PHP works, but only from the command line. If I type php -q php.php test.html the output of phpinfo() is stored in test.html. When I try and look at test.html running on localhost it display sfine, but when I try and view php.php, as save as window pops up. I am not too familar with Linux. If it was a Windows installation then I would make sure the Action application (path to php.exe) line was correct, but I can't find this in the Linux httpd.conf. Does this issue sound familar to anyone. Could anyone point me in the right direction? Thanks very much. - Best regards, Lee Reilly -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP installation with MySQL Support
Where should you point the command --with-mysql to. The binary, header files, what? Currently I have MySQL installed at /usr/lib/mysql/. And this is a RedHat Linux 8.0. Suggestions? ~ Matthew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP installation with MySQL Support
Hello, MET [EMAIL PROTECTED] wrote: Where should you point the command --with-mysql to. The binary, header files, what? Currently I have MySQL installed at /usr/lib/mysql/. And this is a RedHat Linux 8.0. Suggestions? Try --with-mysql=/usr - E ...[snip]... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP Installation under WinXP Apache 2.0.39
I have a small problem I'm not able to solve. I wanted to install PHP 2.2.3 under WinXP together with an Apache 2.0.39, but after installation and reconfiguration of all Ini's and conf files the service did not start again. After starting the Apache manually from command´line it stops with the following error (translatet from german) : Syntax Error on line 174 of C:/Webverzeichnis/bin/apache/conf: Cannot load C:/Webverzeichnis/bin/php/sapi/php4apache2.dll into server: Procedure could not be found. All Pathes are correct. What causes this error? Is it an failure in php.ini or what did i do wrong. Please gimme a hint. Sascha
Re: [PHP] PHP Installation
ons, 2002-09-18 kl. 20:00 skrev Sascha Braun: It told me at last something about the cgi installation and some things i dont understand, so i feel very insecure. Please help me a little. A ... den stakkars, stakkars Sascha :-( In the directory in which you ran './configure', did you by any chance see a number of files called README.something and one called INSTALL? Did you read them especially INSTALL? Don't you think it might be a good idea to do so? That's what I always do. Best, Tony -- Tony Earnshaw Tha can allway tell a Yorkshireman, but tha canna tell 'im much. e-post: [EMAIL PROTECTED] www:http://www.billy.demon.nl gpg public key: http://www.billy.demon.nl/tonni.armor Telefoon: (+31) (0)172 530428 Mobiel: (+31) (0)6 51153356 GPG Fingerprint = 3924 6BF8 A755 DE1A 4AD6 FA2B F7D7 6051 3BE7 B981 3BE7B981 signature.asc Description: Dette er en digitalt signert meldingsdel
[PHP] PHP Installation
Hi Peops, I need some help for an PHP Installation. I did uninstall my apache on my domain. I reinstalled it again and now want to install PHP again. I believe all option in httpd.conf are correct. My Linux Distribution is: RedHat 7.3 I looked into the Modules Direktory from Apache and I could find an libphp4.so, but no mod_php. I did download the final release of PHP 4.2.3 and started to ./configure it. It told me at last something about the cgi installation and some things i dont understand, so i feel very insecure. Please help me a little. Sascha Braun
[PHP] PHP Installation Problem
Thanks all. I have now resolved. For future reference, the problem was as you said, I didn't have php configured for mysql support. I traced this back to the installation of the operating system, Red Hat 7.2. Through the graphical installation, all php modules apart from mysql support and odbc support are installed by default. These two have to be specifically chosen, which I didn't do. Anyway problem now resolved This e-mail is intended for the recipient only and may contain confidential information. If you are not the intended recipient then you should reply to the sender and take no further ation based upon the content of the message. Internet e-mails are not necessarily secure and CCM Limited does not accept any responsibility for changes made to this message. Although checks have been made to ensure this message and any attchments are free from viruses the recipient should ensure that this is the case. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP Installation Problem
I have a development web server php 4.0.6 apache and mysql and everything works OK. I installed the same software onto a new server that will be the production server but I hit problems when my scripts try and hit the db on the new server. Comparing the phpinfo details for both, the new server does not have a mysql section it. I copied the original php.ini onto the new server and restarted apache after the installation. Where have I missed this in the installation process and how should I resolve it? As an aside question, is there any glaring issues I may encounter if I upgrade php to 4.2.2 from 4.0.6? This e-mail is intended for the recipient only and may contain confidential information. If you are not the intended recipient then you should reply to the sender and take no further ation based upon the content of the message. Internet e-mails are not necessarily secure and CCM Limited does not accept any responsibility for changes made to this message. Although checks have been made to ensure this message and any attchments are free from viruses the recipient should ensure that this is the case. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Installation Problem
Well, how did you do the install? You really need to provide more details. Heck, any details. You don't mention your OS, whether you compiled from source, if so which configure flags, from packages, which packages, etc.. We are not mind readers. -Rasmus On Tue, 30 Jul 2002, Mark Colvin wrote: I have a development web server php 4.0.6 apache and mysql and everything works OK. I installed the same software onto a new server that will be the production server but I hit problems when my scripts try and hit the db on the new server. Comparing the phpinfo details for both, the new server does not have a mysql section it. I copied the original php.ini onto the new server and restarted apache after the installation. Where have I missed this in the installation process and how should I resolve it? As an aside question, is there any glaring issues I may encounter if I upgrade php to 4.2.2 from 4.0.6? This e-mail is intended for the recipient only and may contain confidential information. If you are not the intended recipient then you should reply to the sender and take no further ation based upon the content of the message. Internet e-mails are not necessarily secure and CCM Limited does not accept any responsibility for changes made to this message. Although checks have been made to ensure this message and any attchments are free from viruses the recipient should ensure that this is the case. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Installation Problem
I'm not sure exactly what you're saying, but it sounds to me like you didn't configure --with-mysql for the new server. You MUST do that. ./configure --with-apxs=/blah/blah --with-mysql If you don't have --with-mysql compiled into the php binary, mysql functions won't work. Tyler On Tue, 30 Jul 2002 09:34:04 +0100 Mark Colvin [EMAIL PROTECTED] wrote: I have a development web server php 4.0.6 apache and mysql and everything works OK. I installed the same software onto a new server that will be the production server but I hit problems when my scripts try and hit the db on the new server. Comparing the phpinfo details for both, the new server does not have a mysql section it. I copied the original php.ini onto the new server and restarted apache after the installation. Where have I missed this in the installation process and how should I resolve it? As an aside question, is there any glaring issues I may encounter if I upgrade php to 4.2.2 from 4.0.6? This e-mail is intended for the recipient only and may contain confidential information. If you are not the intended recipient then you should reply to the sender and take no further ation based upon the content of the message. Internet e-mails are not necessarily secure and CCM Limited does not accept any responsibility for changes made to this message. Although checks have been made to ensure this message and any attchments are free from viruses the recipient should ensure that this is the case. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Installation Problem
On Tuesday 30 July 2002 16:34, Mark Colvin wrote: I have a development web server php 4.0.6 apache and mysql and everything works OK. I installed the same software onto a new server that will be the production server but I hit problems when my scripts try and hit the db on the new server. Comparing the phpinfo details for both, the new server does not have a mysql section it. That's because the php on the new server was not compiled with mysql support. I copied the original php.ini onto the new server and restarted apache after the installation. That wouldn't help. Where have I missed this in the installation process and how should I resolve it? reconfigure php to include mysql support. As an aside question, is there any glaring issues I may encounter if I upgrade php to 4.2.2 from 4.0.6? Quite a few, read the release notes/chagelog/history, read the php.ini. -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * /* Americans are people who insist on living in the present, tense. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Installation Win98/Apache error....
-Original Message- From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]] Sent: 14 June 2002 22:01 So I'm trying to install PHP on win98 with Apache2. I got these nice instructions from... http://www.webmasterbase.com/article.php?pid=30aid=525 After I make the following addition to my httpd.conf file, I get an error when I try to start Apache again... ADDITION TO HTTPD.CONF: LoadModule php4_module c:/php/sapi/php4apache.dll That looks like an Apache 1 instruction, which won't work with Apache 2 -- I suggest you cast around for some equally nice Apache 2 instructions (preferably ones which point out that PHP for Apache 2 is still experimental, and has some known major bugs only fixed in the PHP 4.3.0 development version). Cheers! Mike - Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP Installation Win98/Apache error....
So I'm trying to install PHP on win98 with Apache2. I got these nice instructions from... http://www.webmasterbase.com/article.php?pid=30aid=525 After I make the following addition to my httpd.conf file, I get an error when I try to start Apache again... ADDITION TO HTTPD.CONF: LoadModule php4_module c:/php/sapi/php4apache.dll ERROR WHEN STARTING APACHE: Cannot load c:/php/sapi/php4apache.dll into server: One of the library ilfes needed to run this application cannot be found. ...I checked in the sapi directory and php4apache.dll is indeed in there. One other thing - One part of the instructions said to do this... Find the file called php4ts.dll in the PHP folder and copy it to the System32 subfolder of your Windows folder (e.g. C:\Windows\System32). Well, there is no php4ts.dll file anywhere on my PC. There is however a php4ts.lib file. Maybe this has something to do with it? Thanks for your help!!!
RE: [PHP] PHP Installation Win98/Apache error....
You missed a step in copying DLLs. I don't remember which one, but it's the dll files found in c:\php -Original Message- From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]] Sent: Friday, June 14, 2002 2:01 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP Installation Win98/Apache error So I'm trying to install PHP on win98 with Apache2. I got these nice instructions from... http://www.webmasterbase.com/article.php?pid=30aid=525 After I make the following addition to my httpd.conf file, I get an error when I try to start Apache again... ADDITION TO HTTPD.CONF: LoadModule php4_module c:/php/sapi/php4apache.dll ERROR WHEN STARTING APACHE: Cannot load c:/php/sapi/php4apache.dll into server: One of the library ilfes needed to run this application cannot be found. ...I checked in the sapi directory and php4apache.dll is indeed in there. One other thing - One part of the instructions said to do this... Find the file called php4ts.dll in the PHP folder and copy it to the System32 subfolder of your Windows folder (e.g. C:\Windows\System32). Well, there is no php4ts.dll file anywhere on my PC. There is however a php4ts.lib file. Maybe this has something to do with it? Thanks for your help!!! This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message. Thank you very much. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] » PHP Installation Problems «
I have installed php4 with apache 1.3.24. Downgraded apache again. LOL When I wan't to submit a form from say form.php to from2.php with the following fields : input field name=stuff input stuff contains Hello World when i submit form.php form2.php displays nothing. I've set form2.php to echo $stuff; My php4 installation doesn't seem to be sending my variables. but the funny thing is that phpmyadmin works 100% fine. what could be the problem ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP Installation: .rpm working with RaQ4 wanted...
Hi is there a recommendable site where I can find a .rpm (PHP 4.06 or higher) working on a Cobalt RaQ4? (I found some for RH6.x 7.x but they didn't work. I got the message only packages with major numbers = 3 are supported by this version of RPM) Any hints are appreciated! TIA best regards Stefan Rusterholz