php-install Digest 12 Aug 2002 14:44:23 -0000 Issue 975
Topics (messages 8075 through 8081): Compile error 8075 by: Glen Lee Edwards 8076 by: Rasmus Lerdorf php 4.2.2 on a SuSE 8 system error :( 8077 by: Wilmer Geovanny 8081 by: Peh Sek Huat troubles with var in URL 8078 by: cezar 8079 by: Ezekiel Re: Installation problems 8080 by: Ezekiel 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 ---I'm trying to install PHP. I'm getting the same error with 4.2.2 and the latest snapshot during make. I'm trying to build it to work with Apache 2.0.40, IMAP, and TWIG. ./configure --with-mysql --with-imap --with-apxs2=/usr/local/apache-2.0.40/bin/apxs --enable-track-vars $ make /bin/sh libtool --silent --mode=compile gcc -Iext/ctype/ -I/var/downloads/php/php4-200208111800/ext/ctype/ -DPHP_ATOM_INC -I/var/downloads/php/php4-200208111800/include -I/var/downloads/php/php4-200208111800/main -I/var/downloads/php/php4-200208111800 -I/usr/local/apache-2.0.40/include -I/var/downloads/php/php4-200208111800/Zend -I/usr/local/include -I/var/downloads/php/php4-200208111800/ext/xml/expat -D_REENTRANT -I/var/downloads/php/php4-200208111800/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic -c /var/downloads/php/php4-200208111800/ext/ctype/ctype.c -o ext/ctype/ctype.lo In file included from /var/downloads/php/php4-200208111800/Zend/zend.h:59, from /var/downloads/php/php4-200208111800/main/php.h:34, from /var/downloads/php/php4-200208111800/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 /var/downloads/php/php4-200208111800/main/php.h:88, from /var/downloads/php/php4-200208111800/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 Suggestions? Glen--- End Message ---
--- Begin Message ---You are sure all the libs you are planning on using are threadsafe, right? On Sun, 11 Aug 2002, Glen Lee Edwards wrote: > I'm trying to install PHP. I'm getting the same error with 4.2.2 and > the latest snapshot during make. I'm trying to build it to work with > Apache 2.0.40, IMAP, and TWIG. > > ./configure --with-mysql --with-imap > --with-apxs2=/usr/local/apache-2.0.40/bin/apxs --enable-track-vars > > $ make > /bin/sh libtool --silent --mode=compile gcc -Iext/ctype/ > -I/var/downloads/php/php4-200208111800/ext/ctype/ -DPHP_ATOM_INC > -I/var/downloads/php/php4-200208111800/include > -I/var/downloads/php/php4-200208111800/main > -I/var/downloads/php/php4-200208111800 > -I/usr/local/apache-2.0.40/include > -I/var/downloads/php/php4-200208111800/Zend -I/usr/local/include > -I/var/downloads/php/php4-200208111800/ext/xml/expat -D_REENTRANT > -I/var/downloads/php/php4-200208111800/TSRM -DTHREAD=1 -g -O2 -pthread > -DZTS -prefer-pic -c > /var/downloads/php/php4-200208111800/ext/ctype/ctype.c -o > ext/ctype/ctype.lo > In file included from > /var/downloads/php/php4-200208111800/Zend/zend.h:59, > from > /var/downloads/php/php4-200208111800/main/php.h:34, > from > /var/downloads/php/php4-200208111800/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 > /var/downloads/php/php4-200208111800/main/php.h:88, > from > /var/downloads/php/php4-200208111800/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 > > Suggestions? > > Glen > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >--- End Message ---
--- Begin Message ---Hi List :)
Has anyone successfully installed php 4.2.2 in a SuSE 8.
I have an error related to the mysqlclient and another to the gcc :(--- End Message ---
msg06854/bin00000.bin
Description: Öffentlicher PGP-Schlüssel
--- Begin Message ---Hi there, I had successfully installed PHP 4.2.2 with my SuSE 8 Personal Edit ion. I had use the following command to configure the setup ./configure --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/bin/apxs I'm using Apache 2 and mysql 3.23.51 Good Luck Wilmer Geovanny wrote: > Hi List :) > > Has anyone successfully installed php 4.2.2 in a SuSE 8. > I have an error related to the mysqlclient and another to the gcc :(--- End Message ---
--- Begin Message ---hi, first, sorry for my english. i have troubles with variables passed into an URL . eg www.mydomain.com/page.php?variable=1 inside page.php i wana print my variables fallow this code : <? echo "Passed variable: ".$variable; ?> now my OS is RadHat 7.3, Apache/1.3.26 (Unix), PHP/4.2.2, MySQL... i install apache server and php fallow this method : - i remove all rpm installed by RedHat (eg Apache & mysql) - in php4 directory => ./configure --enable-calendar --with-apache=../apache_1.3.26 - make - make install - now in apache directory => ./configure --activate-module=src/modules/php4/libphp4.a - make - make install - i copy php.ini from php-4.2.2 direcory into /usr/local/lib - i add Addtype application for php and add DirectoryIndex index.php... into httpd.conf - finally i run Apache daemon thank's for your HELP... [EMAIL PROTECTED]--- End Message ---
--- Begin Message ---For your problem you have two solutions: First you edit your php.ini and set the 'register_globals' option to 'On' but it is not a good solution. The second one taht is the better of the two is to use the tab $_GET['<name of the variable>'] to get the variable passed in the url. For example replace your code <? echo "Passed variable: ".$variable; ?> with <? echo "Passed variable: ".$_GET['variable']; ?> It will work better Ezekiel "Cezar" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > hi, > > first, sorry for my english. > i have troubles with variables passed into an URL . eg > www.mydomain.com/page.php?variable=1 > inside page.php i wana print my variables fallow this code : > > <? > echo "Passed variable: ".$variable; > ?> > > now my OS is RadHat 7.3, Apache/1.3.26 (Unix), PHP/4.2.2, MySQL... > > i install apache server and php fallow this method : > - i remove all rpm installed by RedHat (eg Apache & mysql) > - in php4 directory => > ./configure --enable-calendar --with-apache=../apache_1.3.26 > - make > - make install > - now in apache directory => > ./configure --activate-module=src/modules/php4/libphp4.a > - make > - make install > - i copy php.ini from php-4.2.2 direcory into /usr/local/lib > - i add Addtype application for php and add DirectoryIndex index.php... into > httpd.conf > - finally i run Apache daemon > > thank's for your HELP... > > [EMAIL PROTECTED] > >--- End Message ---
--- Begin Message --- Title: kerosene Stationery--- End Message ---
Try this:Put 'LoadModule php4_module c:/php/sapi/php4apache.dll' on line 177 after '# Example:'Put 'AddModule mod_php4.c' on line 207 after 'ClearModuleList'Put 'AddType application/x-httpd-php .php' on lline 815 after 'AddType application/x-tar .tgz'It would work better.Ezekiel"Pierre Cousineau" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED]">[EMAIL PROTECTED]...I have installed on my workstation the following:Window XPMySQL 3.23.51PHP 4.2.2-win32Apache 1.3.26-win32.The Apache Server seems to work fine because when I call http://localhost or http://127.0.0.1 I get the Apache screen which seems to tell me that the server is working.My problem is when I try to open a PHP file, I do get a blank sceen in my browser and when I do a view source I still see my commands in PHP. It looks like the web server did not send the script to php for interpretation.In my HTTPD.confI have added the following:LoadModule php4_module c:/php/sapi/php4apache.dll (At the first line of the file)AddModule mod_php4.c (On line 242 at the end of the AddModule list)AddType application/x-httpd-php .php (Line 816 under AddType application/x-tar .tgz)Thanks for your helpPierre Cousineau
Associé Principal
Ventes et Marketing
[EMAIL PROTECTED]
TEL: 613-632-1133
FAX: 613-632-9175