On Sun, 29 Jul 2001, PHP Webmaster wrote:
> LYNX METHOD
> ===========
>
> So for the lynx method, I tried in the .qmail file:
>
> |/usr/bin/lynx -post_data "http://..parser.php"
>
> However, I keep getting the error in my qmail log:
>
> deferral: Your terminal lacks the ability to clear the
> screen_or_position_the_cursor./_/
Perhaps there is an option that can tell lynx not to expect a terminal.
How about lynx -post_data -source?
Note that I'm just guessing here. I've never actually used lynx in
non-interactive mode. But if I remember correctly, -source is how to do it
(that's how the CPAN shell uses lynx to download a file from the web).
> I am currently running PHP as an apache module, so I
> don't seem to have an executable on the system. I am
> concerned if I install the CGI version of PHP which is
> an executable, would that interfere with the PHP
> module in apache?
No, it won't interfere as long as you don't specify --with-apxs or another
option that makes it integrate itself with Apache.
> ./configure --with-mysql=/usr
> --with-apxs=/etc/httpd/bin/apxs
> --with-curl=/usr/local/lib
So try ./configure --with-mysql=/usr --with-curl=/usr/local/lib
> Also, I am using qmail-inject instead of the standard
> sendmail for PHP's mail() function. As a result, I
> need to update the php.ini file. How would I do that
> if I only copy the php executable to another
> directory? would I also have to copy the php.ini file?
Well, after you've compiled the php executable, type this:
php > info.html
<?phpinfo();?>
Then press Ctrl+D and it will dump the output of phpinfo() to info.html.
Look in info.html to see the path name where it expects php.ini to be
(search for "php.ini" using your browser's find function), and make sure
you have php.ini there.