php-install Digest 5 Nov 2002 20:51:36 -0000 Issue 1105
Topics (messages 9032 through 9042):
Re: php install problems
9032 by: Michael Lougee
php + imap config error
9033 by: Amaury DAILLIEZ
Re: php 4.2.3+apache 2.0.43
9034 by: Lou Picciano
9039 by: Jeffrey_N_Dyke.Keane.com
configure problem
9035 by: Amaury DAILLIEZ
9036 by: Adam Voigt
9037 by: Amaury DAILLIEZ
9038 by: Adam Voigt
php using nsapi for iplanet
9040 by: Anderson, Jerrad
Re: sockets install problem
9041 by: Gareth Thomas
Re: PHP 4.2.* & GD 2.0.4
9042 by: Wilmer Geovanny
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 think your Apache ./configure is missing a parameter in order to use php as a DSO,
which it
looks like your trying to do. Try
./configure --prefix=[path] --enable-module=so
where [path] is where you want the apache installation to go.
New at this, just a supposition, worked for me :).
Mike
>>> Kalin Mintchev <[EMAIL PROTECTED]> 11/04/02 06:50PM >>>
hi all,
after compiling php 4.2.3 for apache 2.0.43 i get this massages
Syntax error on line 231 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp4.so into server:
/usr/local/apache2/modules/libphp4.so: Undefined symbol
"pthread_getspecific"
the os is FreeBSD 4.6
i tried different apaches and different php versions. the first time i
used the BSD ports but i got compiling php errors. after trying 3 -4
different versions of apaches with PHPs i still get the same error.
apache runs fine without the LoadModule php4_module modules/libphp4.so
line...
for apache i just used the standard installation procedure:
./configure; make; make install
for php:
./configure --with-mysql --with-apxs2=/my/path/to/apxs
i found documentation to use also --with-trms-pth
which i did installing first the gnu pth-1.4.1 package
every time i get the same error...
so now i'm out of options and any suggestion or help will be
appreciated...
thanks...
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hey all !
so, no way for my php+imap configure problem ?
Bye
--- End Message ---
--- Begin Message ---
See, I was lucky also with OpenSSL...
The major building blocks:
Apache 2.0.40
PHP - 4.3.0 dev (pretty recent snapshot - can check which if it matters)
OpenSSL - 0.9.6g
MySQL-4.0.4-beta-max
(I even got XML and expat working - this is what was giving me trouble!)
My compile options (from phpinfo() ) on this build are:
'./configure'
'--with-apxs2=/usr/apache2/bin/apxs' '--with-config-file-path=/etc'
'--enable-track-vars' '--enable-debug' '--with-openssl' '--with-zlib'
'--enable-bcmath' '--with-bz2' '--with-kerberos' '--with-ldap'
'--enable-mbstring' '--with-mysql=/usr/local/mysql'
If I remember correctly, the Track Variables option was important in this
build...
Can I help further?? Lou
> Sharing.....if you're interested....
>
> since i have posted the other one, i feel inclined to add....Yes, i have
> had luck with Apache 2.039 and PHP 4.23-dev(from snaps.php.net a few months
> ago). - Soloris 8. The luck i had with the 4.2branch was only compiling in
> the basics.... --with-mysql --with-apxs2(of course) and a couple other
> basic enables...
>
> I did have a successful build with these but I then added openssl and then
> could not get it working...this made me go back to 1.3.27.
>
> Jeff
>
>
>
> Lou Picciano
> <Omnis@comcast To: [EMAIL PROTECTED], Chris
> Wilson <[EMAIL PROTECTED]>
> .net> cc: [EMAIL PROTECTED]
> Subject: Re: [PHP-INST] php
> 4.2.3+apache 2.0.43
> 11/04/2002
> 04:16 PM
>
>
>
>
>
>
> List Friends,
>
> Wanted to add 2 cents to the list discussion about the Apache 2.n / php 4.n
> ?controversyš... Wešve been monitoring the discussion, and the suggestions
> from Rasmus and others that this is an unstable combination, but, in the
> interest of healthy experimentation and research...
>
> Wešve been running a combination of PHP 4.3.0-dev with Apache 2.0.40 for
> some time now, with absolutely bulletproof stability. PHP is a very recent
> development snapshot, while we havenšt tinkered with Apache for several
> weeks. Granted, we haven't compiled in every option php has to offer...
> Are we simply luckier than most? All this is on SMP-SPARC with Solaris 9.
>
> Anybody else?
>
> Lou Picciano
> Essex Systems
>
>>
>> This is not a stable combination. You'd be better off going down to
> Apache
>> 1.3.27. Also in httpd.conf(of Apache 2X) it tells you --- "don't use -1
> on
>> these systems"
>>
>> jd
>>
>> "Chris Wilson"
>> <cwilson@netxn To:
> <[EMAIL PROTECTED]>
>> .com> cc:
>> Subject: [PHP-INST] php
>> 4.2.3+apache 2.0.43
>> 11/04/2002
>> 02:53 PM
>>
>>
>>
>>
>>
>>
>> Hello,
>>
>> I am having a problem with a 4.2.3 install on a redhat linux box running
>> apache 2.0.43 and php 4.2.3....
>>
>> when I turn safe mode on, I get this error:
>>
>>
>> Warning: SAFE MODE Restriction in effect. The script whose uid is -1 is
> not
>> allowed to access /var/www/html/index.php owned by uid 515 in Unknown on
>> line 0
>>
>> Warning: Failed opening '/var/www/html/index.html.en' for inclusion
>> (include_path='.:/usr/local/lib/php') in Unknown on line 0
>>
>>
>> when trying to access any php documents on the site.
>>
>>
>> Does anyone know what can cause this? Any help would be apreciated.
> thanks!
>>
>>
>> Chris Wilson
--- End Message ---
--- Begin Message ---
Thanks for the info, that is a great help....but this was our production
external website, and Apache 2.043 was not offering any benefits for me, so
i went with 1.327 and mod_ssl(for the immediate turn around) The issue may
have been with my older(2.0.39) version of Apache and PHP(4.23). But I had
to go for stability since benefit was unseen and from the many comments
from Rasmus. I look forward to this combination becoming stable.
Thanks again for the info. I think i'll set this up in a test envrionment
for a future build.
Jeff
Lou Picciano
<Omnis@comcast To: [EMAIL PROTECTED]
.net> cc: Chris Wilson <[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
Subject: Re: [PHP-INST] php 4.2.3+apache
2.0.43
11/05/2002
11:48 AM
See, I was lucky also with OpenSSL...
The major building blocks:
Apache 2.0.40
PHP - 4.3.0 dev (pretty recent snapshot - can check which if it matters)
OpenSSL - 0.9.6g
MySQL-4.0.4-beta-max
(I even got XML and expat working - this is what was giving me trouble!)
My compile options (from phpinfo() ) on this build are:
'./configure'
'--with-apxs2=/usr/apache2/bin/apxs' '--with-config-file-path=/etc'
'--enable-track-vars' '--enable-debug' '--with-openssl' '--with-zlib'
'--enable-bcmath' '--with-bz2' '--with-kerberos' '--with-ldap'
'--enable-mbstring' '--with-mysql=/usr/local/mysql'
If I remember correctly, the Track Variables option was important in this
build...
Can I help further?? Lou
> Sharing.....if you're interested....
>
> since i have posted the other one, i feel inclined to add....Yes, i have
> had luck with Apache 2.039 and PHP 4.23-dev(from snaps.php.net a few
months
> ago). - Soloris 8. The luck i had with the 4.2branch was only compiling
in
> the basics.... --with-mysql --with-apxs2(of course) and a couple other
> basic enables...
>
> I did have a successful build with these but I then added openssl and
then
> could not get it working...this made me go back to 1.3.27.
>
> Jeff
>
>
>
> Lou Picciano
> <Omnis@comcast To: [EMAIL PROTECTED],
Chris
> Wilson <[EMAIL PROTECTED]>
> .net> cc: [EMAIL PROTECTED]
> Subject: Re: [PHP-INST] php
> 4.2.3+apache 2.0.43
> 11/04/2002
> 04:16 PM
>
>
>
>
>
>
> List Friends,
>
> Wanted to add 2 cents to the list discussion about the Apache 2.n / php
4.n
> ?controversyš... Wešve been monitoring the discussion, and the
suggestions
> from Rasmus and others that this is an unstable combination, but, in the
> interest of healthy experimentation and research...
>
> Wešve been running a combination of PHP 4.3.0-dev with Apache 2.0.40 for
> some time now, with absolutely bulletproof stability. PHP is a very
recent
> development snapshot, while we havenšt tinkered with Apache for several
> weeks. Granted, we haven't compiled in every option php has to offer...
> Are we simply luckier than most? All this is on SMP-SPARC with Solaris
9.
>
> Anybody else?
>
> Lou Picciano
> Essex Systems
>
>>
>> This is not a stable combination. You'd be better off going down to
> Apache
>> 1.3.27. Also in httpd.conf(of Apache 2X) it tells you --- "don't use -1
> on
>> these systems"
>>
>> jd
>>
>> "Chris Wilson"
>> <cwilson@netxn To:
> <[EMAIL PROTECTED]>
>> .com> cc:
>> Subject: [PHP-INST] php
>> 4.2.3+apache 2.0.43
>> 11/04/2002
>> 02:53 PM
>>
>>
>>
>>
>>
>>
>> Hello,
>>
>> I am having a problem with a 4.2.3 install on a redhat linux box running
>> apache 2.0.43 and php 4.2.3....
>>
>> when I turn safe mode on, I get this error:
>>
>>
>> Warning: SAFE MODE Restriction in effect. The script whose uid is -1 is
> not
>> allowed to access /var/www/html/index.php owned by uid 515 in Unknown on
>> line 0
>>
>> Warning: Failed opening '/var/www/html/index.html.en' for inclusion
>> (include_path='.:/usr/local/lib/php') in Unknown on line 0
>>
>>
>> when trying to access any php documents on the site.
>>
>>
>> Does anyone know what can cause this? Any help would be apreciated.
> thanks!
>>
>>
>> Chris Wilson
--- End Message ---
--- Begin Message ---
Hey all,
Did someone already configure PHP 4.1, 4.2 or 4.3 + IMAP with Slackware 8.1 ?
I can definetly not get it working :( i tried to modify lib paths, i tried to modify
the configure script... I was able to run the configure script but make didn't built
the modphp4.so module :(
I can definetly not get it working whereas it was working few months ago...
Please Help !
I didnt find any comprehensive news about my configure problem :(
Thx.
Amaury
--- End Message ---
--- Begin Message ---
Whats your configure line look like?
On Tue, 2002-11-05 at 11:56, Amaury DAILLIEZ wrote:
> Hey all,
>
> Did someone already configure PHP 4.1, 4.2 or 4.3 + IMAP with Slackware 8.1 ?
>
> I can definetly not get it working :( i tried to modify lib paths, i tried to modify
>the configure script... I was able to run the configure script but make didn't built
>the modphp4.so module :(
>
> I can definetly not get it working whereas it was working few months ago...
>
> Please Help !
> I didnt find any comprehensive news about my configure problem :(
>
> Thx.
> Amaury
--- End Message ---
--- Begin Message ---
Thx for your fast reply... i'm exhausted at that time :(
here is my configure line :
./configure --with-imap=/tmp/imap-2002.RC10/c-client --with-imap-ssl --with-
apxs --with-config-file=/etc/apache --with-db with-gr --with-mysql
Regards,
Amaury
--- End Message ---
--- Begin Message ---
Questions:
1. Is apxs installed in a directory that's in your path statment?
(I.E. /usr/bin)?
2. What is that "with-gr"? According to the PHP manual that's not
a valid configure option, why is it there?
Adam Voigt
[EMAIL PROTECTED]
On Tue, 2002-11-05 at 12:08, Amaury DAILLIEZ wrote:
> Thx for your fast reply... i'm exhausted at that time :(
>
> here is my configure line :
> ./configure --with-imap=/tmp/imap-2002.RC10/c-client --with-imap-ssl --with-
> apxs --with-config-file=/etc/apache --with-db with-gr --with-mysql
>
>
> Regards,
> Amaury
>
>
--- End Message ---
--- Begin Message ---
Has anyone installed php on an iplanet 4.1 webserver as an nsapi filter and not as cgi?
Any help would be greatly appreciated
Jerrad Anderson
TEDS - A CBM Company
--- End Message ---
--- Begin Message ---
Well now it wont even 'make' with the original parameters that DID work i.e.
./configure --with-mysql --with-apxs
It gives the same error message.
I have also run a 'make clean' and I even deleted the original installation
files and rerun the tar agains the tarball. All to no avail. What the hell
is going on?? Something must still be there from the original configure+make
thats now screwing things up.
I am desperate to figure this out since I need support for sockets.
G.
"Gareth Thomas" <[EMAIL PROTECTED]> wrote in message
news:20021105070541.44505.qmail@;pb1.pair.com...
> Hi,
>
> I had installed and running fine 4.3.0pre2 until today when I was having a
> problem using the socket() function. Apparently I needed to recompile
using
> the '--enable-sockets' switch on the ./configure. That works fine, however
> when I run a 'make' it bombs out with the following error:
>
> my_tempnam.c:103: the use of 'tempnam' is dangerous, better use 'mkstemp'
>
> This is on Red Hat 7.2. I also made sure I deleted config.cache before
> recompiling.
>
> Any help would be appreciated.
>
> G.
>
>
--- End Message ---
--- Begin Message ---
Zitat von Yasuo Ohgaki <[EMAIL PROTECTED]>:
° Don't expect newer libs works well....
° If you really need GD2.0.4, try CVS versoin.
°
Where, how to get CVS?
Many Thanks
--- End Message ---