php-install Digest 23 May 2002 06:19:43 -0000 Issue 849

Topics (messages 7071 through 7079):

APACHE-PHP on WINXP!!!
        7071 by: muhammed mamedov

W2K SP2, PHP 4.2.1, IIS 5
        7072 by: Joshua E Minnie

Problems configuring PHP
        7073 by: Eric Luebbert

PHP 4.2.1+Apache 1.3.24+Solaris 8/SPARC+GNU gettext == no language support
        7074 by: Robert Sink

Re: ok compiled but ?
        7075 by: Marga Meesters

Apache 2.0.3 & PHP?
        7076 by: MSebetich.aol.com
        7078 by: MikeParton

Using php to parse mail
        7077 by: Cedric Fontaine

Can't install PHP in win 2000
        7079 by: Miguel Maria Godinho de Matos

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 ---
I am running Windows(Nt 5.1 ) XP Home Edition with APACHE 1.3.24 PHP/4.2.1.

I can run PHP scripts from command promot but under IE I cannot run them!

I am in trouble with configuring PHP for APACHE!! PERL works fine but PHP
doesn`t help me ...  I just added this lines into httpd.conf:

LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php
AddModule mod_php4.c



Here is the errrormessage I get all the time..

[Wed May 22 17:13:48 2002] [error] [client 10.0.4.67]
c:/wwwroot/cgi-bin/a.php is not executable; ensure interpreted scripts have
"#!" first line
[Wed May 22 17:13:48 2002] [error] [client 10.0.4.67] couldn't spawn child
process: c:/wwwroot/cgi-bin/a.php


Thank,

Muhammed MAmedov



--- End Message ---
--- Begin Message ---
Hey all,
    I have a problem, that I can't seem to find the answer to.  I have
checked the archives and the website, but to no avail.  I have installed PHP
4.2.1 on my local machine with IIS running W2K Pro.  When I run php -i, I
get the html output expected.  But when I try to open the simple php script

<?php
  phpinfo();
?>

all I get is the script written directly to the browser as text.  I can't
figure out why it is not going through php.exe.  Any help would be greatly
appreciated.

-josh


--- End Message ---
--- Begin Message ---
I am installing PHP on my redhat linux box. I get warning message configuring it. Any 
help would be appreciated!

Debug.log file contains:

CONFIGURE:   './configure' '--with-apache=../apache_1.3.24'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:   
CXX:        
CXXFLAGS:   
INCLUDES:    -I/opt/app/apache/apache_1.3.24/src/include 
-I/opt/app/apache/apache_1.3.24/src/os/unix  -I$(top_builddir)/Zend 
-I/opt/app/apache/php-4.2.1/ext/mysql/libmysql
LDFLAGS:    
LIBS:       -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt
DLIBS:      
SAPI:       apache
PHP_RPATHS: 
uname -a:   Linux Server-05 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown

gcc -o conftest -g -O2   conftest.c -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt 
1>&5


--- End Message ---
--- Begin Message ---
Hello--

I've read 'bout everywhere I could and I realize there is a ton of issues with how 
Solaris (among others) handles their gettext support and the fact that its right in 
libc.  There are a number of suggestions such as using Solaris's gettext and 
reformatting the .mo files (tried that, doesn't work) as well as forcing of different 
linking options.  For 4.2.1, I cannot get _anything_ to work and I've tried about 
everything there is to do at this juncture.

For what its worth, following the paradigm that the GNU utilities use with the 
--with-included-gettext, I was able to successfully link 4.1.2 and have it utilize the 
GNU gettext over libc's, however, this does not appear to work in 4.2.1 for some 
reason.

I was wondering the following things:

1) will PHP ever have a similar --with-included-gettext option to avoid this issue, 
much like the GNU utilities employ?
2) has anyone successfully linked 4.2.1 on Solaris (8) and had the GNU gettext work.

Many thanks for all the input, in advance.

--- End Message ---
--- Begin Message ---
I had the same problem, but its easy to solve. Just put the file
php4apache2.dll into the directory apache2/modules and it'll work.
Marga

----- Original Message -----
From: "Erik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 21, 2002 10:01 AM
Subject: [PHP-INST] ok compiled but ?


> hi,
>
>
> i succesfully compiled and builded mysql apache and php 4.2.1from the
> sourcecode and it still refuses to work :-( the error i get is when i try
> to start apache
> Syntax error on line 222 of /usr/local/apache/conf/httpd.conf
> cannot load /usr/local/apache/libexec/libphp4.so into server
> /usr/local/apache/libexec/libphp4.so : undefined symbol __dn_expand
>
> what is this ?? help please
>
> regards from Belgium
> Erik
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


--- End Message ---
--- Begin Message ---
After unsucessfully trying to make php work with the latest release of apahce 
for win32 I'm giving up.  Apache on its own works fine but when I add the new 
php module to the conf file it just dies on startup issuing a non-specific 
error.  

Being that the documentation for php says that support for apache 2 is 
experimental I take it that mine is not an uncommon problem.  Any ideas out 
there as to how to make PHP 4.2 and Apache 2.0.3 work together?  

Mike
--- End Message ---
--- Begin Message ---
Actually, I have Apache 2.0.36 and PHP 4.2.1 up and running on WinNT 4.0,
SP6a...works very well.

Did you include include the following in your edits to the Apache httpd.conf
file:


LoadModule php4_module "C:/pathtoyour/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps

?

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 22, 2002 6:00 PM
Subject: [PHP-INST] Apache 2.0.3 & PHP?


> After unsucessfully trying to make php work with the latest release of
apahce
> for win32 I'm giving up.  Apache on its own works fine but when I add the
new
> php module to the conf file it just dies on startup issuing a non-specific
> error.
>
> Being that the documentation for php says that support for apache 2 is
> experimental I take it that mine is not an uncommon problem.  Any ideas
out
> there as to how to make PHP 4.2 and Apache 2.0.3 work together?
>
> Mike
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
Hello !

Since some months, I created a bot to parse a special email address.
It means that my MTA Qmail sends the mail to a php script and this
scripts make some works on it.

It works great for months with php 4.0.6.

Sunday, I installed php 4.2.1 mod for Apache and also on shell. And
since this moment, my parse script doesn't work anymore, in a way.

In fact, the script does work and does its jobs... But when Qmail
delivers the mail to my script, it assumes that the mail is not
successfully delivered and puts the mail in queue. But the mail is
fully delivered...

That means that my script parses the mail cause it received it. And
some hours later, Qmail refeed my script and assumes that the mail is
not fully delivered and goes on for hours and hours...

I hope that you understand what I mean. The script works with php
4.0.6 and also with 4.2.1 but I don't know why but the communication
between Qmail and php 4.2.1 fails since the new version...

Any clue ? What the differences between 4.0.6 and 4.2.1 makes this
happens ?

-- 
Cordialement,
 Cedric                          mailto:[EMAIL PROTECTED]
 http://www.sincever.com : Actu Music Only

--- End Message ---
--- Begin Message ---
Hi guys, i am not subscribe in the php mailing list so any replys on this
topic, please cc me.
I am sorry to boder u with such a lame problem but there is litle else i can
do.
I have been trying to install php with the apache 1.7. 24 with no success.

I installed appache and then unzipped all files from the zip:
php-4.2.1-Win32.zip to c:\php

I then came to the site www.php.net and read all the docs about instalation.
I copied followed all steps ( cofigured php.ini from php and httpd.conf from
appache ) then restarted the server an tried the test script:

<?php phpinfo() ?> ... nothing happened except that instead of returnig html
as it should, the browser returned this same line as if i was typing a
letter.

I send u my conf files and hope some one can give me a hint on what i did
wrong / haven't done yet.

HAAAAA and one more thing, i don't know if it matter bu i went to the
command line, c:\program files\apache group\apache and ran apache and the
output was something like this:

apache/1.3.24 (win32) PHP/4.2.1 running...

I don't understand why doesn't the server translates the scripts....

Thank for your time

Regards, Miguel Matos

--- End Message ---

Reply via email to