php-install Digest 18 Oct 2002 13:21:54 -0000 Issue 1075
Topics (messages 8845 through 8851):
php-4.2.3 on Netscape 3.51
8845 by: Brian Vaughan
Undefined Symbol "pthread_getspecific"
8846 by: Tim Legg
cookies
8847 by: Marcus Van Wyk
var problem
8848 by: Marcus Van Wyk
8849 by: Pierre-Alain Joye
System() problem related with instalation
8850 by: Paulo Trezentos
select distinct in query
8851 by: electroteque
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 am trying to install php with a very old version on Netscape server.
Version 3.51 on Solaris 7
I get a clean configure, make, and install, and have followed all Netscape
intructions...and i restarted. But on requesting a php page, I am prompted
to download, and I get the page source. The mime-type is set correctly:
type=magnus-internal/x-httpd-php exts=php
but after requesting the file, the server log contains no error. Just a
200 entry:
[17/Oct/2002:18:49:55 -0400] "GET /info.php HTTP/1.1" 200 31
I can also see a msg saying that the php module loaded ok:
[17/Oct/2002:18:34:40] info: php4_init reports: Initialized PHP Module
Are there any issues with php on versions of Netscape as old as v3.51? If
not, is there something additional I need to do?
thanks!
**********
Brian Vaughan
Corporate Webmaster, Web Services
FAME Information Services, Inc.
325 E. Eisenhower Parkway, Suite #301
Ann Arbor, MI 48108, U.S.A.
Tel: 734.332.4382 Fax: 734.332.4440
e-mail: [EMAIL PROTECTED]
http://www.fame.com/
--- End Message ---
--- Begin Message ---
> >FreeBSD 4.6 //
> >Apache 2.0.43 //
> >Mailman 2.0.13 //Gnu mailing list management software
> >MySQL 3.23.52 //
> >
I decided to reinstall apache with a newer version (previously 1.3.26) and
I saw to it that mod_so was enabled.
I followed these install steps,
#./configure --prefix=/usr/local/php-4.2.3/ --with-mysql=/usr/local/mysql/
--with-apxs2=/usr/local/apache/bin/apxs --with-apache2=/usr/local/apache
#make
#make install
In Apache's httpd.conf, I verified that,
LoadModule php4_module modules/libphp4.so
existed. It resided on line 230 of /usr/local/apache/conf/httpd.conf
I had to manually enter,
AddType application/x-httpd-php .php
and when I restarted, apache complained by saying that,
Syntax error on line 230 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/modules/libphp4.so into server:
/usr/local/apache/modules/libphp4.so: Undefined symbol "pthread_getspecific"
What does this mean? What can be done about it?
--- End Message ---
--- Begin Message ---
Has anyone worked with a php package off the net called irm
==========================================================
This message contains information intended for the perusal, and/or use (if
so stated), by the stated addressee(s) only. The information is
confidential and privileged. If you are not an intended recipient, do not
peruse, use, disseminate, distribute, copy or in any manner rely upon the
information contained in this message (directly or indirectly). The sender
and/or the entity represented by the sender shall not be held accountable
in the event that this prohibition is disregarded. If you receive this
message in error, notify the sender immediately by e-mail, fax or telephone
representations contained in this message, whether express or implied, are
those of the sender only, unless that sender expressly states them to be
the views or representations of an entity or person, who shall be named by
the sender and who the sender shall state to represent. No liability shall
otherwise attach to any other entity or person.
==========================================================
--- End Message ---
--- Begin Message ---
Hi there
I have just set up Mandrake 8
configure php to work with apache this was my config command line.
./configure' '--with-mysql' '--with-apache=../apache_1.3.26/' '--enable-bcmath'
'--disable-static' '--disable-debug' '--disable-rpath' '--enable-pic'
'--enable-inline-optimization' '--prefix=/usr' '--with-zlib'
'--with-config-file-path=/etc' '--enable-magic-quotes' '--enable-track-vars'
'--enable-safe-mode' '--with-exec-dir=/usr/bin' '--with-regex=system'
'--enable-sysvsem' '--enable-sysvshm' '--with-mod_charset'
'--enable-force-cgi-redirect' '--with-mm' '--enable-trans-sid' '--with-dbase'
'--with-filepro' '--enable-yp' '--enable-ftp' '--with-xml' '--with-gettext'
when i do this
####### test.php ##############
<?
print ("<form action=test2.php method=post>");
print ("<input type=text name=name>");
print ("<input type=submit name=submit value=submit>");
print ("<form>");
?>
########### test2.php ##########
<?
print $name;
?>
Nothing happens when I go to test2.php
the $name doesn't print.
Any assistance in this would be appreciated
Marcus
==========================================================
This message contains information intended for the perusal, and/or use (if
so stated), by the stated addressee(s) only. The information is
confidential and privileged. If you are not an intended recipient, do not
peruse, use, disseminate, distribute, copy or in any manner rely upon the
information contained in this message (directly or indirectly). The sender
and/or the entity represented by the sender shall not be held accountable
in the event that this prohibition is disregarded. If you receive this
message in error, notify the sender immediately by e-mail, fax or telephone
representations contained in this message, whether express or implied, are
those of the sender only, unless that sender expressly states them to be
the views or representations of an entity or person, who shall be named by
the sender and who the sender shall state to represent. No liability shall
otherwise attach to any other entity or person.
==========================================================
--- End Message ---
--- Begin Message ---
hello,
After you made 'make install' there was a long note about
REGISTER_GLOBALS, if you missed it, read carefully the manual :) :
http://fr2.php.net/manual/en/language.variables.external.php
pa
--- End Message ---
--- Begin Message ---
Hi all!
I have a problem with running PHP (4.0.4pl1-90) with Apache (1.3.19-66)
in a Linux SuSE 7.2 system.
PHP is ok with several functions but when I use system() function it has
a strange behavior.
For intance:
system("/bin/ls");
will try to run /ls and not /bin/ls. this is confirmed bu the httpd log:
sh: /ls: No such file or directory
The same call (in the same PHP script) works fine in other servers (with
different versions of Apache and PHP).
I tried in a server with the same version of Apache and PHP and the
misbeahviour of PHP also happens.
Also have tried get a httpd.conf file from a server where it runs ok but
it gives the same error.
Since this is a normal SuSE distribution it shouldn't happen and I have
look a lot in the web wand got no answers (right.. first I used Google
:-)).
Thank you for the help.
Best regards,
Paulo.
--
_____________________________________________________
|ADETTI/RSI (IS/IT Research and Development)
|FP: 1B13 55A2 5045 2271 BA66 762B B2AE 7EC0 E4B3 0AB7
--- End Message ---
--- Begin Message ---
hi guys i am trying to use a distint query like so
"SELECT DISTINCT tp.userID,DATE_FORMAT(tp.date,\"%W, %D %M %Y\") AS
date,tp.photo,tp.galleryID,u.username,g.gallery FROM temp_photos tp LEFT
JOIN users u ON tp.userID=u.userID LEFT JOIN galleries g ON
tp.galleryID=g.galleryID"
i am getting many results as photo is different, i am needing to simply get
distinct on the userID and want to get the other fields aswell, how is this
possile ?
--- End Message ---