php-install Digest 20 Feb 2003 10:19:10 -0000 Issue 1255 Topics (messages 10102 through 10112):
php apache in windows nt 10102 by: Angelo Marcos Rigo Need libzzip-0.so.10 for php-4.3.1-rbt.rh8.1.i386.rpm Install 10103 by: Pete Mackie fail to compile php 4.3.0 10104 by: edwin lin 10105 by: Brian C. Hill help! can't compile 4.3.1 10106 by: ladd epp 4.3.x Building problem on RH 7.2 10107 by: Stephen Cuppett Problem compiling PHP with IBM DB2 10108 by: Jason Williams what is the difference between intall as cgi and module 10109 by: Rubylinda Otero test 10110 by: N3tX php w/ IIS (windows) 10111 by: N3tX Re: Documentation warning 10112 by: Mitch Pirtle Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
--- Begin Message ---Hi i install apache 2.0.4.4 for win nt and php 4.3.1 i try to configure php as moule moving php4ts.dll to winnt/system32 and adding the two lines: LoadModule php4_module c:/php/sapi/php4apache.dll AddType application/x-httpd-php .php however this directory and this dll do not exist only the php4ts.dll . how can i install php as apache module?--- End Message ---
--- Begin Message ---I downloaded "php-4.3.1-rbt.rh8.1.i386.rpm" from http://www.aucs.org/rpmcenter/ only to learn the PHP install requires "libzzip-0.so.10" to be pre-installed on Red Hat Linux. Can you tell me where to find this library? Is by chance it something new to RH 8.1 Linux? Thanks, in advance......... Pete Mackie Seaquest Software 503.531.0252 http://www.seaquest.com--- End Message ---
--- Begin Message ---
Using patches provided by Sun Microsystem, I upgradeed the apache, which came with Solaris 8, to 1.3.26. After successfully ran ./configure --with-mysql --with apxs=/usr/apache/bin/apxs, I ran make. Here is the error message.
make: *** [sapi/cli/php] Error 1
#Output line too long.
Output line too long.
Output line too long.
gcc: TSR: No such file or directory
I got the same error message with make install. What went wrong? Thanks,
Ed
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
--- End Message ---
--- Begin Message ---/usr/bin/sed is busted. set your PATH to include /usr/xpg4/bin PATH=/usr/xpg4/bin:$PATH and start over Brian ====================================================================== On Wed, Feb 19, 2003 at 08:58:02PM +0000, edwin lin wrote: > > Using patches provided by Sun Microsystem, I upgradeed the apache, which > came with Solaris 8, to 1.3.26. After successfully ran ./configure > --with-mysql --with apxs=/usr/apache/bin/apxs, I ran make. Here is the > error message. > > make: *** [sapi/cli/php] Error 1 > #Output line too long. > Output line too long. > Output line too long. > gcc: TSR: No such file or directory > > I got the same error message with make install. What went wrong? Thanks, > > Ed > > > > > > _________________________________________________________________ > Protect your PC - get McAfee.com VirusScan Online > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- _____________________________________________________________________ / Brian C. Hill [EMAIL PROTECTED] http://brian.bch.net \ | Unix Specialist BCH Technical Services http://www.bch.net |--- End Message ---
--- Begin Message ---Hello, I get the following error when I do a 'make'. I did my ./configure --with-mysql --with-apxs=/usr/local/sbin/apxs I'm running FreeBSD-Release 4.7 byacc -p zend -v -d /usr/home/ladd/temp/php-4.3.1/Zend/zend_language_parser.y -o Zend/zend_language_parser.c usage: yacc [-dlrtv] [-b file_prefix] [-o output_filename] [-p symbol_prefix] filename *** Error code 1 Stop in /usr/home/ladd/temp/php-4.3.1. Thanks for your help, ladd--- End Message ---
--- Begin Message ---I run a webserver with PHP 4.2.3 currently working on it. I recently tried to download and install either PHP 4.3.0 or PHP 4.3.1 to no avail. Running the simplest possible configuration with: ./configure make I get the following output from make after a successful configure: In file included from /wmi/syssoftware/php/php-4.3.1/Zend/zend.h:59, from /wmi/syssoftware/php/php-4.3.1/main/php.h:34, from /wmi/syssoftware/php/php-4.3.1/ext/ctype/ctype.c:23: /usr/local/include/unix.h:182: parse error before `MAILSTREAM' /usr/local/include/unix.h:182: warning: no semicolon at end of struct or union /usr/local/include/unix.h:189: parse error before `}' /usr/local/include/unix.h:189: warning: data definition has no type or storage class /usr/local/include/unix.h:193: parse error before `*' /usr/local/include/unix.h:193: warning: data definition has no type or storage class /usr/local/include/unix.h:196: parse error before `*' /usr/local/include/unix.h:197: parse error before `*' /usr/local/include/unix.h:198: parse error before `*' /usr/local/include/unix.h:199: parse error before `*' /usr/local/include/unix.h:200: parse error before `*' /usr/local/include/unix.h:201: parse error before `*' /usr/local/include/unix.h:202: parse error before `*' /usr/local/include/unix.h:202: parse error before `*' /usr/local/include/unix.h:202: warning: data definition has no type or storage class /usr/local/include/unix.h:203: parse error before `*' /usr/local/include/unix.h:204: parse error before `*' /usr/local/include/unix.h:206: parse error before `*' /usr/local/include/unix.h:207: parse error before `*' /usr/local/include/unix.h:209: parse error before `*' /usr/local/include/unix.h:210: parse error before `*' /usr/local/include/unix.h:211: parse error before `*' /usr/local/include/unix.h:212: parse error before `*' /usr/local/include/unix.h:213: parse error before `*' /usr/local/include/unix.h:214: parse error before `*' /usr/local/include/unix.h:215: parse error before `*' /usr/local/include/unix.h:216: parse error before `*' /usr/local/include/unix.h:219: parse error before `*' /usr/local/include/unix.h:221: parse error before `DOTLOCK' /usr/local/include/unix.h:222: parse error before `MAILSTREAM' /usr/local/include/unix.h:223: parse error before `*' /usr/local/include/unix.h:224: parse error before `*' /usr/local/include/unix.h:225: parse error before `*' /usr/local/include/unix.h:226: parse error before `*' /usr/local/include/unix.h:228: parse error before `*' /usr/local/include/unix.h:229: parse error before `*' /usr/local/include/unix.h:230: parse error before `*' /usr/local/include/unix.h:231: parse error before `*' In file included from /wmi/syssoftware/php/php-4.3.1/main/php.h:92, from /wmi/syssoftware/php/php-4.3.1/ext/ctype/ctype.c:23: /usr/local/include/unix.h:159: redefinition of `struct unix_local' /usr/local/include/unix.h:171: warning: redefinition of `UNIXLOCAL' /usr/local/include/unix.h:171: warning: `UNIXLOCAL' previously declared here /usr/local/include/unix.h:182: parse error before `MAILSTREAM' /usr/local/include/unix.h:182: warning: no semicolon at end of struct or union /usr/local/include/unix.h:189: parse error before `}' /usr/local/include/unix.h:189: warning: data definition has no type or storage class /usr/local/include/unix.h:193: parse error before `*' /usr/local/include/unix.h:193: warning: data definition has no type or storage class /usr/local/include/unix.h:196: parse error before `*' /usr/local/include/unix.h:197: parse error before `*' /usr/local/include/unix.h:198: parse error before `*' /usr/local/include/unix.h:199: parse error before `*' /usr/local/include/unix.h:200: parse error before `*' /usr/local/include/unix.h:201: parse error before `*' /usr/local/include/unix.h:202: parse error before `*' /usr/local/include/unix.h:202: parse error before `*' /usr/local/include/unix.h:202: warning: data definition has no type or storage class /usr/local/include/unix.h:203: parse error before `*' /usr/local/include/unix.h:204: parse error before `*' /usr/local/include/unix.h:206: parse error before `*' /usr/local/include/unix.h:207: parse error before `*' /usr/local/include/unix.h:209: parse error before `*' /usr/local/include/unix.h:210: parse error before `*' /usr/local/include/unix.h:211: parse error before `*' /usr/local/include/unix.h:212: parse error before `*' /usr/local/include/unix.h:213: parse error before `*' /usr/local/include/unix.h:214: parse error before `*' /usr/local/include/unix.h:215: parse error before `*' /usr/local/include/unix.h:216: parse error before `*' /usr/local/include/unix.h:219: parse error before `*' /usr/local/include/unix.h:221: parse error before `DOTLOCK' /usr/local/include/unix.h:222: parse error before `MAILSTREAM' /usr/local/include/unix.h:223: parse error before `*' /usr/local/include/unix.h:224: parse error before `*' /usr/local/include/unix.h:225: parse error before `*' /usr/local/include/unix.h:226: parse error before `*' /usr/local/include/unix.h:228: parse error before `*' /usr/local/include/unix.h:229: parse error before `*' /usr/local/include/unix.h:230: parse error before `*' /usr/local/include/unix.h:231: parse error before `*' make: *** [ext/ctype/ctype.lo] Error 1 I then looked into unix.h and everything appears to be fine at a first glance. Here is an excerpt from unix.h from the complained about section (starting with line 174): typedef struct unix_local { unsigned int dirty : 1; /* disk copy needs updating */ unsigned int pseudo : 1; /* uses a pseudo message */ int fd; /* mailbox file descriptor */ int ld; /* lock file descriptor */ char *lname; /* lock file name */ off_t filesize; /* file size parsed */ time_t filetime; /* last file time */ time_t lastsnarf; /* last snarf time (for mbox driver) */ char *buf; /* temporary buffer */ unsigned long buflen; /* current size of temporary buffer */ char *line; /* returned line */ } UNIXLOCAL; /* Convenient access to local data */ #define LOCAL ((UNIXLOCAL *) stream->local) /* UNIX protected file structure */ typedef struct unix_file { MAILSTREAM *stream; /* current stream */ off_t curpos; /* current file position */ off_t protect; /* protected position */ off_t filepos; /* current last written file position */ char *buf; /* overflow buffer */ size_t buflen; /* current overflow buffer length */ char *bufpos; /* current buffer position */ } UNIXFILE; /* Function prototypes */ DRIVER *unix_valid (char *name); long unix_isvalid_fd (int fd); void *unix_parameters (long function,void *value); void unix_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents); void unix_list (MAILSTREAM *stream,char *ref,char *pat); void unix_lsub (MAILSTREAM *stream,char *ref,char *pat); long unix_create (MAILSTREAM *stream,char *mailbox); long unix_delete (MAILSTREAM *stream,char *mailbox); long unix_rename (MAILSTREAM *stream,char *old,char *newname); MAILSTREAM *unix_open (MAILSTREAM *stream); void unix_close (MAILSTREAM *stream,long options); char *unix_header (MAILSTREAM *stream,unsigned long msgno, unsigned long *length,long flags); long unix_text (MAILSTREAM *stream,unsigned long msgno,STRING *bs,long flags); char *unix_text_work (MAILSTREAM *stream,MESSAGECACHE *elt, unsigned long *length,long flags); void unix_flagmsg (MAILSTREAM *stream,MESSAGECACHE *elt); long unix_ping (MAILSTREAM *stream); void unix_check (MAILSTREAM *stream); void unix_check (MAILSTREAM *stream); void unix_expunge (MAILSTREAM *stream); long unix_copy (MAILSTREAM *stream,char *sequence,char *mailbox,long options); long unix_append (MAILSTREAM *stream,char *mailbox,append_t af,void *data); int unix_append_msg (MAILSTREAM *stream,FILE *sf,char *flags,char *date, STRING *msg); void unix_abort (MAILSTREAM *stream); char *unix_file (char *dst,char *name); int unix_lock (char *file,int flags,int mode,DOTLOCK *lock,int op); void unix_unlock (int fd,MAILSTREAM *stream,DOTLOCK *lock); int unix_parse (MAILSTREAM *stream,DOTLOCK *lock,int op); char *unix_mbxline (MAILSTREAM *stream,STRING *bs,unsigned long *size); unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr); unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, long flag); long unix_rewrite (MAILSTREAM *stream,unsigned long *nexp,DOTLOCK *lock); long unix_extend (MAILSTREAM *stream,unsigned long size); void unix_write (UNIXFILE *f,char *s,unsigned long i); void unix_phys_write (UNIXFILE *f,char *buf,size_t size); This file has not been modified by myself and the machine is regularly applied patches from RHN. Any help would be greatly appreciated. __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com--- End Message ---
--- Begin Message --- Hello everyone.
I am currently attempting to compile PHP 4.3.1 with support for IBM DB2. I have read all the documentation and followed what was recommended. However, I am having a problem when it comes to "make install".
"Make" works great. Its when I run 'make install' is where the problem occurs. Here is the error output:
/home/downloads/php-4.3.1/sapi/cli/php: error while loading shared libraries: libdb2.so.1: cannot open shared object file: No such file or directory
make[1]: *** [install-pear-installer] Error 127
make: *** [install-pear] Error 2
I cant seem to figure out what the problem is.
Here are the options I am using when I am installing PHP:
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --with-ibm-db2=/home/db2inst1/sqllib
Anyone have any ideas on what is going wrong, and how I can fix this?
Thank you.
Jason
--- End Message ---
--- Begin Message ---hi i just want to know what is the difference betwee installing php as cgi and as apache module... im just curious coz i use cgi , im using win98se, apache 1.3xx and php 4.3. pls help,, Rubylinda F. Otero Cathay Drug Co., Inc.--- End Message ---
--- Begin Message ---test--- End Message ---
--- Begin Message ---Hi, at first when i dowloded the install php file from php.net the php application (phpbb) worked fine, but it was to slow for displaying 10000 records from the database so i was told to install it in ISAPI modules so i downloaded the package and did as it was written in the install.txt file but then i got this problem: "The specified module could not be found." and i dont know what module its looking for so i tried the <? ?> and the echo but same problem .. so i tried to set it up as it was before .. but then i get a blank .. just a blank, no error msgs or anything .. just blank .. i hope u can help me out here .. /N3tX--- End Message ---
--- Begin Message ---On Wed, 2003-02-19 at 16:44, Pedro Román Vela wrote: > Hi everyone, > I have successfully installed and configured the latest php (4.3.1) to work > with the latest Apche (2.0.44). Apche 2.0.44? What a strange name. I wonder if it includes mod_speling? Probably not... ;^P > It seems to be working fine and has passed > every test I have tried. However I found the following warining while > reading the php documentation on installing php for apache 2.0: > Do not use Apache 2.0 and PHP in a production environment neither on Unix > nor on Windows. > > Is there something I'm missing? What's the reason for that warning? Yes, it means that there is little-or-no proof that the apache2-php4 combination works reliably under a heavy load. Sure, it works fine on my laptop (heavy development and only 10'000 hits daily), and also on my machine at home (2 hits per day, usually me or my cat). Anybody out there running this combination with a real workload? -- Mitch--- End Message ---
signature.asc
Description: This is a digitally signed message part