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

[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

[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

[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

[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?

[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:

[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

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:

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

[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

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

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

[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

[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