php-install Digest 10 Apr 2002 15:07:46 -0000 Issue 785
Topics (messages 6610 through 6619):
Re: pgsql.so
6610 by: Yasuo Ohgaki
READ-FIRST: Apache2 Install FAQ
6611 by: Yasuo Ohgaki
Re: Error compiling Apache 1.3.24 with PHP 4.1.2
6612 by: Yasuo Ohgaki
Re: READ-FIRST: Apache2 Install FAQ [T2002041000BS]]
6613 by: Yasuo Ohgaki
Is there a version of PHP compatible with Apache 2.0?
6614 by: Brian Capouch
6617 by: Sam Minnee
how to load modules
6615 by: Yao Minfeng
Re: Just displaying normal text
6616 by: Jaco van Tonder
display the file in directory
6618 by: Phil Huynh
php and POST
6619 by: Not Telling You!
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 ---
Rob Dege wrote:
> I have to compile & install php-4.0.6 src on a machine. I can configure &
> compile everything necessary, but when php looks for the pgsql.so library,
> it can't be found & exits abnormally. Upon further investigation, I
> discovered that this file was never compiled when I ran 'make'. I
> included --with-pgsql in my configure parameters. What am I missing?
First of all,
I _strongly_ suggest to use PHP 4.1.2, since PHP 4.0.6's pgsql
module has random crash bug due to bad notice message handling.
I suggest to compile module in PHP whenever possible, but you
can do
--with-pgsql=shared,/usr/local/pgsql
You you don't specify "shared", pgsql module is in libphp4.so.
--
Yasuo Ohgaki
--- End Message ---
--- Begin Message ---
Guys,
Search archives for _obvious_ FAQ or read documents
came with. It saves both our and your time.
Anyway, here goes again.
FACT:
1) Apache 2.0.35 does not work with PHP 4.2.0RC3 or less
2) Apache2 is GA release (it means almost stable I guess), but
PHP's Apache2 support is EXPERIMENTAL. Do not complain even
if it does not work well or at all.
3) You must use "--with-apxs2" to build with Apache2.
4) You must read ./confiugre --help and sapi/apache2filter/README.
If you see "Apahce2 does not compile with PHP 4.1.2/4.2.0RC2"
like post, please let them know, they are suppose to search archive.
BTW, Apache2 support may not available in PHP 4.2.0 release. Since
too many people will not read RELEASE notes and will not notice
Apache2filter SAPI is *EXPERIMENTAL*.
--
Yasuo Ohgaki
--- End Message ---
--- Begin Message ---
Jasper Metselaar wrote:
> Yasuo,
>
> Thanks for your reply. I did what you told me to do, but the package I had
> to reinstall was exactly the package I already installed earlier today:
>
> [root@mybox admin]# rpm -qf /lib/libresolv.so.*
> glibc-2.1.3-23
>
> Unfortunately that did not solve the problem. Any other suggestions?
>
Since you are uisng RH6.2, you upgraded glibc I suppose.
You did some thing wrong when you upgrade glibc.
I suggest you to get help from RedHat user mail list.
--
Yasuo Ohgaki
--- End Message ---
--- Begin Message ---
Who is responsible for this?
I'm getting this for every post to php.net.
Fix your mail server filter setting or unsubscribe from list.
You can use news.php.net also. If NNTP is filtered by firewall,
try http://news.php.net/
--
Yasuo Ohgaki
-------- Original Message --------
Subject: [PHP-INST] READ-FIRST: Apache2 Install FAQ [T2002041000BS]
Date: Wed, 10 Apr 2002 04:14:47 GMT
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Thank you for bringing this matter to our attention. We are sorry for
any inconvenience it has caused you. Because we receive a large
number of complaints each day at [EMAIL PROTECTED], regretfully, a
personalized response to each message is not possible.
Please be assured that Verizon investigates each reported occurrence
of unsolicited e-mail or spamming. We maintain a zero-tolerance
policy in regard to spamming and will take the appropriate action as
permitted by Verizon's Acceptable Use Policy. To view our policy,
please refer to one of the two following links:
Former Bell Atlantic users:
http://www.bellatlantic.net/help/faqs/#faqpolicies
Former GTE users:
http://www.gte.net/hotlinks/policies/agreement.html
To better understand the problems with unsolicited e-mail, we have
provided information about filtering Spam with your e-mail software,
answers to several frequently asked questions and links to some useful
online information about Spam at the following link:
http://www.gte.net/announcements/spam.html
You may also link directly to our page about unsolicited e-mail:
http://www.gte.net/contact/spam.html
If you are reporting an issue of hacking or other security issues not
related to e-mail abuse, please submit your report to [EMAIL PROTECTED]
for investigation.
Sincerely,
Verizon Internet Services
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Over on the Apache thread, someone figured out today that my problems
getting my CGI scripts to run somehow had to do with the fact that I had
built and configured PHP (4.1.2).
So tonight I downloaded Apache 2.0.35 and PHP 4.2RC2, and found I cannot
get past the "SAPI API bugs" part of the build.
I am not sure if I want to press on with this, so I thought perhaps I'd
check here to see if I can in fact expect to put together a package that
includes Apache 2.0 and a recent version of PHP, which does not kill my
CGI.
Thanks.
B.
--- End Message ---
--- Begin Message ---
I believe you need to include --with-apxs2 in your ./configure line
----- Original Message -----
From: "Brian Capouch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 10, 2002 6:50 PM
Subject: [PHP-INST] Is there a version of PHP compatible with Apache 2.0?
> Over on the Apache thread, someone figured out today that my problems
> getting my CGI scripts to run somehow had to do with the fact that I had
> built and configured PHP (4.1.2).
>
> So tonight I downloaded Apache 2.0.35 and PHP 4.2RC2, and found I cannot
> get past the "SAPI API bugs" part of the build.
>
> I am not sure if I want to press on with this, so I thought perhaps I'd
> check here to see if I can in fact expect to put together a package that
> includes Apache 2.0 and a recent version of PHP, which does not kill my
> CGI.
--- End Message ---
--- Begin Message ---
Dear friends,
I found that I can't load or add any of the following modules, the Apache
tells me that there are no such files and I don't know where they reside.
Anyone can tell me?
----------------------------------------------------------------------------
----------------
AddModule mod_php.c
AddModule mod_php3.c
AddModule mod_perl.c
LoadModule php_module modules/mod_php.so
LoadModule php3_module modules/libphp3.so /* for PHP 3 */
LoadModule php4_module modules/libphp4.so /* for PHP 4 */
LoadModule perl_module modules/libperl.so
----------------------------------------------------------------------------
----------------
Regards,
Yao
--- End Message ---
--- Begin Message ---
Hi Irby,
Please supply a bit more info as on what Web server you are using... You
have to configure the web server to make it understand what to do with the
php scripts.
later
Jaco
"Irby" <[EMAIL PROTECTED]> wrote in message
news:!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAATtVsGsLRR0my4m4WYwXhhMKA
[EMAIL PROTECTED]
> Hi
>
>
>
> When I completed my my first.php with the following code inside the
> file:
>
>
>
> 1: <?php
> 2: Print "Hello Web" ;
> 3: ?>
>
>
>
>
>
> To view it. You fire up a browser and then type:
>
>
>
> http://localhost/first.php
>
>
>
> However it displays this:
>
>
>
> 1: <?php
> 2: Print "Hello Web" ;
> 3: ?>
>
>
>
> Regards,
>
>
>
> E-Mail: [EMAIL PROTECTED]
>
>
>
>
--- End Message ---
--- Begin Message ---
Hi,
I am trying to read the files in the directory and display them .
but I got the message " the document contain no data "
this is my code
<?
$d = dir("/export/home/phuy/www/test/upload");
echo "Handle: ".$d->handle."<br>";
echo "Path: ".$d->path."<br>";
while($entry=$d->read()) {
echo $entry."<br>\n";
}
echo "<hr>";
$d->close();
?>
Can anyone tell me what should I do to correct it.
I would like some help, thank in advance.
--- End Message ---
--- Begin Message ---
Hey all,
Linux RH 7.2
PHP 4.1.2
Apache 1.3.24
I'm having trouble with php and "POST" It doesn't seem to be allowing
me to use the variables passed via POST. I've never had this problem on
older version of php and apache. I have enabled register_globals in the
php.ini. The documentation says that track-vars are enabled by
default. But I cannot use passed variables. I can however print what
was passed using...
printf("%s", $HTTP_POST_VARS["name"]);
That works fine, I'm just unable to just call $name. The php code does
work as it is currently running on a RH 7.1 box with Apache 1.3.20 and
php 4.0.6. I really don't want to have to rewrite the code to use
$HTTP_POST_VARS[] :(
Are there some configurations that I'm missing with the new version of
php? or maybe even apache?
Thanx
Dave
--- End Message ---