[PHP-INST] sapi/apache/php.sym: file format not recognized; treating as linkerscript
hi, compiling php (4.3.0) staticly with apache (1.3.27) fails during apache configure. same configuration has been working fine with older php releases (eg 4.2.3). anybody able and willing to help? thanks, lh ** A test compilation with your Makefile configuration ** failed. The below error output from the compilation ** test will give you an idea what is failing. Note that ** Apache requires an ANSI C Compiler, such as gcc. Error Output for sanity check cd ..; gcc -DLINUX=22 -DUSE_EXPAT -I./lib/expat-lite `./apaci` -o helpers/dummy helpers/dummy.c -Wl,-rpath,/usr/local/ssl/lib -Wl,-rpath,/usr/src/Node/c-client/lib -Wl,-rpath,/Node/mysql//lib/mysql -Wl,-rpath,/opt/oracle/OraHome1/lib -Wl,-rpath,/usr/local/pgsql/lib -rdynamic -L/usr/local/ssl/lib -L/usr/src/Node/c-client/lib -L/Node/mysql//lib/mysql -L/opt/oracle/OraHome1/lib -L/usr/local/pgsql/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -export-symbols /usr/src/Node/php/sapi/apache/php.sym -rdynamic -L/usr/local/ssl/lib -L/usr/src/Node/c-client/lib -L/Node/mysql//lib/mysql -L/opt/oracle/OraHome1/lib -L/usr/local/pgsql/lib -lc-client -lpq -lmysqlclient -lldap -llber -lcrypt -lpam -lttf -lpng -lz -ljpeg -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lcrypt -ldl -lm -lclntsh -locijdbc8 -lm -lcrypt -ldl /usr/i486-suse-linux/bin/ld:/usr/src/Node/php/sapi/apache/php.sym: file format not recognized; treating as linker script /usr/i486-suse-linux/bin/ld:/usr/src/Node/php/sapi/apache/php.sym:2: parse error collect2: ld returned 1 exit status make: *** [dummy] Error 1 = End of Error Report = -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] installing when no access to /usr/local
hi, i want to install php without a webserver to use it from command line. Iam working in a unix environment and I dont hav access to /usr/local. should there be any specific options i must use with ./configure other than setting the prefix to the desired directory ? Thanks. Pradeep. - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
[PHP-INST] make / gmake errors on TRU64 v5.1a
System: DS20 2x CPU 1Gb OS: TRU64 v5.1a PK2 PHP v4.3.0 Using combinations of the following... Compaq C V6.4-014 Compaq make version 3.13-14 gcc version 3.0.4 GNU Make version 3.79 I get the following make / gmake error... gcc -Imain/ -I/home/fparki/php-4.3.0/main/ -DPHP_ATOM_INC -I/home/fparki/php-4.3.0/include -I/home/fparki/php-4.3.0/main -I/home/fparki/php-4.3.0 -I/home/fparki/php-4.3.0/Zend -I/home/fparki/php-4.3.0/ext/xml/expat -I/home/fparki/php-4.3.0/TSRM -g -O2 -c /home/fparki/php-4.3.0/main/streams.c -o main/streams.o && echo > main/streams.lo /home/fparki/php-4.3.0/main/streams.c: In function `_php_stream_stat': /home/fparki/php-4.3.0/main/streams.c:677: structure has no member named `_F64_stat' /home/fparki/php-4.3.0/main/streams.c: In function `php_stdiop_cast': /home/fparki/php-4.3.0/main/streams.c:1512: warning: cast to pointer from integer of different size gmake: *** [main/streams.lo] Error 1 Can anyone help? Also, I hope to compile this with apache and mysql options. Any gotchas? Thanks Frank ** The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please re-send this communication to the sender and delete the original message or any copy of it from your computer system. Thank You. -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
php-install Digest 16 Jan 2003 15:36:14 -0000 Issue 1204
php-install Digest 16 Jan 2003 15:36:14 - Issue 1204 Topics (messages 9708 through 9713): Re: PHP with 2 diffrent versions of Apache on same machine 9708 by: Bob Lockie Re: php from command line 9709 by: Bob Lockie PHP 4.3.0, can't get CLI to work 9710 by: Brent Meshier sapi/apache/php.sym: file format not recognized; treating as linker script 9711 by: news.php.net installing when no access to /usr/local 9712 by: Pradeep Tallogu make / gmake errors on TRU64 v5.1a 9713 by: Parkin Frank - fparki 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 --- On 01/15/03 10:18 SuratSingh Bhati spoke thusly Hi, I would like to use the Apache2+PHP(latest) , and Apache1.3+PHP(latest) on same machine. We can complie the PHP using the APXS as DSO, using diffrent APXS for each Apache. This will create a sepereate DSO library for each Apache. But PHP installs some other files at /usr/local/lib/php , can we keep commom set of such file for both the Apache version? Someone had such exprience before? Any other complication in by using diffrent Apache version with same PHP version on same server? Regards, -Surat I would just put Apache in different directories. If you build PHP as a DSO then you specify where it puts the shared library (libexec for Apache 1.3 and modules for Apache 2 but under their directories anyways). -- Sent from Mozilla and GNU/Linux. Powered by an AMD processor. --- End Message --- --- Begin Message --- On 01/15/03 19:51 Pradeep Tallogu spoke thusly hi all, i need to try out a few php scripts. do i need to have a webserver installed already to install php. or is there a way i can install php so that i can use it from the command line. Thanks. Pradeep. You don't need a web server. I think the command line version is the default, read the documentation. -- Sent from Mozilla and GNU/Linux. Powered by an AMD processor. --- End Message --- --- Begin Message --- I get the following error from the php client: [bmeshier@martin bmeshier]$ php HTTP/1.0 0 X Content-type: text/html PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php/extensions/imap.so' - /usr/lib/php/extensions/imap.so: undefined symbol: SSL_library_init in Unknown on line 0 Any ideas? On a side note, I had to disable -with-mm, was getting a seg fault with the client although the dso works fine. On a Mandrake 8.1 box I configured and made using - ./configure --with-apxs --with-mysql=/usr --with-mcrypt=shared --with-mhash=shared --enable-pic --enable-inline-optimization --prefix=/usr --with-zlib --with-config-file-path=/etc --enable-magic-quotes --enable-track-vars --with-exec-dir=/usr/bin --with-regex=system --enable-trans-sid --with-dbase --with-filepro --enable-yp --enable-ftp --with-xml=shared --with-gettext --with-gd=shared,/tmp/gd --with-imap=shared,/tmp/imap-2002b --with-pdflib=shared --with-snmp --with-tiff-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-openssl=/usr/local/ssl --with-imap-ssl=/usr/local/ssl --with-kerberos --- End Message --- --- Begin Message --- hi, compiling php (4.3.0) staticly with apache (1.3.27) fails during apache configure. same configuration has been working fine with older php releases (eg 4.2.3). anybody able and willing to help? thanks, lh ** A test compilation with your Makefile configuration ** failed. The below error output from the compilation ** test will give you an idea what is failing. Note that ** Apache requires an ANSI C Compiler, such as gcc. Error Output for sanity check cd ..; gcc -DLINUX=22 -DUSE_EXPAT -I./lib/expat-lite `./apaci` -o helpers/dummy helpers/dummy.c -Wl,-rpath,/usr/local/ssl/lib -Wl,-rpath,/usr/src/Node/c-client/lib -Wl,-rpath,/Node/mysql//lib/mysql -Wl,-rpath,/opt/oracle/OraHome1/lib -Wl,-rpath,/usr/local/pgsql/lib -rdynamic -L/usr/local/ssl/lib -L/usr/src/Node/c-client/lib -L/Node/mysql//lib/mysql -L/opt/oracle/OraHome1/lib -L/usr/local/pgsql/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -export-symbols /usr/src/Node/php/sapi/apache/php.sym -rdynamic -L/usr/local/ssl/lib -L/usr/src/Node/c-client/lib -L/Node/mysql//lib/mysql -L/opt/oracle/OraHome1/lib -L/usr/local/pgsql/lib -lc-client -lpq -lmysqlclient -lldap -llber -lcrypt -lpam -lttf -lpng -lz -ljpeg -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lcrypt -ldl -lm -lclntsh -locijdbc8 -lm -lcrypt -ldl /usr/i486-suse-linux/bin/ld:/usr/src/Node/php/sapi/apache/php.sym: file format not recognized; treating as linker script /usr/i486-suse-linux/bin/ld:/usr/src/Node/php/sapi/apache/php.sym:
[PHP-INST] Undefined variable
Hey all, Thanks in advance for your help... I'm getting an undefined variable error in my code, and I'm not sure what is wrong. I just installed PHP, which is why I am posting here. Contents of the HTML Form: Contents of test.php: Here are the results:"; echo date("H:i, jS F"); echo $custname; ?> I'm getting the following error: NOTICE: undefined variable: custname on d://**path here**/test.php on line 4. (i just put "path name" rather than type out the whole long string) I am running win 2000 server and using IIS 5.0. I ran the PHP installer and then added phpisapi to the windows directory and then added the phpisapi filter in IIS. The date above comes up correctly, but I can't get any variables to move over from the form to the php file. I searched through the help files and through a couple newsgroups with no luck. What am I doing wrong? Thanks! Steve -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-INST] Undefined variable
You are doing nothing wrong as such (Although some critics may claim its sloppy coding, which personally i think is trash!). All that it is, is that PHP is warning you that you are using a variable which does not have a value assigned to it. Since this is from a form page, the most likely problem is to do with 'Register Globals'. When a form is submitted to a page, PHP takes the form details and creates the variables again. Rather than creating '$custname = value', PHP now puts all the values into a 'super-global array'. Basically, since your form uses post to send the details, your variable is created in your script as $_POST["custname"] $_POST is the post superglobal. It contains all the values which come to your script via a 'post' request. There are similar arrays for $_SESSION variables, $_GET variables, $_COOKIE variables and so on. If you have a problem finding out where your values have gone, a simple call to phpinfo(32); will show you all the variables in your script which you can access/use. You can also find more infomation on superglobals at: http://www.php.net/manual/en/security.registerglobals.php http://www.php.net/manual/en/language.variables.predefined.php#language.vari ables.superglobals To stop the notice coming up in the future (i.e. if you do want to use an empty variable for something) simply go to your php.ini and find error reporting. Changing error_reporting = E_ALL to error_reporting = E_ALL & ~E_NOTICE will stop those notices poping up in the future. Hope this answers your question. Any more problems, don't hesitate to email again - Original Message - From: "Stephen Goehler" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 16, 2003 8:49 PM Subject: [PHP-INST] Undefined variable > Hey all, > Thanks in advance for your help... > > I'm getting an undefined variable error in my code, and I'm not sure what is > wrong. I just installed PHP, which is why I am posting here. > > Contents of the HTML Form: > > > > > > Contents of test.php: > echo "Here are the results:"; > echo date("H:i, jS F"); > echo $custname; > ?> > > I'm getting the following error: > NOTICE: undefined variable: custname on > d://**path here**/test.php on line 4. > > (i just put "path name" rather than type out the whole long string) > > I am running win 2000 server and using IIS 5.0. I ran the PHP installer and > then added phpisapi to the windows directory and then added the phpisapi > filter in IIS. The date above comes up correctly, but I can't get any > variables to move over from the form to the php file. > > I searched through the help files and through a couple newsgroups with no > luck. What am I doing wrong? > > Thanks! > > Steve > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] Problems with ImageCreateTrueColor
Hi, I'm running a Matrix server with a modified RedHat Linux install. I've installed PHP 4.3.0, and GD 2.0.10, but the ImageCreateTrueColor and ImageCopyResampled functions are not available, trying to use them just causes browsers to stall, the document returns no data and no errors are left in the server logs. I've tried running NM on the GD libraries, and both functions are there, I've tried reinstalling PHP 4.3.0 to use the supplied GD, AND compiling with my external libraries, but I'm still getting the same problems. I really need those two functions to provide decent Image Upload services on the server, because 256 colours with ImageCreate/ImageCopyResized is just not good enough for my clients. Can someone PLEASE help. I've tried #php on IRC and no-one seems to have a clue what the problem is. My eternal gratitude in advance to anyone with any suggestions Kieran -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-INST] Problems with ImageCreateTrueColor
Hello, Remove all files related to an external GD (including includes), configure php using the option --with-gd, without arg. This will use the bundled GD. hth pierre -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] Php module
Hello everybody!!! I've installed Apache on my computer, Windows 2000 but it doesn't work with php. I've istalled the latest binary, but I can't find the php module to add it... What do I have to do??? I want to have the mysql database funtioning too, but it seems the modules doesn't come with the installer. What should I do? Thank you very much for you time! Sabina Alejandra Schneider[EMAIL PROTECTED]
[PHP-INST] Netscape error
hi, i am trying to install netscape but iam getting that error: ./netscape-installer-bin: error while loading shared libraries: libstdc++-libc6.1-1so.2: cannot open shared object file:no such file or directory please help thanks _ 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
php-install Digest 17 Jan 2003 03:55:10 -0000 Issue 1205
php-install Digest 17 Jan 2003 03:55:10 - Issue 1205 Topics (messages 9714 through 9719): Undefined variable 9714 by: Stephen Goehler 9715 by: Stephen Edmonds Problems with ImageCreateTrueColor 9716 by: Kieran Ashley 9717 by: Pierre-Alain Joye Php module 9718 by: Sabina A. Schneider Netscape error 9719 by: M A 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 --- Hey all, Thanks in advance for your help... I'm getting an undefined variable error in my code, and I'm not sure what is wrong. I just installed PHP, which is why I am posting here. Contents of the HTML Form: Contents of test.php: Here are the results:"; echo date("H:i, jS F"); echo $custname; ?> I'm getting the following error: NOTICE: undefined variable: custname on d://**path here**/test.php on line 4. (i just put "path name" rather than type out the whole long string) I am running win 2000 server and using IIS 5.0. I ran the PHP installer and then added phpisapi to the windows directory and then added the phpisapi filter in IIS. The date above comes up correctly, but I can't get any variables to move over from the form to the php file. I searched through the help files and through a couple newsgroups with no luck. What am I doing wrong? Thanks! Steve --- End Message --- --- Begin Message --- You are doing nothing wrong as such (Although some critics may claim its sloppy coding, which personally i think is trash!). All that it is, is that PHP is warning you that you are using a variable which does not have a value assigned to it. Since this is from a form page, the most likely problem is to do with 'Register Globals'. When a form is submitted to a page, PHP takes the form details and creates the variables again. Rather than creating '$custname = value', PHP now puts all the values into a 'super-global array'. Basically, since your form uses post to send the details, your variable is created in your script as $_POST["custname"] $_POST is the post superglobal. It contains all the values which come to your script via a 'post' request. There are similar arrays for $_SESSION variables, $_GET variables, $_COOKIE variables and so on. If you have a problem finding out where your values have gone, a simple call to phpinfo(32); will show you all the variables in your script which you can access/use. You can also find more infomation on superglobals at: http://www.php.net/manual/en/security.registerglobals.php http://www.php.net/manual/en/language.variables.predefined.php#language.vari ables.superglobals To stop the notice coming up in the future (i.e. if you do want to use an empty variable for something) simply go to your php.ini and find error reporting. Changing error_reporting = E_ALL to error_reporting = E_ALL & ~E_NOTICE will stop those notices poping up in the future. Hope this answers your question. Any more problems, don't hesitate to email again - Original Message - From: "Stephen Goehler" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 16, 2003 8:49 PM Subject: [PHP-INST] Undefined variable > Hey all, > Thanks in advance for your help... > > I'm getting an undefined variable error in my code, and I'm not sure what is > wrong. I just installed PHP, which is why I am posting here. > > Contents of the HTML Form: > > > > > > Contents of test.php: > echo "Here are the results:"; > echo date("H:i, jS F"); > echo $custname; > ?> > > I'm getting the following error: > NOTICE: undefined variable: custname on > d://**path here**/test.php on line 4. > > (i just put "path name" rather than type out the whole long string) > > I am running win 2000 server and using IIS 5.0. I ran the PHP installer and > then added phpisapi to the windows directory and then added the phpisapi > filter in IIS. The date above comes up correctly, but I can't get any > variables to move over from the form to the php file. > > I searched through the help files and through a couple newsgroups with no > luck. What am I doing wrong? > > Thanks! > > Steve > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > --- End Message --- --- Begin Message --- Hi, I'm running a Matrix server with a modified RedHat Linux install. I've installed PHP 4.3.0, and GD 2.0.10, but the ImageCreateTrueColor and ImageCopyResampled functions are not available, trying to use them just causes browsers to stall, the document returns no data and no errors are left in the server logs. I've tried running NM on the GD libraries, and both functions are there, I've tried reinstalling PHP 4.3.0 to use the supplied GD, AND compiling with my external libraries, but I'm still getting th