php-install Digest 24 Sep 2002 01:36:45 -0000 Issue 1036
Topics (messages 8523 through 8537): Re: Configuring PHP 8523 by: Rasmus Lerdorf 8525 by: Luck Configure error PHP4.2.3 / Mandrake 8.2 8524 by: Rune Kallhovd Re: error with pow() after upgrade 8526 by: GoodnGo.de \(R\) Zentrale Installing PHP as a CGI Interpreter RedHat7.3 apache 1.3.26 8527 by: GoodnGo.de \(R\) Zentrale 8528 by: GoodnGo.de \(R\) Zentrale 8531 by: Jim Thome Image functions 8529 by: Michael F. 8530 by: Brian.Duke.Level3.com Help With Installing PHP with Apache 2.40 on W2K 8532 by: Aghajanian Cpl Michael B php as CGI and Module 8533 by: GoodnGo.de \(R\) Zentrale 8536 by: Johannes Janson im a PHP newbie, please help :D 8534 by: DAn 8535 by: Moraes, Fabio [confirm: d31f508dff52fa99949b3ebb3e798ec0 [EMAIL PROTECTED]] 8537 by: Bān 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 ---Please provide some useful info here. Which OS, which version of gcc, what is on line 3211 of your zend_language_scanner.c? On Mon, 23 Sep 2002, Luck wrote: > Hello > This is my problem > when I configure php under slackware linux (./configure) everything is ok, > but > when I enter 'make' command, I've got these errors > > Making all in Zend > make[1]: Entering directory `/install/php/php-4.2.3/Zend' > /bin/sh ../libtool --silent --mode=compile > gcc -DHAVE_CONFIG_H -I. -I. -I../main -I../TSRM -g -O2 -prefer-non-pic -s > tatic -c zend_language_scanner.c > zend_language_scanner.c:3211: parse error before `3' > make[1]: *** [zend_language_scanner.lo] Error 1 > make[1]: Leaving directory `/install/php/php-4.2.3/Zend' > make: *** [all-recursive] Error 1 > > All versions of php (from 4.0.0 to 4.2.3) gives similar errors. > Whats wrong? > > -- > > Luck > [EMAIL PROTECTED] > www.zonamp3.prv.pl > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >--- End Message ---
--- Begin Message ---Uzytkownik "Rasmus Lerdorf" <[EMAIL PROTECTED]> napisal w wiadomosci [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Please provide some useful info here. Which OS, which version of gcc, > what is on line 3211 of your zend_language_scanner.c? Mys os i Linux Slackware 8.0. I have gcc 2.95.3 installed (by command 'installpkg' on gcc.tgz file). On line 3211 I have: 3199: #ifndef YY_NO_INPUT 3210: #ifdef __cplusplus 3211: static int 3 YY_PROTO(( TSRMLS_D )); 3212: #else 3213: static int input YY_PROTO(( TSRMLS_D )); 3214: #endif 3215: #endif -- Luck [EMAIL PROTECTED] www.zonamp3.prv.pl--- End Message ---
--- Begin Message ---+--------------------------------------------------------------------+ | *** ATTENTION *** | | | | Something is likely to be messed up here, because the configure | | script was not able to detect a simple feature on your platform. | | This is often caused by incorrect configuration parameters. Please | | see the file debug.log for error messages. | | | | If you are unable to fix this, send the file debug.log to the | | [EMAIL PROTECTED] mailing list and include appropiate | | information about your setup. | +--------------------------------------------------------------------+ Hi, Got the above message after configure of PHP4.2.3 on Mandrake 8.2. (A search on php.net bug database did not reveal anything helpful.) $ORACLE_HOME is automounted and running on Solaris 2.6. gcc version 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk) After configuring, 'make' & 'make install' runs fine, but when activating libphp4.a for Apache 1.3.26: ./config.status --enable-module=src/modules/php4/libphp4.a configure exits with: /usr/bin/ld: cannot find -lsocket collect2: ld returned 1 exit status Content of debug.log below: debug.log: ========== CONFIGURE: './configure' '--with-apache=/opt/httpd' '--with-config-file-path=/opt/www/conf' '--enable-track-vars' '--with-oci8=/net/nume/disk48/oracle/816' '--enable-sigchild' CC: gcc CFLAGS: -g -O2 CPPFLAGS: CXX: CXXFLAGS: INCLUDES: -I/opt/httpd/src/include -I/opt/httpd/src/os/unix -I$(top_builddir)/Zend -I/opt/php/ext/mysql/libmysql -I/net/nume/disk48/oracle/816/rdbms/public -I/net/nume/disk48/oracle/816/rdbms/demo -I/net/nume/disk48/oracle/816/network/public LDFLAGS: -Wl,-rpath,/net/nume/disk48/oracle/816/lib -L/net/nume/disk48/oracle/816/lib LIBS: -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lcrypt -lnsl -lsocket -lgen -ldl -lsched -lclntsh DLIBS: SAPI: apache PHP_RPATHS: /net/nume/disk48/oracle/816/lib uname -a: Linux hellcat 2.4.18-6mdk #1 Fri Mar 15 02:59:08 CET 2002 i686 unknown gcc -o conftest -g -O2 -Wl,-rpath,/net/nume/disk48/oracle/816/lib -L/net/nume/disk48/oracle/816/lib conftest.c -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lcrypt -lnsl -lsocket -lgen -ldl -lsched -lclntsh 1>&5 /usr/bin/ld: cannot find -lsocket collect2: ld returned 1 exit status =================== -- ======= Rune Kallhovd, CORENA Norge AS, ======= = Dyrmyrgt. 35, N-3611 Kongsberg, NORWAY = = Tlf: +47 32 71 72 17 Fax: +47 32 71 72 01 = == CORENA Home Page: http://www.corena.com ==--- End Message ---
--- Begin Message ---Hello Master of PhP, I am a perl hacker, so donīt yell on me. I want to run php scripts and install PHP as a CGI Interpreter. I am running RedHat 7.3, apache 1.3.23 and downloaded php-4.1.2-7.3.4.src.rpm for compiling of a php 4.1.2 kernel source. After compiling php with the flags: ./configure --with-apxs --with-pgsql It wonīt work with php - skripts. Anybody here, who can tell me how I can run php-skripts by PHP as a CGI-Interpreter. And hos I have to install it? Or know some good links, where I can read about? Sincerely Oliver Etzel flatrate serverhousing www.t-host.com--- End Message ---
--- Begin Message ---Hello Master of PhP, I am a perl hacker, so donīt yell on me. I want to run php scripts and install PHP as a CGI Interpreter. I am running RedHat 7.3, apache 1.3.23 and downloaded php-4.1.2-7.3.4.src.rpm for compiling of a php 4.1.2 kernel source. After compiling php with the flags: ./configure --with-apxs --with-pgsql It wonīt work with php - skripts. Anybody here, who can tell me how I can run php-skripts by PHP as a CGI-Interpreter. And hos I have to install it? Or know some good links, where I can read about? Sincerely Oliver Etzel flatrate serverhousing www.t-host.com--- End Message ---
--- Begin Message ---Hello Master of PhP, I am a perl hacker, so donīt yell on me. I want to run php scripts and install PHP as a CGI Interpreter. I am running RedHat 7.3, apache 1.3.23 and downloaded php-4.1.2-7.3.4.src.rpm for compiling of a php 4.1.2 kernel source. After compiling php with the flags: ./configure --with-apxs --with-pgsql It wonīt work with php - skripts. Anybody here, who can tell me how I can run php-skripts by PHP as a CGI-Interpreter. And hos I have to install it? Or know some good links, where I can read about? Sincerely Oliver Etzel flatrate serverhousing www.t-host.com--- End Message ---
--- Begin Message ---Remove the switch --with-apxs and recompile to get the PHP binary. >>> "GoodnGo.de (R) Zentrale" <[EMAIL PROTECTED]> 09/23/02 06:30AM >>> Hello Master of PhP, I am a perl hacker, so don t yell on me. I want to run php scripts and install PHP as a CGI Interpreter. I am running RedHat 7.3, apache 1.3.23 and downloaded php-4.1.2-7.3.4.src.rpm for compiling of a php 4.1.2 kernel source. After compiling php with the flags: ./configure --with-apxs --with-pgsql It won t work with php - skripts. Anybody here, who can tell me how I can run php-skripts by PHP as a CGI-Interpreter. And hos I have to install it? Or know some good links, where I can read about? Sincerely Oliver Etzel flatrate serverhousing www.t-host.com -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php--- End Message ---
--- Begin Message ---Hello, I have the following code: $return_val = ( ($img = ImageCreateFromJPEG ( $image_file_path )) && $return_val == 1 ) ? "1" : "0"; but I become the following error message: Fatal error: Call to undefined function: imagecreatefromjpeg() in C:\Program Files\Apache Group\Apache2\htdocs\resize.php on line 31 I use WindowsXp, Apache 2.0.40 and php 4.2.2. How I have to install/configure my system to correct this problem? Thanks!--- End Message ---
--- Begin Message ---Do you have a function by the name of imagecreatefromjpeg() in your "resize.php" script located in "C:\Program Files\Apache Group\Apache2\htdocs\" folder? -----Original Message----- From: Michael F. [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 10:58 AM To: [EMAIL PROTECTED] Subject: [PHP-INST] Image functions Hello, I have the following code: $return_val = ( ($img = ImageCreateFromJPEG ( $image_file_path )) && $return_val == 1 ) ? "1" : "0"; but I become the following error message: Fatal error: Call to undefined function: imagecreatefromjpeg() in C:\Program Files\Apache Group\Apache2\htdocs\resize.php on line 31 I use WindowsXp, Apache 2.0.40 and php 4.2.2. How I have to install/configure my system to correct this problem? Thanks! -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php--- End Message ---
--- Begin Message ---Here is attached my httpd.conf file. Whenever I run the Apache service it says "The requested operation has failed". When I comment out theLoadModule php4_module C:\php\sapi\php4apache.dllIt works like a charm. Of course no PHP. What am I doing wrong. The documentation was not very good. Please help....-Cpl Aghajanian
25th Marine Regiment
HQ CO COMM
Tactical Data Planner
910-450-8427--- End Message ---
--- Begin Message ---Hello Masters of PhP, one of my clients wants to run php on his server as CGI and as a Module DSO. Who can help me compile How-To? Apache configuring How-To? Oliver Etzel--- End Message ---
--- Begin Message ---Hi, although I'd never rekon myself to be a "master" of PHP (nor anything else getting close to this...) I'd say you could have a look into this arcticle: http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/page1.html hope it helps J Goodngo.De Zentrale wrote: > Hello Masters of PhP, > > one of my clients wants to run php on his server as CGI and as a Module DSO. > > Who can help me > > compile How-To? > Apache configuring How-To? > > Oliver Etzel > >--- End Message ---
--- Begin Message ---HELP!! Am I right in thinking that creating a link on a page that reads: photos.php?pageNum=1 should create a variable named $pageNum with a value of 1? The problem is that when I try to use the pageNum variable it has no value. I am having the same problem with forms as well - I cannot retrieve data from a form using either GET or POST. Is this something to do with how PHP4 is set up or is it my server? Im currently running IIS on Windows XP altho I had the same problem with Apache. Thanx Dan--- End Message ---
--- Begin Message ---if you're using PHP <= 4.1.x, you'd be right. if you're using PHP 4.2.x, you'll need to use $pageNum = $_GET['pageNum'] and then, use normally $pageNum. kisses, :) --- Fabio Moraes [EMAIL PROTECTED] +55 21 3088 9548 > -----Original Message----- > From: DAn [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 23, 2002 4:22 PM > To: [EMAIL PROTECTED] > Subject: [PHP-INST] im a PHP newbie, please help :D > > > HELP!! > > Am I right in thinking that creating a link on a page that reads: > > photos.php?pageNum=1 > > should create a variable named $pageNum with a value of 1? > > The problem is that when I try to use the pageNum variable it > has no value. > > I am having the same problem with forms as well - I cannot > retrieve data > from a form using either GET or POST. > > Is this something to do with how PHP4 is set up or is it my server? Im > currently running IIS on Windows XP altho I had the same problem with > Apache. > > Thanx > Dan > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >--- End Message ---
--- Begin Message -------- Original Message ----- From: "Bān" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, September 23, 2002 9:30 PM Subject: [EMAIL PROTECTED] > > ----- Original Message ----- > From: "PHP Lists Automoderator" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, September 23, 2002 9:07 PM > Subject: PHP list posting confirmation for [EMAIL PROTECTED] > > > > Because you are not subscribed to "[EMAIL PROTECTED]" > > using the email address "[EMAIL PROTECTED]", your message > > has been held until you can confirm that you are a real person sending > > mail. > > > > All you have to do in order to have your original message sent is send > > an email to [EMAIL PROTECTED] with the following text (square > > brackets and all): > > > > [confirm: d31f508dff52fa99949b3ebb3e798ec0 [EMAIL PROTECTED]] > > > > which you should be able to do simply by responding to this email. > > (Don't worry, any leading text added for quoting will simply be > > ignored.) > > > > After we have received your confirmation, "[EMAIL PROTECTED]" > > will be added to the list of pre-approved mail addresses for all of > > the PHP mailing lists, your original message will be delivered, and > > future emails from that address will be posted to the list > > automatically. > > > > You will not receive any confirmation of your confirmation -- your > > original message (and any other messages you have sent since then) > > will simply be sent to its original destination (possibly after a > > short delay). > > > > Sorry for the hassle, but the volume of unsolicited commercial > > email sent to PHP mailing lists has made this step necessary. > > > > (Note that the newsgroups available at news://news.php.net/ are > > simply gateways to the mailing lists, which is why you may have > > gotten this email as a result of posting to those newsgroups.) > > > > --- Your original email is below. > > > > Received: (qmail 66581 invoked by uid 1007); 24 Sep 2002 01:07:10 -0000 > > Message-ID: <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > > From: "Bān" <[EMAIL PROTECTED]> > > Subject: Submit variable between different pages > > Date: Mon, 23 Sep 2002 21:05:32 -0400 > > Lines: 8 > > X-Priority: 3 > > X-MSMail-Priority: Normal > > X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 > > X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 > > X-Posted-By: 24.58.18.227 > > > > Strange, I don't know what is going on with the current version 4.2.3. > > However, with version 4.1.2, I was able to make a variable from one page > > and hit a submit, the next page that processes the submit was able to > > recognize the variable. Unfortunately, version 4.2.3 doesn't allowed > that. > > I'd tried to make the variable global too but NO lucks. So could someone > > please tell me how to get around this problem with the newer version? > > >--- End Message ---