Re: [PHP] Installation problem of PhP5.0.4 on Fedora 2

2005-04-11 Thread Teng Wang
Hi,Richard Lynch

Thanks for your reply. But I can't find any line for PHP4.

How to load both 4 and 5?

Thanks again!

Teng Wang
2005/04/11
18:36:36
At Mon, 11 Apr 2005 15:28:38 -0700 (PDT) You wrote:
 If your httpd.conf has a line loading PHP4 in it, comment that out.
 
 Trying to load both 4 and 5 without taking some extra steps may be the
 cause of your problem.
 
 
 
 -- 
 Like Music?
 http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Is there any other place to start php module?

2005-04-11 Thread Teng Wang
I can't find any line in httpd.conf to load libphp4.so, so I
added such a line to load it. But systems says
[warn] module php4_module is already loaded, skipping

So I guess there is some other place to start php4 already.
Where can I find it?

Thanks!

eruisi
04/11/2005
20:55:49

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Installation problem of PhP5.0.4 on Fedora 2

2005-04-10 Thread Teng Wang
Sorry to bother all of you for such a long mail. Most of this email is just 
scripts. 
I really need your kindly help!

I have a problem when installing PHP5.0.4 on my
full-installed Fedora 2 with the following steps:


# ./configure --with-apxs2=/usr/sbin/apxs --with-libxml-dir
--with-openssl --with-zlib --with-zlib-dir --enable-bcmath
--with-bz2 --enable-calendar --with-jpeg-dir --with-tiff-dir
--with-curl --with-curlwrappers --with-inifile
--with-flatfile --enable-dio --enable-exif --with-fam
--enable-filepro --enable-ftp --with-gd --with-jpeg-dir
--with-png-dir --with-zlib-dir --with-xpm-dir --with-ttf
--with-freetype-dir --enable-gd-native-ttf
--enable-gd-jis-conv --with-gettext --with-gmp
--without-iconv --with-imap --with-kerberos --with-imap-ssl
--with-ldap --with-ldap-sasl --enable-mbstring
--with-libmbfl --with-openssl-dir --with-mysql
--with-mysql-sock --enable-shmop --enable-sqlite-utf8
--with-sqlite --enable-sysvmsg --enable-sysvsem
--enable-sysvshm --with-expat-dir --with-iconv-dir
--with-pcre-regex --with-pear --enable-maintainer-zts
--enable-memory-limit 


loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether gcc and cc understand -c and -o together... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for AIX... no
checking if compiler supports -R... (cached) no
checking if compiler supports -Wl,-rpath,... (cached) yes
checking for re2c... (cached) exit 0;
checking whether ln -s works... (cached) yes
checking for mawk... (cached) gawk
checking for bison... (cached) bison -y
checking bison version... 1.875 (ok)
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for working const... (cached) yes
checking flex version... 2.5.4 (ok)
checking whether byte ordering is bigendian... (cached) no
checking whether to force non-PIC code in shared modules... yes
checking for pthreads_cflags... (cached) -pthread
checking for pthreads_lib... (cached) 

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... yes
checking for Apache 1.x (hooks) module support via DSO through APXS... no
checking for Apache 1.x (hooks) module support... no
checking for mod_charset compatibility option... no
checking for Caudium support... no
checking for CLI build... yes
checking for Continuity support... no
checking for embedded SAPI library support... no
checking for Zeus ISAPI support... no
checking for Milter support... no
checking for NSAPI support... no
checking for PHTTPD support... no
checking for Pi3Web support... no
checking for Roxen/Pike support... no
checking for thttpd... no
checking for TUX... no
checking for webjames... no
checking for chosen SAPI module... apache2handler

Running system checks
checking for missing declarations of reentrant functions... done
checking for sendmail... (cached) /usr/sbin/sendmail
checking whether system uses EBCDIC... (cached) no
checking for socket... yes
checking for htonl... yes
checking for gethostname... yes
checking for gethostbyaddr... yes
checking for yp_get_default_domain... no
checking for __yp_get_default_domain... no
checking for yp_get_default_domain in -lnsl... yes
checking for dlopen... no
checking for __dlopen... no
checking for dlopen in -ldl... yes
checking for sin in -lm... (cached) yes
checking for res_search... no
checking for __res_search... no
checking for res_search in -lresolv... yes
checking for inet_aton... yes
checking for dn_skipname... no
checking for __dn_skipname... yes
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for fclose declaration... ok
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for dirent.h... (cached) yes
checking for ApplicationServices/ApplicationServices.h... (cached) no
checking for sys/param.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for alloca.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for arpa/nameser.h... (cached) yes
checking for assert.h... (cached) yes
checking for crypt.h... (cached) yes
checking for fcntl.h... (cached) yes
checking 

[PHP] A problem about urlencode

2004-10-25 Thread Teng Wang
I have a url containing some multi-byte characters. So I
need urlencode() to change these characters into the %xx
form. However, when I encode the whole url string, / is
also be encoded as %2F. How to solve this problem? I don't
want to analyze the url string before/after urlencode().

Thanks a lot.


eruisi
10/25/2004
03:19:55

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Ask for help on a mysql problem

2004-10-14 Thread Teng Wang
I wanna setup a tree structure. Each node in this tree is a
table. Each table has a link field. For each record, the
data in this field is a pointer to another table or null.

I read mysql manual but don't find any clues that SQL
supports such a link field. Does anyone has an idea about
that?

Thanks a lot!



eruisi
10/14/2004
21:01:16

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Is there any blog code available for php5?

2004-10-07 Thread Teng Wang
I tried some but all got failures.
I prefer the blog with calendar and multi-users

Thanks a lot!


eruisi
10/07/2004
19:31:22

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] How to install php5 on Fedora Core2

2004-10-03 Thread Teng Wang
I have some difficulties when installing php5.0.2 on FC2

I used the default settings:
./configure --with-apxs2=/usr/sbin/apxs
build
build install

The installation is complete but when I test phpinfo() in a .php file from browser, 
the browser says Can't find the
server

My FC2 is fully installed and I don't know why the php
module doesn't work.

I doubt if there is some manual settings are need during the configuration/make/make 
install, or there is some setting
after the installation such as change the default httpd.conf or /etc/php.ini

I type php -v, the version is fine, php -i is also correct.
But I can't make it work through http.

Thanks in advance for any kindly help!


eruisi
10/03/2004
04:00:59

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] How to install php5 on Fedora Core2

2004-10-03 Thread Teng Wang
Thanks a lot. It works!

But a new problem is: default setting loses all extensions.
If I wanna install all extension in the package, how to
configure the installation and reinstall?

Thanks a lot!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] How to install php5 on Fedora Core2

2004-10-03 Thread Teng Wang
Finally I succeeded on the installation. Just manually add
all --with-EXTENSIONS and remove all unvailable ones. The
procedure is too completed. I hope there should be some
scripts which automatically check the availability of each
extension and generate the configuration file.

Anyway, thanks a lot to all warm-hearted experts!

Eruisi

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Why my browser always chooses UTF-8 charset?

2004-10-03 Thread Teng Wang
Although I have included charset (GB2312) information in my
html/php files. 

meta http-equiv=Content-Type content=text/html;
charset=gb2312

And my browser has Auto-select settings.
How to make the browser select charset correctly,


eruisi
10/03/2004
17:53:14

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Why my browser always chooses UTF-8 charset?

2004-10-03 Thread Teng Wang
Hi

But I still want the default language to be English, I can
set a page to be Chinese if I wanna to do so. Is that
possible? Why doesn't the meta information work?


Teng Wang
2004/10/03
18:03:54
At Sun, 03 Oct 2004 18:04:10 -0400 You wrote:
 Look for this in your php.ini:
 
 default_charset
 
 Cheers,
 Rob.
 
 On Sun, 2004-10-03 at 17:56, Teng Wang wrote:
  Although I have included charset (GB2312) information in my
  html/php files. 
  
  meta http-equiv=Content-Type content=text/html;
  charset=gb2312
  
  And my browser has Auto-select settings.
  How to make the browser select charset correctly,
  
  
  eruisi
  10/03/2004
  17:53:14
 -- 
 ..
 | InterJinn Application Framework - http://www.interjinn.com |
 ::
 | An application and templating framework for PHP. Boasting  |
 | a powerful, scalable system for accessing system services  |
 | such as forms, properties, sessions, and caches. InterJinn |
 | also provides an extremely flexible architecture for   |
 | creating re-usable components quickly and easily.  |
 `'




*
* Teng Wang
*
* Univ. of Mass. Amherst
* ECE Department
* USA
*
* (Lab)1-413-545-0923
* (E-mail)[EMAIL PROTECTED]
*


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] How to install php5 on Fedora Core2

2004-10-03 Thread Teng Wang
Hi,Marek Kilimajer

I had to test each module. That's why I said it's too
complicated (sorrry for the typo).  Is there any script to
test it automatically?

Teng Wang
2004/10/03
19:57:23
At Mon, 04 Oct 2004 01:37:38 +0200 You wrote:
 Teng Wang wrote:
  Finally I succeeded on the installation. Just manually add
  all --with-EXTENSIONS and remove all unvailable ones. The
  procedure is too completed. I hope there should be some
  scripts which automatically check the availability of each
  extension and generate the configuration file.
  
  Anyway, thanks a lot to all warm-hearted experts!
  
  Eruisi
  
 
 You mean something like --enable-all. But then you would not know which 
 extensions are installed and which are not.
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




*
* Teng Wang
*
* Univ. of Mass. Amherst
* ECE Department
* USA
*
* (Lab)1-413-545-0923
* (E-mail)[EMAIL PROTECTED]
*


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] A problem of installation

2004-10-02 Thread Teng Wang
I met with a problem when installing php5.0.0 on my Federo Core 2.0 system. 

I use the default settings:
./configure
make
make install

Everything is ok, but when I test my phpinfo(),it always shows the
4.3.8 version. Yet, when I type the following command
php -v
to show the version of php, it's 5.0.0

What's the problem? Any kindly help would be appreciated.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] A problem of installation

2004-10-02 Thread Teng Wang
I met with a problem when installing php5.0.0 on my Federo Core 2.0 system.

I use the default settings:
./configure
make
make install

Everything is ok, but when I test my phpinfo(),it always shows the
4.3.8 version. Yet, when I type the following command
php -v
to show the version of php, it's 5.0.0

What's the problem? Any kindly help would be appreciated.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php