php-install Digest 23 Jul 2001 08:24:24 -0000 Issue 376 Topics (messages 3663 through 3670): Please help me.... 3663 by: Seth Cox Re: [PHP-DEV] Re: IMAP/POP3 Administration API? 3664 by: Nashirak Bossk 3665 by: Joey Smith Qusetion ! 3666 by: DHHONG.aaww.com I have a problem with Apache.. 3667 by: Sree Ram Source appears in web page !!!! 3668 by: Ulrich Emmanuel 3669 by: DVD Plaza \(Chris\) 3670 by: Walter, Marcel 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] ----------------------------------------------------------------------
I have installed PHP 4.06 on my Sambar server. I NEED PHP Authentication, so I have configured it manually on my NT machine, but the Auth still does not work - it never sets the PHP_AUTH_USER and PW variables when the 401 box pops up, so it doesn't check what's entered against the correct names. Does anybody know what I have to do to get HTTP Authentication working on my machine? I need it ASAP. Thanks! Seth
I have a suggestion: You could use procmail and if you had a mailserver like exim. Set up a list of aliases and then have them all forward into 1 account then the procmailrc file in that one account sends the info to various files or users. To add and delete users all you would have to do is make php write to a aliases file and a procmailrc file, which would be easy enough. Sterling Hughes wrote: > I wrote one... > > http://www.designmultimedia.com/cyrus/php_extension.html > > Never did have the time to commit it though, as its still in development > (well, not currently, but when I get some free time :). > > -Sterling > > George Schlossnagle wrote: > > > Sounds like a cyrus-imap extension for imap (which allows many > > authentication methods, most of which don't need system-level users) > > would be a good thing. > > > > George > > > > On Sunday, July 22, 2001, at 11:32 AM, Dave Mertens wrote: > > > >>>>> Is there any IMAP/POP3 API/Modules of Linux email system (Sendmail) > >>>> > >>> written > >>> > >>>>> in PHP? > >>>>> I am looking for API to write a signup page for users. > >>>> > >> > >>>> Have to tried http://www.php.net/imap ?? Great source for API's ;-) > >>> > >> > >>> Have looked through it already. None of them allows me to add/delete > >>> users > >> > >> > >> Most mailserver use the users that exist on the mail server. An mail > >> user is also an regular user (Althru most of them get an fake shell) > >> . To add, modify or delete such user you need root privilegde. > >> Webserver such as Apache run with a user nobody (or similair) which > >> have as less access to the system as possible. > >> > >> Because php is than also running as user 'nobody'. And then you can't > >> add, modify or delete users. > >> > >> If you still want to build a mailuser webinterface, here's how to do-it: > >> - first make sure only 'localhost' can access the site. Use an port > >> different from '80'. > >> > >> To edit the /etc/passwd there's a file in the php4 source directory > >> /pear/files. This file is called 'Passwd.php' which you can use to > >> edit the /etc/passwd and similair files.. > >> > >> Because every mail server have it own config files, it's not possible > >> to create an 'generic' API. I advise you to download some other > >> web-interfaces for sendmail > >> so you can see how they're handling the files. > >> > >> Good luck. > >> > >> Dave Mertens > >> > >> > >> -- > >> PHP Development 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] > >> -- ------------------------------- Clayton Bluhm Computer Engineering Student [EMAIL PROTECTED]
Please kill this thread, or at least have the decency to limit it to php-general, to which it belongs. There is no need to EVER cross-post in this manner! On Sun, 22 Jul 2001, Dave Mertens wrote the following to Christopher Cheng : > On Sun, Jul 22, 2001 at 07:41:01PM +0800, Christopher Cheng wrote: > > Is there any IMAP/POP3 API/Modules of Linux email system (Sendmail) written > > in PHP? > > I am looking for API to write a signup page for users. > > > Have to tried http://www.php.net/imap ?? Great source for API's ;-) > > Dave Mertens > >
Dear All ! My name is DHHong and I'm Korean. I tried to install PHP on UNIX (SunOS 5.6 Generic_105181-26 sun4u sparc SUNW,Ultra-2), I got the error message like below. Please give me some help to solve this problem. Thanks in advance. regards, Dhhong. ------------------------------------------------------------------------------------------- [anamapps2:/usr/local/php-4.0.6]#./configure --with-mysql --with-apache=../apache_1.3.x --enable-track-vars loading cache ./config.cache checking for a BSD compatible install... ./install-sh -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... sparc-sun-solaris2.6 checking for gawk... no checking for mawk... no checking for nawk... nawk checking for bison... no checking for byacc... no configure: warning: You will need bison if you want to regenerate the PHP parsers. checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for AIX... no checking for gcc option to accept ANSI C... none needed checking for ranlib... : checking whether gcc and cc understand -c and -o together... yes checking whether ln -s works... yes checking for flex... lex checking for yywrap in -ll... yes checking lex output file root... ./configure: lex: not found configure: error: cannot find output from lex; giving up -------------------------------------------------------------------------------------------
HI, I kept my php file at DOCUMENT_ROOT/ . And when I call the php file. Apache server says that Page cant be found. I am using Apache1.3.X and using php.exe. I did the requried change to httpd.conf. What else are requriend. Can any one help me. Regards, Sreeram...
Hello everybody; as it's my first post on this list i'm a newbie using PHP. I've just installed a MLysql - PHP 4 and linux redhat 7.1 and Linux and Mysql works fine i can not manage to correctly read php & php4 pages, the source is printed on the web page as follow : -->< ?PHP echo ("Ca marche !"); phpinfo() ; ?> I've successfully installed PHP here's my httpd.conf : <IfDefine HAVE_PHP> LoadModule php_module modules/mod_php.so <IfDefine HAVE_PHP4> LoadModule php4_module modules/libphp4.so <IfDefine HAVE_PHP> AddModule mod_php.c <IfDefine HAVE_PHP4> AddModule mod_php4.c But nothing works ...if someone could help i'de be very glad ! Ulrich Emmanuel, IT Group Infogrames Entertainment, France Tel: +33 (0)4 37 64 31 56 / Icq :50918682 http://www.infogrames.com
Hi Ulrich, For a start your PHP code has some errors in it. Instead of: -->< ?PHP echo ("Ca marche !"); phpinfo() ; ?> Try using: <?php echo "Ca marche !"; phpinfo(); ?> Sincerely, Chris Till Proprietor DVD Plaza - www.dvdplaza.com.au ______________________________________________________________________ Confidential information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply e-mail. Opinions, conclusions and other information in this message that do not relate to the business of DVD Plaza shall be understood as neither given nor endorsed by DVD Plaza. "Ulrich Emmanuel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello everybody; as it's my first post on this list i'm a newbie using PHP. > I've just installed a MLysql - PHP 4 and linux redhat 7.1 and Linux and > Mysql works fine i can not manage to correctly read php & php4 pages, the > source is printed on the web page as follow : > > -->< ?PHP echo ("Ca marche !"); phpinfo() ; ?> > > I've successfully installed PHP here's my httpd.conf : > > <IfDefine HAVE_PHP> > LoadModule php_module modules/mod_php.so > <IfDefine HAVE_PHP4> > LoadModule php4_module modules/libphp4.so > > <IfDefine HAVE_PHP> > AddModule mod_php.c > > <IfDefine HAVE_PHP4> > AddModule mod_php4.c > > But nothing works ...if someone could help i'de be very glad ! > > > Ulrich Emmanuel, IT Group > Infogrames Entertainment, France > Tel: +33 (0)4 37 64 31 56 / Icq :50918682 > http://www.infogrames.com > > >
Have a look if your Apache was started with -DHAVE_PHP4 ... if not then all the nice things down there won´t have effect ... > -----Original Message----- > From: Ulrich Emmanuel [SMTP:[EMAIL PROTECTED]] > Sent: Monday, July 23, 2001 09:40 > To: '[EMAIL PROTECTED]' > Subject: [PHP-INST] Source appears in web page !!!! > > Hello everybody; as it's my first post on this list i'm a newbie using > PHP. > I've just installed a MLysql - PHP 4 and linux redhat 7.1 and Linux and > Mysql works fine i can not manage to correctly read php & php4 pages, the > source is printed on the web page as follow : > > -->< ?PHP echo ("Ca marche !"); phpinfo() ; ?> > > I've successfully installed PHP here's my httpd.conf : > > <IfDefine HAVE_PHP> > LoadModule php_module modules/mod_php.so > <IfDefine HAVE_PHP4> > LoadModule php4_module modules/libphp4.so > > <IfDefine HAVE_PHP> > AddModule mod_php.c > > <IfDefine HAVE_PHP4> > AddModule mod_php4.c > > But nothing works ...if someone could help i'de be very glad ! > > > Ulrich Emmanuel, IT Group > Infogrames Entertainment, France > Tel: +33 (0)4 37 64 31 56 / Icq :50918682 > http://www.infogrames.com > > > > > -- > 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] If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ or contact the sender.