php-install Digest 19 Aug 2001 07:56:21 -0000 Issue 420

Topics (messages 4020 through 4027):

Going from 4.0.4 to 4.0.6: suddenly it doesn't like the c-client ssl support?
        4020 by: Kai Schaetzl
        4022 by: Kai Schaetzl
        4023 by: Jani Taskinen

Simple way to get RH6.1 / Apache 1.3.9 / PHP 3.0.12 to work
        4021 by: Ray Harris \(RR\)

PHP and postgresql compile Prob???
        4024 by: Smileyq
        4025 by: Jani Taskinen

Install PHP - RPMs for RH 7.1 - Next Step?
        4026 by: Michael

Problem PHP Mail Function Not Working
        4027 by: sun

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]


----------------------------------------------------------------------


This is a Red Hat 6.1 system with fairly new libraries and software on it. I installed 
4.0.4pl when it came out. I had to add --with-imap-ssl and --with-kerberos to make it 
include IMAP support because of the kerberized IMAP rpm from Red Hat. Compile worked 
just 
fine then. Nothing has changed on that machine since then.
Now I want to upgrade to 4.0.6, so started a new configure with the same command line 
and 
suddenly it doesn't like the SSL support:

> checking for Kerberos support in IMAP... yes
> checking for SSL support in IMAP... yes
> configure: error: This c-client library does not support SSL. Recompile or remove 
--with-imap-ssl from configure line.
>

Should I really remove --with-imap-ssl ? Or won't it refuse to compile then as the 
4.0.4 
build did?

What's up with this?

Thanks for any help!

Kai

--

Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com
IE-Center: http://ie5.de & http://msie.winware.org
ClubWin - Help for Windows Users: http://www.clubwin.com







> > configure: error: This c-client library does not support SSL. Recompile or remove 
> --with-imap-ssl from configure line.
> >
>

Found the answer to this after some searching on deja. This article from PHP-DEV 
explains what to do:
http://groups.google.com/groups?q=+%22This+c-client+library+does+not+support+SSL%22&nu
m=20&hl=de&safe=off&rnum=13&selm=20010628192714.29566.qmail%40php2.chek.com

Basically, you need to add --with-openssl (although this should be only necessary for
SNMP). If it still doesn't configure at this stage you need to add the lib path as 
well (not necessary if you installed OpenSSL from an RPM).

Hope this helps those people with the same problem. (There were several postings about
this here but no answer.)


Kai

--

Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com
IE-Center: http://ie5.de & http://msie.winware.org
ClubWin - Help for Windows Users: http://www.clubwin.com








It was my mistake. Everyone, blame me! :)
Anyway, like I said in that bug report, it is fixed.
So in PHP 4.0.7 you should not have this problem, you will have others. :)

--Jani


On Sat, 18 Aug 2001, Kai Schaetzl wrote:

>> > configure: error: This c-client library does not support SSL. Recompile or remove
>> --with-imap-ssl from configure line.
>> >
>>
>
>Found the answer to this after some searching on deja. This article from PHP-DEV
>explains what to do:
>http://groups.google.com/groups?q=+%22This+c-client+library+does+not+support+SSL%22&nu
>m=20&hl=de&safe=off&rnum=13&selm=20010628192714.29566.qmail%40php2.chek.com
>
>Basically, you need to add --with-openssl (although this should be only necessary for
>SNMP). If it still doesn't configure at this stage you need to add the lib path as
>well (not necessary if you installed OpenSSL from an RPM).
>
>Hope this helps those people with the same problem. (There were several postings about
>this here but no answer.)
>
>
>Kai
>
>--
>
>Kai Schätzl, Berlin, Germany
>Get your web at Conactive Internet Services: http://www.conactive.com
>IE-Center: http://ie5.de & http://msie.winware.org
>ClubWin - Help for Windows Users: http://www.clubwin.com
>
>
>
>
>





All,

I've been desperately trying to get an Apache/PHP config to work on a RH
Linux install, and here is one that finally worked, so here are some simple
instructions to explain what I did.

Platform:
Intel/Pentium/PC

OS:
RedHat 6.1 / Cartman / Kernel 2.2.12-20   (Install Discs that came with the
book  "Redhat Linux Bible (6.1)".   I am assuming that these would be the
same as the "official" RH CDs from -redhat.com-)


During the RedHat install, specify to install EVERYTHING.  (I noticed that
this CD did not come with MySQL included....  oh well).


Web Server/PHP/Database Packages that are installed:

apache-1.3.9-4
apache-devel-1.3.9-4
-----------------------------
postgresql-6.5.2-1
postgresql-devel-6.5.2-1
postgresql-jdbc-6.5.2-1
postgresql-odbc-6.5.2-1
postgresql-perl-6.5.2-1
postgresql-python-6.5.2-1
postgresql-server-6.5.2-1
postgresql-tcl-6.5.2-1
postgresql-test-6.5.2-1
-----------------------------
php-3.0.12-6
php-pgsql-3.0.12-6
php-imap-3.0.12-6
php-ldap-3.0.12-6
php-manual-3.0.12-6
php-phpfi-3.0.12-6



There are two related install "bugs".

(1)  The Apache install/config messes up two pieces of info
(2)  The PHP install/config does not "turn on PHP"



To get Apache/PHP to work (note that this fix does NOT require any
reinstalls/compiles/builds of anything):

<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Edit the file:  /usr/sbin/apxs

Change the line that says:
my $CFG_LDFLAGS_SHLIB = '-shared';
to say:
my $CFG_LDFLAGS_SHLIB = 'q(-shared)';


Change the line that says:
my $CFG_LIBEXECDIR = 'modules';
to say:
my $CFG_LIBEXECDIR = 'usr/lib/apache';

Save the file.

<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Edit the file:  /etc/httpd/conf/httpd.conf


Change the line that says:
#LoadModule php3_module    modules/libphp3.so
to say:
LoadModule php3_module    modules/libphp3.so


Change the line that says:
#AddModule mod_php3.c
to say:
AddModule mod_php3.c

Save the file.

<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Edit the file:  /etc/httpd/conf/srm.conf


Change the line that says:
#AddType application/x-httpd-php3 .php3
to say:
AddType application/x-httpd-php3 .php3

Change the line that says:
#AddType application/x-httpd-php3-source .phps
to say:
AddType application/x-httpd-php3-source .phps

Save the file.

<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Create a new PHP file:  /home/httpd/html/testphp.php3

That contains only the line:

<?php  phpinfo();  ?>


Save the file.

<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Restart the Apache Web Server like so:

/etc/rc.d/init.d/httpd restart

<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Using your browser goto the URL:  http://localhost/testphp.php3

And you should see a page full of PHP configuration info.



HTH   !!!!

Ray Harris





I've already installed PHP with mysql no problems at all. I recently 
moved over to postgresql databases because I like them much better. When 
trying to configure it works fine no problems at all. When I start the 
compile with make I get this error message.
-->
Making all in pgsql
make[2]: Entering directory `/usr/local/php-4.0.4pl1/ext/pgsql'
make[3]: Entering directory `/usr/local/php-4.0.4pl1/ext/pgsql'
/bin/sh /usr/local/php-4.0.4pl1/libtool --silent --mode=compile gcc  -I. 
-I/usr/local/php-4.0.4pl1/ext/pgsql -I/usr/local/php-4.0.4pl1/main 
-I/usr/local/php-4.0.4pl1 -I/var/lib/apache/include 
-I/usr/local/php-4.0.4pl1/Zend 
-I/usr/local/php-4.0.4pl1/ext/mysql/libmysql 
-I/usr/local/php-4.0.4pl1/ext/xml/expat/xmltok 
-I/usr/local/php-4.0.4pl1/ext/xml/expat/xmlparse 
-I/usr/local/php-4.0.4pl1/TSRM -I/usr/local/pgsql/include -DLINUX=2 
-DUSE_HSREGEX -DUSE_EXPAT -DXML_BYTE_ORDER=12 -g -O2  -c pgsql.c
pgsql.c:1818: unbalanced `#endif'
make[3]: *** [pgsql.lo] Error 1
make[3]: Leaving directory `/usr/local/php-4.0.4pl1/ext/pgsql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/php-4.0.4pl1/ext/pgsql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/php-4.0.4pl1/ext'
make: *** [all-recursive] Error 1

I'm using this option with configure...--> ./configure 
--with-pgsql=/usr/local/pgsql --with-apxs=/var/lib/apache/sbin/apxs

Anybody know a fix for this. Thanks guys.






The latest release is 4.0.6..why would you use buggy 4.0.4pl1?
(The pgsql in it is broken badly)

--Jani


On Sat, 18 Aug 2001, Smileyq wrote:

>I've already installed PHP with mysql no problems at all. I recently
>moved over to postgresql databases because I like them much better. When
>trying to configure it works fine no problems at all. When I start the
>compile with make I get this error message.
>-->
>Making all in pgsql
>make[2]: Entering directory `/usr/local/php-4.0.4pl1/ext/pgsql'
>make[3]: Entering directory `/usr/local/php-4.0.4pl1/ext/pgsql'
>/bin/sh /usr/local/php-4.0.4pl1/libtool --silent --mode=compile gcc  -I.
>-I/usr/local/php-4.0.4pl1/ext/pgsql -I/usr/local/php-4.0.4pl1/main
>-I/usr/local/php-4.0.4pl1 -I/var/lib/apache/include
>-I/usr/local/php-4.0.4pl1/Zend
>-I/usr/local/php-4.0.4pl1/ext/mysql/libmysql
>-I/usr/local/php-4.0.4pl1/ext/xml/expat/xmltok
>-I/usr/local/php-4.0.4pl1/ext/xml/expat/xmlparse
>-I/usr/local/php-4.0.4pl1/TSRM -I/usr/local/pgsql/include -DLINUX=2
>-DUSE_HSREGEX -DUSE_EXPAT -DXML_BYTE_ORDER=12 -g -O2  -c pgsql.c
>pgsql.c:1818: unbalanced `#endif'
>make[3]: *** [pgsql.lo] Error 1
>make[3]: Leaving directory `/usr/local/php-4.0.4pl1/ext/pgsql'
>make[2]: *** [all-recursive] Error 1
>make[2]: Leaving directory `/usr/local/php-4.0.4pl1/ext/pgsql'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/usr/local/php-4.0.4pl1/ext'
>make: *** [all-recursive] Error 1
>
>I'm using this option with configure...--> ./configure
>--with-pgsql=/usr/local/pgsql --with-apxs=/var/lib/apache/sbin/apxs
>
>Anybody know a fix for this. Thanks guys.
>
>
>





Hi Everyone,

I've just installed the rmp's below and trying to understand what the 
next step is...I'll be searching through all of these postings, but if a 
simle guide could help, that would be  great.

Thanks, Michael

MySQL-3.23.41-1.i386
MySQL-client-3.23.41-1.i386
MySQL-shared-3.23.40-1.i386
php-4.0.4pl1-13.i386
php-imap-4.0.4pl1-13.i386
php-ldap-4.0.4pl1-13.i386
php-manual-4.0.4pl1-13.i386
php-mysql-4.0.4pl1-13.i386





Hello,

I am running PHP4.0.2 on Red Hat Linux 5.0.2 with sendmail-8.9.3-14 and
apache-1.3.14-2.5.x .

The mail() function in my PHP did not work right from day one although
everything seems to be
in order, although it returns no error but no mail is being send out.

Additionally, this information from my phpinfo() function shows that
sendmail is working properly -->

Regex Library Bundled library enabled
Dynamic Library Support enabled
***Path to sendmail /usr/sbin/sendmail -t -i

***sendmail_from
 no value no value
***sendmail_path
 /usr/sbin/sendmail -t -i  /usr/sbin/sendmail -t -i


When i contacted my servers providers their reply was;

The mail() function actually does not appear to be working on your
server although it does not return any errors. The issue here is where
the exact problem lies. There does not seem to be any reason why this
would not work properly.

In order to fully troubleshoot this issue, the following areas would
probably have to be examined:
(1)Apache installation
(2)Sendmail Installation
(3)PHP configuration.

I thought some out here can be of help troubleshooting this issue.

Any help is most welcome!

Thank,
Vivek
India




Reply via email to