Configuring The IMAP Extension
I'm trying to get a PHP-based webmail setup going, but I'm running
into a problem with IMAP authentication. Specifically, the PHP IMAP
extension is trying to log in using CRAM-MD5 authentication, which my
IMAP server doesn't support. Is there a way to make PHP IMAP use just
plain login authentication?
View Complete Forum Thread with Replies
Related Forum Messages:
How I Can Add Imap Extension
So.. I have Php4 installed in apache webserver and now I would like use imap functions, but I think imap -extension isn´t installed. How can I add an extension into php4. Do I have to install the package again or can I add it "on the fly"?
View Replies !
Imap Extension
I have installed Php using Zip, and it is working fine,, now i have just uncommented the extension = php_imap.dll and when i try to use its function imap_open i get No output in Browser, No Warning, No Error and not any output of other codes on page, I dont know why it is happeneing, extension is on c:phpextensionsphp_imap.dll and on php.ini extension_dir = "C:phpextensions" any idea? My Test page code is <? $k = imap_open("ssdf","sdfsdf","sdfsdf"); echo "sfsd"; ?>
View Replies !
Cannot Load Imap Extension In Win98
I removed the ; before "extension=php_imap.dll" in php.ini, and when I start Apache 1.3 I get the following error message: Unknown():Unable to load dynamic library 'c:phpextensionsphp_imap.dll". Uno de los dispositivos vinculados al sistema no funciona (Translation: one of the devices attached to the system doesn't work). I already checked the extension_dir directive, and copied php_imap.dll to c:windows just in case. I am using Windows98 SE with php 4.3.3 as module in Apache 1.3
View Replies !
Configuring PHP...
Security Alert! The PHP CGI cannot be accessed directly. This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.
View Replies !
Configuring Ht://dig Under IIS/PWS
Anybody know how to configuring ht://dig ( complete indexing and searching system for a small domain or intranet)-http://dig.org under IIS/PWS and windows operating.or. anybody know how to configure phpdig under IIS/PWS with Windows OS.
View Replies !
Configuring PHP.INI
I have installed phpdev5 on my computer that gives me php and mySQL on my local computer. I am running a program call easyGen which allows my to build a dynamic web site. It writes the php for me and creates the mySQL database. It exports the PHP pages to my testing server. Here is the problem I am having is below. These are page to have a membership and login: Code:
View Replies !
Configuring Php
I an using Red Hat ES Ver3. I had installed Apache 2.2.3 and MySQL 5.0 successfully. I had downloaded PHP 5.1.4. Problem is when I tried to configure PHP as follows: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql The following message displayed: Checking MySQL Unix Socket Location Configure ... /temp/mysql.sock error: cannot find MySQL header files under yes . Note that MySql Client library is not bundle anymore! Can someone explain this error to me.
View Replies !
Configuring 4.3.2
The manuals say GD (along with others) is built into the latest version of PHP. When I go to configure PHP do I have to explicitly state --with-gd or is it automatic? I don't see gd anywhere in my php_info() but if gd is built in should I?
View Replies !
Configuring In Windows
i can't figure out how to allow the socket functions for php in windows. it says at php.net: "The socket functions described here are part of an extension to PHP which must be enabled at compile time by giving the --enable-sockets option to configure. "
View Replies !
Configuring Php.ini To Use Mail()
I want is to be able to use the mail() function from my computer. I have Apache, PHP and MySQL installed. I'm on a Win XP machine. I have Outlook2000 installed. I use hotmail for my email. I've read a few places that all that is needed is to set up the php.ini file correctly. I guess I must just be a little slow because I don't know how to set it up correctly. Do I need to setup a mail server or something? Right now I just want the simple mail function to work, but before I am done with this project I need to also send attachments.
View Replies !
Installing An Configuring PHP
I have Dreamweaver installed on my Windows PC. I'd like to start writing some simple PHP files. I just installed IIS which is part of Windows XP. I verified that it works fine. Now when I installed PHP from the www.php.net site, it asks me what server I am using. There are 4 versions of IIS as choices. Which one do I choose ? Why is it that when I create a simple php file and place it in c:/inetpub/www, when I double-click on the file it opens Dreamweaver. How to I make it go to my IIS server and PHP application and not to Dreamweaver ? My .php file contains: <pre><p>This page was created at <b> <?php echo date("h:i:s a", time()); ?> </b> on the computer running PHP.</p> </pre>
View Replies !
Configuring Php.ini Post_max_size
I am in the process of writing an http upload system. I can upload files but the problem is my post_max_size is set to 8mb. I need that to be a lot bigger. I have read on the web that I need to change my php.ini file. I can not locate mine. According to phpinfo(); it is supposed to be in my /usr/lib/. I look in there and could not find it. I am running PHP 4.1.2 on Mac OS X.
View Replies !
Configuring IIS For PHP5
how to configure IIS on windows xp pro to run php5, i have read the php maual and i have books, but trying to do it from zip and not installer is very difficult i just cant get it to work, i keep getting error 404- page not found.
View Replies !
Installing/configuring Them
I've downloaded PHP 5 and the Apache thing, as well as followed the instructions that my book gave on installing/configuring them. I only have one problem. How do I upload my test file into my web browser and see it?
View Replies !
Configuring Apache 2.0.3 For 5.0
I have installed php5 and apache 2.0.5. apache is working. if i go to localhost, it brings up apache's splash page. however, if i try to create any type of '.php' file in my home directory, and try to go to it, I get error "http 404 Not found" I have the file in the correct directory and I am naming it properly. I think it has something to do with the httpd.conf file. I am trying to configure it as a CGI under Windows XP. I added the following lines to the file: ScriptAlias /php/ "C:/php/" Addtype application/x-httpd-php .php Action application/x-httpd-php "/php/php-cgi.exe" I stopped and restarted apache, but problem persists. I know it's something I must be doing wrong becuase I tried this on 2 different pc's and i get the same results. I just can't figure out what i'm missing.
View Replies !
Configuring PAM + Postgres
i have already installed postgresql-8.2.4 on fedora core 6 using the following steps. ./configure --prefix=/usr/local/pgsql --with-pam make make install, it was successfully installed but i have no idea whether or not there is still something to be done.
View Replies !
Configuring Mysql
I already installed gd and its dependencies the only thing I'm having a problem with jpg-6b. here is the configure i am doing when i am in the php directory. abbreviated because my posting space is limited starting with the first error message. configure: warning: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking for bison... bison -y checking for bison version... 2.0 (ok) checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for working const... yes checking for flex version... 2.5.4 (ok) checking whether to force non-PIC code in shared modules... no checking for pthreads_cflags... -pthread checking for pthreads_lib... ...........
View Replies !
Configuring Php & Apache Webserver
Unable to run php files on Linux . php-4.2.2 is preinstalled on RHL 9 .Whenever I run a .php file in the webbrowser(Mozilla) the HTML source code of the file is being displayed instead of the output . I did all the elementary diagnosis stated in the FAQ's like .... 1) $php -i (enter) This command results in pagefule of HTML code (This indicates php is working properly). 2)Inserted the following in httpd.conf file .... AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php .php 3)php4 module "libphp4.so" is seen under /etc/httpd/modules 4)$apachectl configtest (enter) syntax ok (output) According to the www.php.net/manual/installation_FAQ if "$php -i" results in loads of HTML code & if HTML source is displayed when the ".php" is run in the webbrowser then it indicates that php is working properly and the problem lies with the webserver configuration . There is one thing which is bit confusing ...... according to install manual "php.ini" file should be placed under /usr/local/lib ,but i found the file under /etc . According to FAQ if file is under different location (other than default location ) then following line has to be added .. --with-config-file-scan-dir=PATH But even after adding the line there is no change ! Is the problem with the Apache Webserver or php . Where can I find php configuration file & can I make changes to it once it is installed .. I could not find any php directory where such config file could be found . contents of /var/log/httpd/error_log ------------------------------------ [Sat Mar 06 06:47:25 2004] [notice] Digest: generating secret for digest authentication ... [Sat Mar 06 06:47:25 2004] [notice] Digest: done [Sat Mar 06 06:47:26 2004] [notice] Apache/2.0.40 (Red Hat Linux) configured -- resuming normal operations [Sat Mar 06 07:55:05 2004] [error] [client 202.223.68.1] Directory index forbidden by rule: /var/www/html/
View Replies !
Configuring PHP 5.2.0 With Postgres 8.1.3 (no Source)
I'm trying to configure PHP 5.2.0 with support for Postgres 8.1.3. Postgres was installed with FC5 without source. PHP's configure needs source. When I run configure: configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path I tried downloading Postgres source and modifying PHPs configure to point to it, and that worked. But then compilation failed, e.g. In file included from /home/jao/php-5.2.0/ext/pgsql/php_pgsql.h:32, from /home/jao/php-5.2.0/ext/pgsql/pgsql.c:45: /usr/local/src/postgresql-8.1.4/src/interfaces/libpq/libpq-fe.h:29:26: error: postgres_ext.h: No such file or directory In file included from /home/jao/php-5.2.0/ext/pgsql/php_pgsql.h:32, from /home/jao/php-5.2.0/ext/pgsql/pgsql.c:45: /usr/local/src/postgresql-8.1.4/src/interfaces/libpq/libpq-fe.h:317: error: expected '', ',' or ')' before '*' token Then I thought I'd uninstall the postgres RPMs and build postgres from scratch, but there are dependencies on postgres: libpq.so.4 is needed by (installed) apr-util-1.2.2-4.2.i386 libpq.so.4 is needed by (installed) dovecot-1.0-0.beta2.7.i386 libpq.so.4 is needed by (installed) perl-DBD-Pg-1.43-2.2.2.i386 And I really don't want to unravel my entire set of RPMs. So I have two questions: 1) Does PHP 5.2.0 support Postgres 8.x? The compilation errors, and some of the postgres paths in the configure file suggest that it might not. 2) How can I get PHP configured to support postgres?
View Replies !
Configuring Binary PHP Installation
I have RedHat Linux 8.0 installed on my AMD system. I chose to install all of the web server apps when I installed RH. Apache works and so does PHP, but when I use a php function to call a mySQL functionality I get: "Fatal error: Call to undefined function: mysql_connect in /../../ on line 2" Is there a way to get PHP to recognize and call a mySQL function without reinstalling PHP and mySQL from source. NOTE: the mySQL package I am using is a binary and has no source folder, Apache and PHP are also binaries. Any suggections?
View Replies !
Trouble Configuring Php With Openssl
I downloaded PHP 4.4.4 and am trying to install for Apache 2 on Fedora Core 5. However when trying to configure with openssl, I get this error, configure: error: Cannot find OpenSSL's <evp.h> That file is located in /usr/include/openssl/evp.h but when I put the directory in the configure option --with-openssl=/usr/include/openssl I get the same error. What directory am I supposed to place in the "--with-openssl" command?
View Replies !
Beginners Q: Configuring Apache - Php On XP
I was just trying to install Apache and php on an XP box for test of a PHP website I built last year. It was my first and only, so I am now rusty about the little I did learn last year. I get the following error in my log after I think I have I configured apache and php "[Thu Apr 29 15:31:19 2004] [alert] [client 127.0.0.1] C:/Websites/matrixcsbsju/html.test/matrix.htaccess: Invalid command 'php_value', perhaps mis-spelled or defined by a module not included in the server configuration" I am running: PHP 4.1.2 Apache 2.0.47 The apache conf/httpd.conf contains the follow extra bits: # My local copy of bunch of files that make up the site. DocumentRoot "C:/Websites/matrixcsbsju/html.test" [...] # left over from a previous configuration of this site, but we are still # using this name, so I'll keep it for now. AccessFileName matrix.htaccess [...] # A directory element for my little website <Directory "C:/Websites/matrixcsbsju/html.test"> [...] AllowOverride All [...] # DirectoryIndex index.html index.html.var index.php index.htm [...] # And directing all php to the php module ScriptAlias /php/ "C:/dev/tools/php/" AddType application/x-httpd-php .php AddType application/x-httpd-php .php3 AddType application/x-httpd-php .htm AddType application/x-httpd-php .html Action application/x-httpd-php "/php/php.exe" Is there anything else? It seems to be saying it doesn't know about php in the error message?
View Replies !
Configuring Account Balance's
I have a file that has money balance's in it. What I am trying to do is format the file so that anything with a balance of .$.01 - $2.00 is named a "Low" balance. Everything with a $-.01 or less is a "Negitive" balance and the even ($0.00) balances will be thrown out. Below is what I have came up with so far but does not work of course. Code:
View Replies !
Configuring Php For Largish Downloads.
I am setting up a webcart type site that uses php to deliver video downloads to its users. The video files are typically > 250Mb. All testing was done with smaller files, and now I am testing with the larger files things started to go pearshaped. The download would be cut short after 'x' amount of time, I went ahead and assumed that the 'max_execution_time' of php.ini was causing this. I racked this up to an hour. I aslo massivley upped the memory_limit. My questions are: Do i need to up the mem_limit for downloads? Are there any performance problems inherant in allowing an hour for max_ex_time? similarly, could a very large mem_limit cause me other problems?
View Replies !
Configuring The Php.ini File For Mail
I need help in configuring my setup file to use the mail() function. I have this form and have in a remote server. Now i need to send in the values of the form in a mail to many people. What are the settings that I should change in the .ini file in order to get it going? I used a simple mail script and it always returns error. I am posting the script below. <?php $to = "aravind.venkatachalam@sabre-holdings.com"; $subject = "Hi!"; $body = "Hi, How are you?"; if (mail($to, $subject, $body)) { echo("Message successfully sent!"); } else { echo("Message delivery failed..."); } ?>
View Replies !
Configuring Mcrypt And Libmcrypt
i am using RHEL 5. I use an Apache 2.2.6 and PHP 5.2.4. I am having problems configuring the mcrypt library. libmcrypt log: checking for C++ compiler default output file name... b.out checking whether the C++ compiler works... configure: error: cannot run C++ compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. mcrypt log: checking dependency style of gpp... none checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check i've tried installing the libmcrypt rpm from rpmforge and then installing mcrypt. i've tried installing the php-mcrypt rpm.
View Replies !
Configuring 5 With SQL Server 2005
I am trying to get php to work with SQL server 2005, I enabled the mssql extension at install time and that didn't work, so I went into the php.ini where php is installed under "C:Prorgam FilesPHP" and uncommented the mssql extension, I also changed the extension_dir directive to the "ext" directory where the extensions under the root of the php installation and yet when I try to run a query under php I am still getting "call to undefined function" am I missing something here?
View Replies !
Problem Configuring PHP As An Apache Module
Running Windows XP extracted new download of "PHP" with Apache API into c:/php After inserting "LoadModule php4_module c:/php/sapi/phprapache.dll" into httpd.conf at line 159, upon restarting Apache i get the following error. The Apache service named reported the following error: >>> Syntax error on line 159 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf:. followed by: The Apache service named reported the following error: >>> Cannot load C:/php/sapi/php4apache.dll into server: The specified module could not be found. . Note: php4ts.dll had been copied to /php/sapi Any clues on how to resolve this "syntax error"
View Replies !
Configuring Gmail Smpt In Php´
Is there any way to set up the php.ini file, in order to be able to use gmail to send mails from a local machine? I've tryied with SMTP = smtp.gmail.com smtp_port = 25 but I can't figure out where I've to write user and password data nor the place where I've to write the SSL data which Gmail waits for...
View Replies !
Trouble Configuring Include_path In My Php.ini File.
I having trouble configuring include_path in my php.ini file. I've created a directory named admin/includes and I thought that I had pointed the ini file to it, but it doesn't seem to work. That section of my php.ini file looks like: Paths and Directories ; ;;;;;;;;;;;;;;;;;;;;;;;;; ; UNIX: "/path1:/path2" include_path = ".:/admin/includes" ; ; ; Windows: "path1;path2" include_path = ".:adminincludes" ;
View Replies !
PHP4: Configuring One's System
I need to be pointed to a good tutorial or directions on how to configure your computer to use PHP's mail() function. My operating system is Windows XP home edition. I'm running Apache 2.0. What steps do I need to take?
View Replies !
Problem Configuring 5 With Apache Mysql
I am using RedHat ES Ver3.0 Install Apache 2.0.59 Install MySQL 5.0.22 Downloaded PHP 5.1.4 Configure using: ./configure --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache/bin/apxs Receive Error: configure: error: Try adding --with-zlib-dir=<DIR>. Please check config.log for more information. Download zlib-1.2.3: configure and install Reconfigure PHP using: ./configure --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache/bin/apxs --with-zlib=/usr/local/zlib-1.2.3 Receive error: checking if the location of ZLIB install directory is defined... no configure: error: Cannot find libz
View Replies !
PHP Configuring Problem: Invalid Host Type
Im trying to follow the php installation notes on the site here but Ive hit a snag during the config stage. Here is the command Im using & then Ill throw out the errors: ./configure --with-mysql=/usr/local/bin --with-apache=/usr/local/apache --enable-track-vars And here are the errors Im getting (all seeming to relate to apache) configure: warning: --with-apache=/usr/local/apache : invalid host type configure: error: can only configure for one host and one target at a time I have to say I am new at this, I built my first Redhat 8 box last weekend & have been "learning as I go" Im using Apache 2.0.44, php 4.3.2 & Mysql 3.23 with the jsdk1.4.1 also installed Apache is running fine & so is MySQL, I just need to get PHP running & then a servlet engine.
View Replies !
Need Assistance In Configuring Komodo For Debugger Support.
I am looking for some assistance in 'fine-tuning' my preferences as I set-up my system to learn PHP. I am running Komodo professional, version 3.5.3, build 262321, platform win32-x86. Under Preferences/Language/PHP in debugger configuration, I am getting the following error message: WARNING! PHP is not configured for debugging. You can use the configuration wizard to configure PHP for debugging. When I try and run the Debugger Config Wizard I get to the point where it asks me to choose the PHP extension directory. I currently have e:/Program Files/perl/php/ext but when I try and click Next>, nothing happens. It will not accept this choice.
View Replies !
Problem Configuring Apache With Php Support To Run Scripts On Browser.
iam trying to install php v5.2.1 with apache support so i can run .php scripts ddirectly on my browser instead of command line but when i try to http://localhost/phpinfo.phpi get na internal server error. i ahve apache v2.2.4 installed. and when php asked me i teold het that i want her to configure automaticall Apache cGI nd inseide htpp.conf it added these lines #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL ScriptAlias /php/ "C:Program FilesPHP" Action application/x-httpd-php "C:Program FilesPHPphp-cgi.exe" #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL but yet it wont run. form command lien only works but not inisde my browser why?
View Replies !
PHP And IMAP
i am writing an IMAP client with php. the start is made, and i ge all the folder listings and headers and all, but how do i read a message ?
View Replies !
Imap/ssl
I was just wondering if there is a way to connect to the secure imap server (port 993) without having --with-imap-ssl option turned on. I have --with-imap and --with-openssl and recompiling php is not an option (I'm not the server owner).
View Replies !
Php Pop/imap
How would you implement a PHP webmail client that is connecting to a POP server but indicating that you would like messages to be left on the server? How is this performed? I could just establish a imap connection and pull down emails - however, if a message is permanently deleted locally but on the server, it'll just get pulled down again.
View Replies !
PHP 4.3.4 And IMAP
Is there any way to force PHP when compiling with IMAP support, not to use kerberos? I keep getting undefined errors involving GSSAPI. I have compiled the C-client with an with out SSL, however the php install still continues to look for the GSSAPI.
View Replies !
IMAP
i have an emailserver (sendmail) coded using php.But i cannot read mails in my machine using imap function in php. when i use imap_open function in php i am getting a warning cannot open stream... i am using redhat9. DO u need any further information. its urgent. its apart of project work at college. i have to submitt it within 2 days. Is there any configuration for imap . I am able to access mails using evolution and imap://user@localhost. My host name is xpressmail.com hence imap://vivu@xpressmail.com . but its notworking when i use php function Code:
View Replies !
Using Imap
i have this code to connect to newsgroups, which connects great using imap, but im not sure how to retrieve the data like headers and such once connected, is there any tutorial about on the subject at all? Code:
View Replies !
IMAP In Box
I have this code PHP Code: <?php $mbox = imap_open("{localhost:143}", "username", "password"); echo "<h1>Mailboxes</h1> "; $folders = imap_listmailbox($mbox, "{localhost:143}", "*"); echo "<h1>Headers in INBOX</h1> "; $headers = imap_headers($mbox); if ($headers == false) { Â Â Â echo "Call failed<br /> .......
View Replies !
Formmail.php Brings Up Error Message About Configuring "sendmail_from" Line
This may not be the best place to put this but i have set up apache as a testing server on my local machine. Whenever i try to use a formmail.php script i downloaded is always come sup saying that i need to configure sendmail_from. I have changed this (in php.ini) to be to my email address and the smtp server is set to be my university's smtp server (which i hope should work). But it still comes up with the error. The actual error is: Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing
View Replies !
IMAP Functions
I have signed up with a new web host and want to use IMAP functions with them. They do support these. I have checked. They have provided webmail at url: http://webmail.mydomain.com so I guessed that I should use this syntax in my php script: imap_open("{webmail.mydomain.com:143 INBOX", "username", "password"); But it does not work. I receive this error message: Warning: imap_open(): Couldn't open stream {webmail.mydomain.com:143}INBOX Help! I have asked my host about this and from their reply I dont think they even know what IMAP functions are. So, I am really stuck. I have read about opening an IMAP stream and that there are different syntaxes for different software components and scenarios - how can I find out which one is appropriate for my set up, given that asking my host is out? The webmail is horde webmail. The login url is below http://webmail.mydomain.com/horde/ I am on a virtual server. So, I have an IP - but it is a shared IP of course. My host provided me with 3 IPs - one for FTP access, one is just my private IP (behind a firewall), the other is a public IP (outside the firewall). I have to give my public IP to DNS.
View Replies !
IMAP Questions
I've spent hours, days .... weeks(!) reading the manual, but still can't find answers to my questions regarding the use of some IMAP functions and their miscellaneous properties. From now, I'm gonna list all those questions on this thread and see if some of you can provide even partial but useful comments. Question number ONE : imap_setflag_full In imap_setflag_full($mbox, "2,5", "Seen Flagged"); we have the string sequence "2,5" but I fail to understand if it is safe or not to choose any sequence I want regardless of the message structure. For example, if I apply a "Flagged" flag on all incoming messages exclusively at "2,5", is it possible that I could overwrite some precious information in that particular place? What are the implications of such a method?
View Replies !
IMAP PHP Issue
I am trying to compile University of Washington IMAP C-Client with PHP 4.3.4 on a Red Hat 6.2 to no avail. The most common error message has something to do with auth_gssapi_vaild. I have tried compiling it with and with out kerberos, ssl. I have tried various clients and I have re-installed kerberos.
View Replies !
Help Needed In IMAP+PHP
I am having a mail client script, which will read and send mail to mail server, using IMAP. When i am sending mail with attachment through forwarding, the attachment is not getting attached correctly, Plz any one can help me to come out of the problem. Note : I am using PHP 4.3.10 + IMAP + Apache +Zend Engine v1.3.0
View Replies !
|