php-install Digest 7 Jan 2002 23:39:48 -0000 Issue 638
Topics (messages 5495 through 5507):
compiling PHP (any version) on cobalt linux
5495 by: Drew
Re: NEWBIE IN DISTRESS: Install Instructions are not work for PHP 4.1.1!!!
5496 by: Freddy Vulto
--enable-trans-sid don't work any more!!
5497 by: Martin Rode
Sorry for my previous post (was --enable-trans-sid)
5498 by: Martin Rode
Compiled version of PHP 4.1.1 for Mandrake 8.1
5499 by: Programmer
Help me PHP + libgd
5500 by: Marecky
uninstall and install php
5501 by: jhony fready dcosta
Help! Apache doesn't recognize my php files!!!!
5502 by: Ignacio Sosa
Problems with mm shared memory session handler on Linux 2.2.19
5503 by: Rick Morris
Postgresql and PHP/Apache for windows question
5504 by: HBz7777.aol.com
Installation Problems
5505 by: Dave Lurie
PHP4 with Imap on RH 7.2 fails
5506 by: Jens Ansorg
Lex issue when installing PHP
5507 by: Robert Abbate
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 ---
Hello All,
I tried to compile PHP last night on one of my company's RaQ servers and it
appears to have configured, ran make and make install fine, however when I
fire up apache I keep getting Undefined_Symbol errors, they seem to be
random with no specific one happening over and over.
Sample errors I get.
Undefined_Symbol BIO_mem_buf (this seems to be the most common one, so I'll
stick with this one)
This happens when I attempt to fire up Apache (tried on version 1.3.6 and
1.3.22)
I checked around and found out it appears that PHP 4.0.6 doesn't compile
correctly due to a bug in APXS on this version of linux (atleast the base
install of this OS)
So I tried the suggestion of 4.0.5 as well as 4.0.4p11 and neither would run
(but they did compile)
If I comment out the line trying to load libphp4.so, then Apache happily
gets to serving documents, with it enabled it pukes.
Any ideas on this one?
Thanks,
Drew
--- End Message ---
--- Begin Message ---
My module configuration (Win98, Apache 1.3.22, PHP 4.1.1) started working
after I added the line:
AddModule mod_php4.c
to httpd.conf. This seems to be an omission from the install.txt as stated
in the php.windows thread "Apache 1.3.22 and PHP 4.1.0" d.d. Jan 3, 2002.
It's added as note to the on-line manual
(http://www.php.net/manual/en/install.apache.php):
"Note: In Apache 1.3.22 for Windows, the default configuration file
(httpd.conf-dist-win) has a ClearModuleList directive included by default.
If this directive is used, it is required to put an AddModule mod_php4.c to
the AddModule list, as else PHP will not be registered as an Apache module."
HTH, Freddy Vulto
Mark <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I apologize if the title of this post sounds overly aggresive, but I have
> followed the instructions to a 'T' and got nowhere!! I have tried the
> "auto" install version of PHP and manual instructions for installing PHP
> 4.1.1. Neither of them work. I added the lines to my httpd.conf file for
> both types of installs (not at the same time) as discribed in the
> Install.txt file, along with the instructions on the website, and can get
no
> "test" scripts to run or PHP for that matter. All I get is a blank screen
> when running the CGI version or can not even get apache to load when I try
> the Module version (Get a "Requested Operation Failed" message). can
> someone please help????? My system is as follows:
>
> Windows 2000 SP2
> Apache 2.0.28 (I have also tried version 1.3.22 with same results as
> mentioned above)
> PHP 4.1.1
> MDAC 2.7
> MySQL 3.23.46a
>
> Thanks in advance!!
>
> Mark
>
>
--- End Message ---
--- Begin Message ---
Since I've upgraded to 4.1.1 from 4.0.6 the --enable-trans-sid don't
work for me any more.
1) Test script is as easy as (taken from php documentation):
---------------------------
<?php
session_register ("count");
$count++;
?>
Hello visitor, you have seen this page <?php echo $count; ?> times.<p>;
To continue, <A HREF="test.php">click here</A>
<?php
phpinfo();
?>
-------------------------
2) relevant lines in php.ini are:
session.use_cookies = 0 (changed from default 1)
session.use_trans_sid = 1
url_rewriter.tags =
"a=href,area=href,frame=src,input=src,form=fakeentry"
---------------------------
3) phpinfo() gives me:
./configure' '--with-mysql' '--enable-xslt' '--with-xslt-sablot'
'--with-apxs' '--with-curl'--enable-trans-sid'
session.use_cookies Off Off
session.use_trans_sid 1 1
What happens is:
Netscape 4.7 (Cookies on): PHP uses Cookies to track the session id,
although I turned it OFF!!
Netscape 4.7 (Cookies off): PHP don't uses Cookies and is unable to
track the session id at all
With 4.0.6 I had to _NOT_ use the url_rewriter.tags in order to get url
rewriting to work. With 4.1.1 neither with nor without url_rewriter.tags
works.
What am I missing here???
Regards,
;Martin
P.S.: I'm trying to play with XSLT (Sablotron) and it happens that every
5th request Sablotron crashes with SIG11, everyone else experiencing
this problem??
--- End Message ---
--- Begin Message ---
Sorry guys,
I found the bug in the script included in php documentation.
url-rewriting does not work in the script because the url is not given
within php code.
;martin
--- End Message ---
--- Begin Message ---
I am looking for with compiled version of the newest PHP 4.1.1 for
Linux Mandrake 8.1.
--
Jaroslaw
--- End Message ---
--- Begin Message ---
I have configured PHP with gd, zlib and png but I can't display images
Here is configure output:
Configuring extensions
checking if the location of ZLIB install directory is defined... no
checking whether to include ZLIB support... yes
checking for gzgets in -lz... yes
checking whether to include GD support... yes
checking for the location of libpng... yes
checking for png_info_init in -lpng... yes
checking for gdImageString16 in -lgd... yes
checking for gdImagePaletteCopy in -lgd... yes
checking for gdImageCreateFromPng in -lgd... yes
checking for gdImageCreateFromGif in -lgd... no
checking for gdImageGif in -lgd... no
checking for gdImageWBMP in -lgd... yes
checking for gdImageCreateFromJpeg in -lgd... no
checking for gdImageCreateFromXpm in -lgd... yes
checking for gdImageCreateFromGd2 in -lgd... yes
checking for gdImageCreateTrueColor in -lgd... no
checking for gdImageSetTile in -lgd... yes
checking for gdImageSetBrush in -lgd... yes
checking for gdImageStringTTF in -lgd... yes
checking for gdImageStringFT in -lgd... yes
checking for gdImageStringFTEx in -lgd... no
checking for gdImageColorClosestHWB in -lgd... yes
checking for gdImageColorResolve in -lgd... yes
checking for gdImageGifCtx in -lgd... no
while 'making' there is creation of ext/zlib ext/gd directories but not
ext/png does it mean that i made something wrong?
PNG testing 'make test' went OK
I cannot display PNGs - error is appearing
While trying to display WBMP (ImageWBMP function is accessible) there is no
error but image does not appear. Can I display it in WAP browser only?
--- End Message ---
--- Begin Message ---
Dear All,
My system is red hat 6.2 and got Apache 1.3, Mysql 3.22.32, postgres 6.5 and php
3.0.16, installed on it. This PHP of mine doesn't have any support for MYSQl and also
for postgres. As the version 4 of PHP is already out, I would like to install it with
the support for MYSQL+Postgres.
However,I am totally new to all this. I would appreciate to have some guidelines on
how I can uninstall(or upgrade) my existing PHP to PHP 4, so that it would have all
the supports which I have mentioned above.
Thanks in anticipation
Fready
--- End Message ---
--- Begin Message ---
Hi.
I have installed the PHP4 and I did the "make" and "make install" to Apache
after the "configure --activate-module=src/modules/php4/libphp4.a", and it
seems that all was right but when I try to see the php test page the apache
server manage the file as a data file and ask for Opening or Saving to disk.
I have uncommented the "AddType" lines for php4 in httpd.conf and restarted
the server with "apachectl stop" and "apachectl start". I also configured
properly the php.ini file.
I don't know what is going wrong! Can anyone help me please?
Thanks.
--- End Message ---
--- Begin Message ---
Hi,
I keep getting segfaults, such as:
[Mon Jan 7 10:02:15 2002] [notice] child pid 20400 exit signal Segmentation
fault (11)
This happens whenever I set session.save_handler to mm in php.ini
The platform:
Linux kernel 2.2.19 on a Rackspace server (Gigahertz athlon, 1 GB RAM)
Apache 1.3.19
PHP-4.1.1
./configure --with-apxs=/usr/sbin/apxs --with-config-file-path=/etc/httpd
\
--enable-inline-optimization --with-exec-dir=/usr/bin --with-zlib \
--enable-shmop --with-mysql=/usr --with-mm
mm-1.1.3
./configure --prefix=/usr
The first time I tried this, I added --disable-shared to the mm configure
options. This resulted in an all-recursive error compiling PHP:
/usr/lib/libmm.a(mm_global.o): In function `MM_create':
mm_global.o(.text+0x0): multiple definition of `MM_create'
Zend/.libs/libZend.al(mm_global.o)(.text+0x0): first defined here
/usr/lib/libmm.a(mm_global.o): In function `MM_permission':
mm_global.o(.text+0x2c): multiple definition of `MM_permission'
..etc...
When I re-compiled mm with standard options, then PHP compiled fine, but
gradually kept producing more segfaults, until finally no PHP script with
sessions would run.
The server is getting fairly heavy load, often running as many as 300 httpd
processes, each getting very frequent requests.
Any and all help appreciated, because the session usage is killing the
server, and I was hoping mm as a session handler would help.
Thanks,
Rick Morris
--- End Message ---
--- Begin Message ---
Hey there
I am running Win 2000 on my laptop, have apache_1.3.22-win32-x86.msi
installed
and PHP Version 4.0RC2. I also have cygwin installed and postgresql-7.1.3
installed.
I dont know how to get PHP to load postgresql module. I understand how to do
it on Linux. Do i need a certain .dll? Any help and support to my email would
be great.
Thanks
Hod
--- End Message ---
--- Begin Message ---
I'm a professional webdesigner, but a recent job i recieved asked me to host
the webpage on my computer, which means i'm trying to install php on my own
system.
I have done so, but when opening a .php file i see the source code and it's
ignoring that php exists. If i stick <html> on the start to make it an html
page it translate the html parts into being visible properly, but the php
parts are still ignored.
I'd appreciate a direct reply to [EMAIL PROTECTED]
Thankyou
David Lurie
--- End Message ---
--- Begin Message ---
I try to build php 4.1 on RH 7.2, apache with Imap support
I tried the RH supplied imap RPMs
I tried to build the IMAP myself as described on php.net
It does not work :-((
Now, configure with my usual stuff and
--with-imap --with-kerberos --with-imap-ssl
runs without any errors
then I "make" and at the very End I get
*** Warning: This library needs some functionality provided by -lc-client.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
I "make install" nevertheless and try to run httpd and I get
Cannot load /usr/lib/apache/libphp4.so into server:
/usr/lib/apache/libphp4.so: undefined symbol: mmdfdriver
any Idea what's going wrong here?
thanks
Jens
--- End Message ---
--- Begin Message ---
I get a strange error when running configure:
....
checking whether ln -s works... yes
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: lex: command not found
configure: error: cannot find output from lex; giving up
Any ideas? Can't find "lex" on my system anywhere...where do I get it?
running: Mandrake Linux 8.1
installing: php 4.1.1
--- End Message ---