php-install Digest 7 Dec 2001 15:32:00 -0000 Issue 591

Topics (messages 5225 through 5233):

Re: adding imap support after inital install
        5225 by: Chris

Re: Warning: mail() is not supported in this PHP build
        5226 by: Yasuo Ohgaki
        5233 by: Scott Ecker

Can't see php script running on my browser
        5227 by: Haslinda

Re: Problem: "Unable to load dynamic library ... imap.so"
        5228 by: Yasuo Ohgaki

Re: Unable to make PHP under HP-UX 10.20
        5229 by: Yasuo Ohgaki

Cannot load libphp4.so
        5230 by: BMMS

Re: PHP Installatino SuSe 7.3 libphp4.so
        5231 by: BMMS

HP-UX 11.11+Apache1.3.22+Mysql+PHP4.0.6 as DSO??
        5232 by: Keith Lapidus

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,
 Ahhh... This(ese) is/ are the I/ we were looking for. :-)
The answer is simple. Simply run /stand/sysinstall
and pick UW-IMAP-nnn (nnn being the year of release). I *too*
run fbsd-4.3. Altho I chose SquirrelMail, a friend of mine installed
PGPGroupware and it's a nice package. You *don't* have to re-compile
PHP. But given the EASE of installing it (/stand/sysinstall), you could
EASILY re-install/ compile it WITH IMAP and APACHE, etc..., etc...


Bset Wishes,
 Chris

> I have php 4.06 and apache 1.3.22 (i think or .19) on freebsd 4.3. I am
> told i need imap support for a program called phpgroupware
> (www.phpgroupware.org).
> 
> I installed the php when i setup the freebsd machine. How can I now add
> it. ?
> 
> I read the php docs and it scares me.
> 
> thanks
> bd
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]


-- 
H.R. Communications Corp.
http://www.dnswatch.com
http://www.1command.com


............................................
This email was sent using DNSWATCH WebMail.
   "Get an account today!"
http://www.dnswatch.com/dnswm112/


--- End Message ---
--- Begin Message ---
Scott Ecker wrote:

> Hi,
> 
> I am using QMAIL (with sendmail wrappers installed, tested, and confirmed),
> and I still can't use the mail() function.    I get the following error:
> "Warning: mail() is not supported in this PHP build".  I have built the
> source from scratch with the following commands:
> 
> CFLAGS='-O2 -I /usr/include/openssl' ./configure \
>    --with-apache=/usr/local/src/apache_1.3.22 \
>    --with-mysql=/var/mysql --enable-memory-limit=yes \
>    --enable-debug=no --enable-track-vars
> make
> make install
> 
> What am I missing here?
> 
> Using:
>   Apache 1.3.22
>   mysql 3.23.46
>   php 4.0.5
>   openssl 0.9.6b
>   mod_ssl 2.8.5
> 
> -Scott
> 
> 

I guess you have not installed sendmail wrapper.

PHP detects /usr/lib/sendmail or /usr/sbin/sendmail during configure.

Simplest solution to enable mail support is installing sendmail 
wrapper that comes with qmail.

Regards,
-- 
Yasuo Ohgaki

--- End Message ---
--- Begin Message ---
I'll be more clear.  The ./configure and compile output of PHP both confirm
that sendmail (wrapper) was detected.  Other programs that rely on the
sendmail wrapper being present in /usr/lib and /usr/sbin work fine
(majordomo for instance).  Either the wrapper is flawed, or there is
something else I'm missing in my PHP compile.  Is there a way to use qmail
binaries with PHP rather than expecting sendmail on every machine?

-Scott

-----Original Message-----
From: Yasuo Ohgaki [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 07, 2001 1:26 AM
To: [EMAIL PROTECTED]; Scott Ecker
Subject: [PHP-INST] Re: Warning: mail() is not supported in this PHP
build


Scott Ecker wrote:

> Hi,
>
> I am using QMAIL (with sendmail wrappers installed, tested, and
confirmed),
> and I still can't use the mail() function.    I get the following error:
> "Warning: mail() is not supported in this PHP build".  I have built the
> source from scratch with the following commands:
>
> CFLAGS='-O2 -I /usr/include/openssl' ./configure \
>    --with-apache=/usr/local/src/apache_1.3.22 \
>    --with-mysql=/var/mysql --enable-memory-limit=yes \
>    --enable-debug=no --enable-track-vars
> make
> make install
>
> What am I missing here?
>
> Using:
>   Apache 1.3.22
>   mysql 3.23.46
>   php 4.0.5
>   openssl 0.9.6b
>   mod_ssl 2.8.5
>
> -Scott
>
>

I guess you have not installed sendmail wrapper.

PHP detects /usr/lib/sendmail or /usr/sbin/sendmail during configure.

Simplest solution to enable mail support is installing sendmail
wrapper that comes with qmail.

Regards,
--
Yasuo Ohgaki


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
I/m trying out php programming and wish to set up php to run on my local workstation 
which is running on WIn 98 and PWS.
I have set up php in the workstation and have test using php.exe -1.  It seems to run 
normally.  I'm trying to run a php script on my local browser but cannot get the 
result instead the dos window showing the php script prompt briefly.
I have rechecked my config with your installation manual.  I have done the following.
1. I had run the php windows installer for php config.
2.  I have edited regedit accordingly following pws instructions
3. for the php.ini I made the following changes:-
    - I have set extension_dir pointing to c:\php\dlls
    - browscap.ini as:- :\windows\system\inetsrv\browscap.ini

When I test the script as remote web server it worked,  so what have I done wrong?
Can you run php script in your local browser.
For your info our PWS is working fine.
    
--- End Message ---
--- Begin Message ---
Erik Wheeler wrote:

> Hello all:
> 
> I configured and installed PHP (as a static Apache module) on my Redhat 
> 7.1 system, using RPM source. I did a 'configure' and 'make', and then 
> installed the PHP and Apache RPMs.
> 
> Everything seems to be working, except for a few options. I configured 
> for IMAP, Mcal, and Mycrypt support, but test.php tells me that they are 
> NOT working.
> 
> Of most concern to me is the IMAP functionality, because I want to run 
> Imp. I get this message in /var/log/messages:
> 
> httpd: PHP Warning: Unable to load dynamic library 
> '/usr/lib/php4/imap.so' - /usr/kerberos/lib/libcom_err.so.  : shared 
> object not open in Unknown on line 0
> 
> The imap.so file listed above *does* exist.
> 
> Any ideas what might be wrong? I've tried building it all twice now, 
> with the same result.
> 
> My configure parameters:
> 
> ./configure
>     --with-apache=../apache_1.3.19 \
>     --with-openssl \
>     --with-zlib \
>     --with-aspell \
>     --with-curl=/usr/include/curl \
>     --with-gettext \
>     --with-imap=../imap-2000c \
>     --with-imap-ssl \
>     --with-ldap \
>     --with-mcal=../libmcal \
>     --enable-ftp \
>     --with-mcrypt \
>     --with-mysql=/usr/local/mysql \
>     --with-pgsql=/usr/lib/pgsql \
>     --with-pspell \
>     --with-mm
> 
> Thanks!
> 
> Erik

Use of --with-something=[DIR] option is not right...

You are supposed to specify location of package. For example,
if you have curl source installed under
/usr/local/src/curl
then you write "--with-curl=/usr/local/src/curl".

You also should have lib installed somewhere accecible from your 
system. For example, if you install libcurleasy.so in 
/usr/local/curl/lib/, you should edit /etc/ld.so.conf and run 
ldconfig.

Search archive of this list, you'll find many useful info.

Regards,
-- 
Yasuo Ohgaki

--- End Message ---
--- Begin Message ---
Tek wrote:

> Hi,
>      A rather long message, but I would like you to give me y our feedback
> on what I should do to make this installation going?  Basically, I am trying
> to configure PHP with mysql which I have installed in /usr/local/mysql
> (running fine) and apache src in the directory specified.  When I ran
> ./configure initially, it was missing many of  what it found after I
> installed those required component.  However, I am still unable to fullfil
> that.  Please look through this line and tell me what am I missing here.
> 
> Thanks for your help...
> 


Post debug.log instead. It's much more useful.
Anyway, I suggest to try CVS version to see if you have problems.

http://snaps.php.net/

Regards,
-- 
Yasuo Ohgaki
--- End Message ---
--- Begin Message ---
Hi,
    I am running Apache 1.3.22 on Linux/RedHat6.2  Recently I am trying
to install PHP.4.0.6.  I finally got it to work on one server.  The
other still has a problem.  When I try to start httpd (apachectl start)
I get the msg:
  Cannot load /usr/local/apache/libexec/libphp4.so into server:
        /usr/local/apache/libexec/libphp4.so
The only way I can get Apache to work is to remove the following lines
from the httpd.conf files:
        AddType application /x-httpd-php -php
        LoadModule php4_module  libexec/libphp4.so
This, unfortunately, disables php.  How can I resolve this dilema.
Please advise.
Thanks.

                        John Kolvereid
                        [EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
Hi Markus,
    Did you get a solution to your problem?  I am experiencing the same
problem w/ RedHat6.2  Please advise if you found a solution.  Thanks.

Markus Eppler wrote:

> Hello
>
> i have a big problem to install the php4 on my linux SuSe 7.3 OS
>
> at first my message errors:
>
> Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/libexec/libphp4.so into server:
> /usr/local/apache/libexec/libphp4.so: undefined symbol: uncompress
>
> test for uncompress
>  nm -o /usr/lib/*.so | grep uncompress
>
> the uncompress libz.so are correctly installed:
> /usr/lib/libz.so:00003830 T uncompress
>
> Now the WebServer doesn't start with the LoadModule parameter
>
> LoadModule php4_module   libexec/libphp4.so
>
> AddModule mod_php4.c
>
> So one at last I don't have any idea ?
>
> WHO CAN HELP ME
>
> Best regards
> Markus Eppler
> [EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
After building mysql and apache with DSO support, I've tried to build
PHP4.0.6 as a DSO module and have gotten as far as getting it installed.  My
problem now is this error message listed below.  Has anyone seen this or
know how to fix this problem??


893 % ../bin/apachectl configtest
/usr/lib/dld.sl: Unresolved symbol: mysql_list_dbs (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_list_fields (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_get_host_info (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_real_query (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_num_rows (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_close (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_fetch_lengths (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_select_db (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_list_tables (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_init (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_affected_rows (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_get_client_info (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_free_result (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_num_fields (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_get_server_info (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_drop_db (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_real_connect (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_data_seek (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_create_db (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_field_count (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_get_proto_info (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_store_result (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_stat (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_field_seek (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_escape_string (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_use_result (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_error (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_insert_id (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_errno (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_eof (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_fetch_row (code)  from
/opt/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: mysql_fetch_field (code)  from
/opt/apache/libexec/libphp4.so
Syntax error on line 238 of /opt/apache/conf/httpd.conf:
Cannot load /opt/apache/libexec/libphp4.so into server: Unresolved external


--- End Message ---

Reply via email to