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

2005-04-12 Thread Andy Pieters
On Tuesday 12 April 2005 00:28, Richard Lynch wrote:
 If your httpd.conf has a line loading PHP4 in it, comment that out.

Actually it might be inside a conf file in the conf.d subdirectory

cd /etc/httpd/conf.d

for a in *.conf; do echo File $a; grep php $a; done

Will point you in the right direction.

Andy
-- 
Registered Linux User Number 379093
-- ---BEGIN GEEK CODE BLOCK-
Version: 3.12
GAT/O/CM d- s:+ a- C UL P+ L+++ E--- W+++ N++ o+ K w--- O+++ M- V
PS+ PE++ Y+ PGP+++ t+ 5-- X R !tv b DI+++ D++ G e-- h+ r--- y+
-- ---END GEEK CODE BLOCK--

Check out these few php utilities that I released
 under the GPL2 and that are meant for use with a 
 php cli binary:
 
 http://www.vlaamse-kern.com/sas/
--

--

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



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



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

2005-04-11 Thread Richard Lynch
On Mon, April 11, 2005 3:41 pm, Teng Wang said:
 Hi,Richard Lynch£º

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

 How to load both 4 and 5?

If you want to use both PHP 4 and 5, see the thread php 4  php 5 from
March 1st through March 5th.

Pay particular attention to Rasmus answer, not mine, cuz he actually know
what he's talking about :-)

-- 
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] 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 

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

2005-04-10 Thread Greg Donald
On Apr 10, 2005 10:59 PM, Teng Wang [EMAIL PROTECTED] wrote:
 If true, how can I uninstall php4.3.8 first and install php5.0.4 correctly?

You can remove your PHP4 rpms with:

rpm -qa | grep php | xargs rpm -e


-- 
Greg Donald
Zend Certified Engineer
http://destiney.com/

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