Loading ...
Sorry, an error occurred while loading the content.

Suse 9.1 Pro - php mail()

Expand Messages
  • michael_missouri
    Hi folks! I have spent the last two weeks trying to find the answer to a problem to no avail. Hoping someone here may have a clue. I m running Suse 9.1 and
    Message 1 of 3 , Sep 30, 2005
    • 0 Attachment
      Hi folks!

      I have spent the last two weeks trying to find the answer to a
      problem to no avail. Hoping someone here may have a clue.

      I'm running Suse 9.1 and have installed the Apache2, PHP 4.3.4 and
      MySql from the CD's that came with the system. I am wanting to use
      the mail() function from within PHP scripts. However, it keeps
      telling me that it is an undefined function.

      Here is what I know:

      I know that at compile time I have to have a working sendmail -
      which I do.

      I know that the mail() function is in the core module.

      I know I have to rebuild Apache2 after installing PHP - which I have
      done several times.

      My phpinfo shows /usr/sbin/sendmail -t -i for sendmail_path

      Please, what am I missing here? How do I get PHP to recognize and
      load the mail() function?

      Thanks

      Michael
    • K. S.
      ... The sendmail command, yes - which can be provided by either the postfix (default) or sendmail packages. ... You absolutely DO NOT have to rebuild anything.
      Message 2 of 3 , Sep 30, 2005
      • 0 Attachment
        michael_missouri wrote:
        >Hi folks!
        >
        >I have spent the last two weeks trying to find the answer to a
        >problem to no avail. Hoping someone here may have a clue.
        >
        >I'm running Suse 9.1 and have installed the Apache2, PHP 4.3.4 and
        >MySql from the CD's that came with the system. I am wanting to use
        >the mail() function from within PHP scripts. However, it keeps
        >telling me that it is an undefined function.
        >
        >Here is what I know:
        >
        >I know that at compile time I have to have a working sendmail -
        >which I do.
        >
        The sendmail command, yes - which can be provided by either the postfix
        (default) or sendmail packages.
        >
        >I know that the mail() function is in the core module.
        >
        >I know I have to rebuild Apache2 after installing PHP - which I have
        >done several times.
        >
        You absolutely DO NOT have to rebuild anything. If you did rebuild, that
        could explain the problems, because you took a wrong turn somewhere.
        I've been building linux servers running apache+php+email for years,
        using the standard suse packages, no rebuilding required.

        My suggestion is that you remove all traces of whatever you
        built/rebuilt by hand, simply install the required packages through yast
        and you should be good to go, immediately.

        If you do that and still see problems, send a listing of the output of
        "phpinfo()" on your system.

        e
      • Michael Ashburn
        Actually, I DID install everything from the CD and the mail() did not work for the beginning. I then went to the CD to add a few other modules that I
        Message 3 of 3 , Oct 1, 2005
        • 0 Attachment
          Actually, I DID install everything from the CD and the mail() did not work for the beginning. I then went to the CD to add a few other modules that I mistakenly thought would have the mail function into. I then tried changing from sendmail to Exim and such to no avail. I later discoverd that mail is in the core file so when I say I rebuild, I mean I go to the CD and select a module for update which trigers a Suse rebuild og affected modules from what I can see.

          Below is my phpinfo - I see no reason for it not including the the mail() function.

          Thanks - Michael


          PHP Version 4.3.4
          System Linux provo 2.6.4-52-default #1 Wed Apr 7 02:08:30 UTC 2004 i686 Build Date Apr 5 2004 00:09:36 Configure Command './configure' '--prefix=/usr' '--datadir=/usr/share/php' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/share' '--includedir=/usr/include' '--sysconfdir=/etc' '--with-_lib=lib' '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' '--disable-debug' '--enable-inline-optimization' '--enable-memory-limit' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sigchild' '--disable-ctype' '--disable-session' '--without-mysql' '--disable-cli' '--without-pear' '--with-openssl' '--with-apxs2=/usr/sbin/apxs2-prefork' 'i586-suse-linux' Server API Apache 2.0 Handler Virtual Directory Support disabled Configuration File (php.ini) Path /etc/php.ini PHP API 20020918 PHP Extension 20020429 Zend Extension 20021010 Debug Build no Thread Safety disabled Registered PHP Streams php, http, ftp, https, ftps, compress.zlib, compress.bzip2
          This program makes use of the Zend Scripting Language Engine:
          Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies

          ---------------------------------
          PHP Credits
          ---------------------------------
          ConfigurationPHP CoreDirectiveLocal ValueMaster Valueallow_call_time_pass_referenceOnOnallow_url_fopenOnOnalways_populate_raw_post_dataOffOffarg_separator.input&&arg_separator.output&&asp_tagsOffOffauto_append_fileno valueno valueauto_prepend_fileno valueno valuebrowscapno valueno valuedefault_charsetiso-8859-1iso-8859-1default_mimetypetext/htmltext/htmldefine_syslog_variablesOffOffdisable_classesno valueno valuedisable_functionsno valueno valuedisplay_errorsOnOndisplay_startup_errorsOffOffdoc_rootno valueno valuedocref_extno valueno valuedocref_rootno valueno valueenable_dlOnOnerror_append_stringno valueno valueerror_logno valueno valueerror_prepend_stringno valueno
          valueerror_reporting20392039expose_phpOnOnextension_dir/usr/lib/php/extensions/usr/lib/php/extensionsfile_uploadsOnOngpc_orderGPCGPChighlight.bg#FFFFFF#FFFFFFhighlight.comment#FF8000#FF8000highlight.default#0000BB#0000BBhighlight.html#000000#000000highlight.keyword#007700#007700highlight.string#DD0000#DD0000html_errorsOnOnignore_repeated_errorsOffOffignore_repeated_sourceOffOffignore_user_abortOffOffimplicit_flushOffOffinclude_path/usr/lib/php;/srv/www/htdocs/sharp/phpmailer/class.phpmailer.php:/srv/www/htdocs/sharp/phpmailer/class.smtp.php:/srv/www/htdocs/sharp/phpmailer/phpmailer.lang-en.php/usr/lib/php;/srv/www/htdocs/sharp/phpmailer/class.phpmailer.php:/srv/www/htdocs/sharp/phpmailer/class.smtp.php:/srv/www/htdocs/sharp/phpmailer/phpmailer.lang-en.phplog_errorsOffOfflog_errors_max_len10241024magic_quotes_gpcOnOnmagic_quotes_runtimeOnOnmagic_quotes_sybaseOffOffmax_execution_time3030max_input_time6060memory_limit8M8Mopen_basedirno valueno valueoutput_bufferingno valueno
          valueoutput_handlerno valueno valuepost_max_size250M250Mprecision1212register_argc_argvOnOnregister_globalsOffOffreport_memleaksOnOnsafe_modeOffOffsafe_mode_exec_dirno valueno valuesafe_mode_gidOffOffsafe_mode_include_dirno valueno valuesendmail_fromno valueno valuesendmail_path/usr/sbin/sendmail -t -i/usr/sbin/sendmail -t -iserialize_precision100100short_open_tagOnOnSMTPlocalhostlocalhostsmtp_port2525sql.safe_modeOffOfftrack_errorsOffOffunserialize_callback_funcno valueno valueupload_max_filesize250M250Mupload_tmp_dirno valueno valueuser_dirno valueno valuevariables_orderEGPCSEGPCSxmlrpc_error_number00xmlrpc_errorsOffOffy2k_complianceOnOn
          apache2handlerApache Version Apache/2.0.49 (Linux/SuSE) Apache API Version 20020903 Server Administrator [no address given] Hostname:Port provo.no-ip.info:0 User/Group wwwrun(30)/8 Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100 Timeouts Connection: 300 - Keep-Alive: 15 Virtual Server No Server Root /srv/www Loaded Modules core prefork http_core mod_so mod_suexec mod_access mod_actions mod_alias mod_auth mod_auth_dbm mod_autoindex mod_cgi mod_dir mod_env mod_expires mod_include mod_log_config mod_mime mod_negotiation mod_setenvif mod_status mod_userdir mod_mime_magic mod_ssl sapi_apache2
          DirectiveLocal ValueMaster Valueengine11last_modified00xbithack00
          Apache EnvironmentVariableValueHTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/msword, application/x-shockwave-flash, application/vnd.ms-powerpoint, application/vnd.ms-excel, */* HTTP_ACCEPT_LANGUAGE en-us HTTP_XXXXXXXXXXXXXXX XXXXXXXXXXXXX HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) HTTP_HOST provo.no-ip.info HTTP_CONNECTION Keep-Alive PATH /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/bin:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/jre/bin SERVER_SIGNATURE <address>Apache/2.0.49 (Linux/SuSE) Server at provo.no-ip.info Port 80</address> SERVER_SOFTWARE Apache/2.0.49 (Linux/SuSE) SERVER_NAME provo.no-ip.info SERVER_ADDR 192.168.0.100 SERVER_PORT 80 REMOTE_ADDR 69.179.138.112 DOCUMENT_ROOT /srv/www/htdocs SERVER_ADMIN [no address given] SCRIPT_FILENAME /srv/www/htdocs/phpinfo.php REMOTE_PORT 60373 GATEWAY_INTERFACE CGI/1.1 SERVER_PROTOCOL HTTP/1.1 REQUEST_METHOD GET
          QUERY_STRING no value REQUEST_URI /phpinfo.php SCRIPT_NAME /phpinfo.php
          HTTP Headers InformationHTTP Request HeadersHTTP Request GET /phpinfo.php HTTP/1.1 Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/msword, application/x-shockwave-flash, application/vnd.ms-powerpoint, application/vnd.ms-excel, */* Accept-Language en-us XXXXXXXXXXXXXXX XXXXXXXXXXXXX User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) Host provo.no-ip.info HTTP Response HeadersX-Powered-By PHP/4.3.4 Transfer-Encoding chunked Content-Type text/html; charset=iso-8859-1
          bcmathBCMath support enabled
          bz2BZip2 Support Enabled BZip2 Version 1.0.2, 30-Dec-2001
          calendarCalendar support enabled
          ctypectype functions enabled
          curlCURL support enabled CURL Information libcurl/7.11.0 OpenSSL/0.9.7d ipv6 zlib/1.2.1
          domxmlDOM/XML enabled DOM/XML API Version 20020815 libxml Version 20607 HTML Support enabled XPath Support enabled XPointer Support enabled
          exifEXIF Support enabled EXIF Version 1.4 $Id: exif.c,v 1.118.2.25 2003/09/22 23:28:07 iliaa Exp $ Supported EXIF Version 0220 Supported filetypes JPEG,TIFF
          gdGD Support enabled GD Version bundled (2.0.15 compatible) FreeType Support enabled FreeType Linkage with freetype T1Lib Support enabled GIF Read Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled
          gettextGetText Support enabled
          gmpgmp support enabled
          iconviconv support enabled iconv implementation glibc iconv library version 2.3.3
          DirectiveLocal ValueMaster Valueiconv.input_encodingISO-8859-1ISO-8859-1iconv.internal_encodingISO-8859-1ISO-8859-1iconv.output_encodingISO-8859-1ISO-8859-1
          imapIMAP c-Client Version 2001 SSL Support enabled
          mcalMCAL Support enabled MCAL Version 0.6 - 20000121
          mcryptmcrypt supportenabledversion >= 2.4.x Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes Supported modes cbc cfb ctr ecb ncfb nofb ofb stream
          DirectiveLocal ValueMaster Valuemcrypt.algorithms_dirno valueno valuemcrypt.modes_dirno valueno value
          mhashMHASH support Enabled MHASH API Version 20020524
          mime_magicmime_magic supportenabled
          DirectiveLocal ValueMaster Valuemime_magic.magicfile/usr/share/misc/magic.mime/usr/share/misc/magic.mime
          mysqlMySQL SupportenabledActive Persistent Links 0 Active Links 0 Client API version 4.0.18 MYSQL_MODULE_TYPE none MYSQL_SOCKET /var/lib/mysql/mysql.sock MYSQL_INCLUDE no value MYSQL_LIBS no value
          DirectiveLocal ValueMaster Valuemysql.allow_persistentOnOnmysql.connect_timeout6060mysql.default_hostno valueno valuemysql.default_passwordno valueno valuemysql.default_portno valueno valuemysql.default_socketno valueno valuemysql.default_userno valueno valuemysql.max_linksUnlimitedUnlimitedmysql.max_persistentUnlimitedUnlimitedmysql.trace_modeOffOff
          odbcODBC SupportenabledActive Persistent Links 0 Active Links 0 ODBC library no value ODBC_INCLUDE no value ODBC_LFLAGS no value ODBC_LIBS no value
          DirectiveLocal ValueMaster Valueodbc.allow_persistentOnOnodbc.check_persistentOnOnodbc.default_dbno valueno valueodbc.default_pwno valueno valueodbc.default_userno valueno valueodbc.defaultbinmodereturn as isreturn as isodbc.defaultlrlreturn up to 4096 bytesreturn up to 4096 bytesodbc.max_linksUnlimitedUnlimitedodbc.max_persistentUnlimitedUnlimited
          opensslOpenSSL support enabled OpenSSL Version OpenSSL 0.9.7d 17 Mar 2004
          overloadUser-Space Object Overloading Support enabled
          pcrePCRE (Perl Compatible Regular Expressions) Support enabled PCRE Library Version 4.3 21-May-2003
          pgsqlPostgreSQL SupportenabledPostgreSQL(libpq) Version 7.4.2 Multibyte character support enabled SSL support enabled Active Persistent Links 0 Active Links 0
          DirectiveLocal ValueMaster Valuepgsql.allow_persistentOnOnpgsql.auto_reset_persistentOffOffpgsql.ignore_noticeOffOffpgsql.log_noticeOffOffpgsql.max_linksUnlimitedUnlimitedpgsql.max_persistentUnlimitedUnlimited
          posixRevision $Revision: 1.51.2.2 $
          qtdomqtdom supportenabled
          sessionSession Support enabled Registered save handlers files user mm
          DirectiveLocal ValueMaster Valuesession.auto_startOffOffsession.bug_compat_42OnOnsession.bug_compat_warnOnOnsession.cache_expire180180session.cache_limiternocachenocachesession.cookie_domainno valueno valuesession.cookie_lifetime00session.cookie_path//session.cookie_secureOffOffsession.entropy_fileno valueno valuesession.entropy_length00session.gc_divisor100100session.gc_maxlifetime14401440session.gc_probability11session.namePHPSESSIDPHPSESSIDsession.referer_checkno valueno valuesession.save_handlerfilesfilessession.save_path/tmp/tmpsession.serialize_handlerphpphpsession.use_cookiesOnOnsession.use_only_cookiesOffOffsession.use_trans_sidOffOff
          shmopshmop support enabled
          snmpNET-SNMP Support enabled NET-SNMP Version 5.1
          socketsSockets Support enabled
          standardRegex Library Bundled library enabled Dynamic Library Support enabled
          DirectiveLocal ValueMaster Valueassert.active11assert.bail00assert.callbackno valueno valueassert.quiet_eval00assert.warning11auto_detect_line_endings00default_socket_timeout6060safe_mode_allowed_env_varsPHP_PHP_safe_mode_protected_env_varsLD_LIBRARY_PATHLD_LIBRARY_PATHurl_rewriter.tagsa=href,area=href,frame=src,input=src,form=,fieldset=a=href,area=href,frame=src,input=src,form=,fieldset=user_agentno valueno value
          swfswf support enabled
          tokenizerTokenizer Support enabled
          wddxWDDX Support enabled
          xmlXML Support active XML Namespace Support active EXPAT Version 1.95.6
          xsltXSLT support enabled Backend Sablotron Sablotron Version 1.0.1 Sablotron Information Cflags: -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall Libs: -L/usr/lib -lexpat Prefix: /usr
          zlibZLib Support enabled Compiled Version 1.2.1 Linked Version 1.2.1
          DirectiveLocal ValueMaster Valuezlib.output_compressionOffOffzlib.output_compression_level-1-1zlib.output_handlerno valueno value
          Additional ModulesModule Namefileproreadlinesysvsemsysvshm
          EnvironmentVariableValueLESSKEY /etc/lesskey.bin MANPATH /usr/share/man:/usr/local/man:/usr/X11R6/man:/opt/gnome/share/man INFODIR /usr/local/info:/usr/share/info:/usr/info NNTPSERVER news SSH_AGENT_PID 3672 KDE_MULTIHEAD false HOSTNAME provo XKEYSYMDB /usr/X11R6/lib/X11/XKeysymDB GNOME2_PATH /usr/local:/opt/gnome:/usr GPG_AGENT_INFO /tmp/gpg-wr71yD/S.gpg-agent:3671:1 SHELL /bin/bash TERM xterm HOST provo STYLE keramik XDM_MANAGED /var/run/xdmctl/xdmctl-:0,rsvd,method=classic HISTSIZE 1000 PROFILEREAD true GTK2_RC_FILES /etc/opt/gnome/gtk-2.0/gtkrc:/opt/gnome/share/themes/Geramik/gtk-2.0/gtkrc:/root/.gtkrc-2.0-keramik:/root/.kde/share/config/gtkrc GTK_RC_FILES /etc/opt/gnome/gtk/gtkrc:/opt/gnome/share/themes/Geramik/gtk/gtkrc:/root/.gtkrc-keramik:/root/.kde/share/config/gtkrc GNOME_PATH :/opt/gnome:/usr KDEHOME /root/.kde WINDOWID 54525960 QTDIR /usr/lib/qt3 get_module_list_done true XSESSION_IS_UP yes KDE_FULL_SESSION true USER root JRE_HOME /usr/lib/java/jre LS_COLORS
          no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32: XCURSOR_SIZE no value OPENWINHOME /usr/openwin XNLSPATH /usr/X11R6/lib/X11/nls HOSTTYPE i386 SSH_AUTH_SOCK /tmp/ssh-QFUEjp3636/agent.3636 KDEROOTHOME /root/.kde FROM_HEADER sharpmw.com SESSION_MANAGER local/provo:/tmp/.ICE-unix/3717 COLUMNS 80 PAGER less get_includes_done true LD_HWCAP_MASK 0x20000000
          MINICOM -c on KONSOLE_DCOP DCOPRef(konsole-3848,konsole) PATH /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/bin:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/jre/bin DESKTOP_SESSION default GNOMEDIR /opt/gnome CPU i686 JAVA_BINDIR /usr/lib/java/jre/bin PWD /etc INPUTRC /etc/inputrc KONSOLE_DCOP_SESSION DCOPRef(konsole-3848,session-1) JAVA_HOME /usr/lib/java/jre XMODIFIERS @im=local LINES 24 SSH_ASKPASS /usr/lib/ssh/x11-ssh-askpass TEXINPUTS ::/root/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX:/root/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX HOME /root SHLVL 3 OSTYPE linux LESS_ADVANCED_PREPROCESSOR no XCURSOR_THEME crystalwhite no_proxy localhost LS_OPTIONS -a -N --color=tty -T 0 WINDOWMANAGER /usr/X11R6/bin/kde GTK_PATH /usr/local/lib/gtk-2.0:/opt/gnome/lib/gtk-2.0:/usr/lib/gtk-2.0 LOGNAME root MACHTYPE i686-suse-linux LESS -M -I LC_CTYPE en_US.UTF-8 LESSOPEN lessopen.sh %s PKG_CONFIG_PATH /opt/gnome/lib/pkgconfig USE_FAM no value INFOPATH
          /usr/local/info:/usr/share/info:/usr/info ACLOCAL_PATH /opt/gnome/share/aclocal DISPLAY :0.0 LESSCLOSE lessclose.sh %s %s G_BROKEN_FILENAMES 1 COLORTERM no value JAVA_ROOT /usr/lib/java _ /sbin/startproc PREVLEVEL N RUNLEVEL 5 DAEMON /usr/sbin/httpd2-prefork SWFFONTPATH /usr/share/php/swffonts
          PHP VariablesVariableValue_SERVER["HTTP_ACCEPT"]image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/msword, application/x-shockwave-flash, application/vnd.ms-powerpoint, application/vnd.ms-excel, */*_SERVER["HTTP_ACCEPT_LANGUAGE"]en-us_SERVER["HTTP_XXXXXXXXXXXXXXX"]XXXXXXXXXXXXX_SERVER["HTTP_USER_AGENT"]Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)_SERVER["HTTP_HOST"]provo.no-ip.info_SERVER["HTTP_CONNECTION"]Keep-Alive_SERVER["PATH"]/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/bin:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/jre/bin_SERVER["SERVER_SIGNATURE"]<address>Apache/2.0.49 (Linux/SuSE) Server at provo.no-ip.info Port 80</address> _SERVER["SERVER_SOFTWARE"]Apache/2.0.49 (Linux/SuSE)_SERVER["SERVER_NAME"]provo.no-ip.info_SERVER["SERVER_ADDR"]192.168.0.100_SERVER["SERVER_PORT"]80_SERVER["REMOTE_ADDR"]69.179.138.112_SERVER["DOCUMENT_ROOT"]/srv/www/htdocs_SERVER["SERVER_ADMIN"][no address
          given]_SERVER["SCRIPT_FILENAME"]/srv/www/htdocs/phpinfo.php_SERVER["REMOTE_PORT"]60373_SERVER["GATEWAY_INTERFACE"]CGI/1.1_SERVER["SERVER_PROTOCOL"]HTTP/1.1_SERVER["REQUEST_METHOD"]GET_SERVER["QUERY_STRING"]no value_SERVER["REQUEST_URI"]/phpinfo.php_SERVER["SCRIPT_NAME"]/phpinfo.php_SERVER["PHP_SELF"]/phpinfo.php_SERVER["PATH_TRANSLATED"]/srv/www/htdocs/phpinfo.php_SERVER["argv"]
          Array()
          _SERVER["argc"]0_ENV["LESSKEY"]/etc/lesskey.bin_ENV["MANPATH"]/usr/share/man:/usr/local/man:/usr/X11R6/man:/opt/gnome/share/man_ENV["INFODIR"]/usr/local/info:/usr/share/info:/usr/info_ENV["NNTPSERVER"]news_ENV["SSH_AGENT_PID"]3672_ENV["KDE_MULTIHEAD"]false_ENV["HOSTNAME"]provo_ENV["XKEYSYMDB"]/usr/X11R6/lib/X11/XKeysymDB_ENV["GNOME2_PATH"]/usr/local:/opt/gnome:/usr_ENV["GPG_AGENT_INFO"]/tmp/gpg-wr71yD/S.gpg-agent:3671:1_ENV["SHELL"]/bin/bash_ENV["TERM"]xterm_ENV["HOST"]provo_ENV["STYLE"]keramik_ENV["XDM_MANAGED"]/var/run/xdmctl/xdmctl-:0,rsvd,method=classic_ENV["HISTSIZE"]1000_ENV["PROFILEREAD"]true_ENV["GTK2_RC_FILES"]/etc/opt/gnome/gtk-2.0/gtkrc:/opt/gnome/share/themes/Geramik/gtk-2.0/gtkrc:/root/.gtkrc-2.0-keramik:/root/.kde/share/config/gtkrc_ENV["GTK_RC_FILES"]/etc/opt/gnome/gtk/gtkrc:/opt/gnome/share/themes/Geramik/gtk/gtkrc:/root/.gtkrc-keramik:/root/.kde/share/config/gtkrc_ENV["GNOME_PATH"]:/opt/gnome:/usr_ENV["KDEHOME"]/root/.kde_ENV["WINDOWID"]54525960_ENV["QTDIR"]/usr/lib/
          qt3_ENV["get_module_list_done"]true_ENV["XSESSION_IS_UP"]yes_ENV["KDE_FULL_SESSION"]true_ENV["USER"]root_ENV["JRE_HOME"]/usr/lib/java/jre_ENV["LS_COLORS"]no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:_ENV["XCURSOR_SIZE"]no
          value_ENV["OPENWINHOME"]/usr/openwin_ENV["XNLSPATH"]/usr/X11R6/lib/X11/nls_ENV["HOSTTYPE"]i386_ENV["SSH_AUTH_SOCK"]/tmp/ssh-QFUEjp3636/agent.3636_ENV["KDEROOTHOME"]/root/.kde_ENV["FROM_HEADER"]sharpmw.com_ENV["SESSION_MANAGER"]local/provo:/tmp/.ICE-unix/3717_ENV["COLUMNS"]80_ENV["PAGER"]less_ENV["get_includes_done"]true_ENV["LD_HWCAP_MASK"]0x20000000_ENV["MINICOM"]-c
          on_ENV["KONSOLE_DCOP"]DCOPRef(konsole-3848,konsole)_ENV["PATH"]/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/bin:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/jre/bin_ENV["DESKTOP_SESSION"]default_ENV["GNOMEDIR"]/opt/gnome_ENV["CPU"]i686_ENV["JAVA_BINDIR"]/usr/lib/java/jre/bin_ENV["PWD"]/etc_ENV["INPUTRC"]/etc/inputrc_ENV["KONSOLE_DCOP_SESSION"]DCOPRef(konsole-3848,session-1)_ENV["JAVA_HOME"]/usr/lib/java/jre_ENV["XMODIFIERS"]@im=local_ENV["LINES"]24_ENV["SSH_ASKPASS"]/usr/lib/ssh/x11-ssh-askpass_ENV["TEXINPUTS"]::/root/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX:/root/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX_ENV["HOME"]/root_ENV["SHLVL"]3_ENV["OSTYPE"]linux_ENV["LESS_ADVANCED_PREPROCESSOR"]no_ENV["XCURSOR_THEME"]crystalwhite_ENV["no_proxy"]localhost_ENV["LS_OPTIONS"]-a -N --color=tty -T
          0_ENV["WINDOWMANAGER"]/usr/X11R6/bin/kde_ENV["GTK_PATH"]/usr/local/lib/gtk-2.0:/opt/gnome/lib/gtk-2.0:/usr/lib/gtk-2.0_ENV["LOGNAME"]root_ENV["MACHTYPE"]i686-suse-linux_ENV["LESS"]-M -I_ENV["LC_CTYPE"]en_US.UTF-8_ENV["LESSOPEN"]lessopen.sh %s_ENV["PKG_CONFIG_PATH"]/opt/gnome/lib/pkgconfig_ENV["USE_FAM"]no value_ENV["INFOPATH"]/usr/local/info:/usr/share/info:/usr/info_ENV["ACLOCAL_PATH"]/opt/gnome/share/aclocal_ENV["DISPLAY"]:0.0_ENV["LESSCLOSE"]lessclose.sh %s %s_ENV["G_BROKEN_FILENAMES"]1_ENV["COLORTERM"]no value_ENV["JAVA_ROOT"]/usr/lib/java_ENV["_"]/sbin/startproc_ENV["PREVLEVEL"]N_ENV["RUNLEVEL"]5_ENV["DAEMON"]/usr/sbin/httpd2-prefork_ENV["SWFFONTPATH"]/usr/share/php/swffonts
          PHP License
          This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE

          This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

          If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@....


          postamble();

          "K. S." <einheit@...> wrote:michael_missouri wrote:
          >Hi folks!
          >
          >I have spent the last two weeks trying to find the answer to a
          >problem to no avail. Hoping someone here may have a clue.
          >
          >I'm running Suse 9.1 and have installed the Apache2, PHP 4.3.4 and
          >MySql from the CD's that came with the system. I am wanting to use
          >the mail() function from within PHP scripts. However, it keeps
          >telling me that it is an undefined function.
          >
          >Here is what I know:
          >
          >I know that at compile time I have to have a working sendmail -
          >which I do.
          >
          The sendmail command, yes - which can be provided by either the postfix
          (default) or sendmail packages.
          >
          >I know that the mail() function is in the core module.
          >
          >I know I have to rebuild Apache2 after installing PHP - which I have
          >done several times.
          >
          You absolutely DO NOT have to rebuild anything. If you did rebuild, that
          could explain the problems, because you took a wrong turn somewhere.
          I've been building linux servers running apache+php+email for years,
          using the standard suse packages, no rebuilding required.

          My suggestion is that you remove all traces of whatever you
          built/rebuilt by hand, simply install the required packages through yast
          and you should be good to go, immediately.

          If you do that and still see problems, send a listing of the output of
          "phpinfo()" on your system.

          e



          SPONSORED LINKS
          Linux software Linux operating system Suse linux Hosting linux unix web Free linux operating system Unix operating system

          ---------------------------------
          YAHOO! GROUPS LINKS


          Visit your group "suselinuxusers" on the web.

          To unsubscribe from this group, send an email to:
          suselinuxusers-unsubscribe@yahoogroups.com

          Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


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





          ---------------------------------
          Yahoo! for Good
          Click here to donate to the Hurricane Katrina relief effort.

          [Non-text portions of this message have been removed]
        Your message has been successfully submitted and would be delivered to recipients shortly.