php-install Digest 7 Oct 2002 02:05:31 -0000 Issue 1057
Topics (messages 8692 through 8701):
PHP Latest + WinNT/SP6 + IIS4
8692 by: MAX SALVIEJO
8693 by: MAX SALVIEJO
Re: php4apache.dll
8694 by: kramer
Problem with CGI scripts apparently caused by mod_php4
8695 by: Stuart Dallas
8696 by: James Mackie
8697 by: Stuart Dallas
undefined index and undefined variable problems
8698 by: John
8699 by: Rasmus Lerdorf
IIS 5 - ASP & PHP dev enviorment
8700 by: JGreening
server error sending email from script
8701 by: John
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 have installed PHP (ISAPI) on an NT box running IIS4.
I am testing it out..using phpinfo()
I get the following errors on the page.
Invalid Access to memory locaiton.
I've pounded google/newsgroups but no luck.
Anyone have any ideas?
Thanks
[ Max Salviejo Jr. ]
[ [EMAIL PROTECTED] ]
[ The Plain Dealer Publishing Co. ]
[ 216.999.6165 ]
-=BOFH=-
[ www.plaindealer.com ]
~~~~ ~~~~
--- End Message ---
--- Begin Message ---
PS. I have installed the latest version of PHP 4.2.3
[ Max Salviejo Jr. ]
[ [EMAIL PROTECTED] ]
[ The Plain Dealer Publishing Co. ]
[ 216.999.6165 ]
-=BOFH=-
[ www.plaindealer.com ]
~~~~ ~~~~
>>> "MAX SALVIEJO" <[EMAIL PROTECTED]> 10/06/02 11:00AM >>>
I have installed PHP (ISAPI) on an NT box running IIS4.
I am testing it out..using phpinfo()
I get the following errors on the page.
Invalid Access to memory locaiton.
I've pounded google/newsgroups but no luck.
Anyone have any ideas?
Thanks
[ Max Salviejo Jr. ]
[ [EMAIL PROTECTED] ]
[ The Plain Dealer Publishing Co. ]
[ 216.999.6165 ]
-=BOFH=-
[ www.plaindealer.com ]
~~~~ ~~~~
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Lasse,
I'm in a similar boat with Windows2000. You can get more inputs if you
search the threads under my name.
Anyway, I've been trying with php4apache2.dll. And I was told that I don't
need to do an "addmodule".
There is one difference in the way I had give the location. I'm not using
double-quotes. And try to give progra~1 instead of -program files-. It might
work.
Mail from Rasmus Lerdorf on this...(
Keep in mind that we do not officially support Apache2 yet. Will be a
while before it will be anywhere near stable.
-Rasmus )
"Lasse Vangen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a big problem when i try to start Apache 2.0.43
> with php 4.2.3;
>
> Syntax error on line 978 of C:/Program Files/Apache
> Group/Apache2/conf/httpd.conf:
> Cannot load C:/Program Files/php/sapi/php4apache.dll into server: The
> specified module could not be found.
>
> This i s what I`ve putted in the httpd.conf:
> #PHP
> LoadModule php4_module "c:/program files/php/sapi/php4apache.dll"
> AddModule mod_php4.c
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
>
> I copied php4ts.dll into the %systemroot%\system\
>
> I`m running windows xp pro with sp1. I have searched the net for simular
> problem,
> but no one seems to have an exact answer.
> Please help me! I`m really stuck. :)
>
> rgds,
>
> Lasse Vangen
> [EMAIL PROTECTED]
>
>
--- End Message ---
--- Begin Message ---
Hi,
I have Apache 1.3.27 and mod_php4 4.2.3 installed on a FreeBSD 4.6.2
machine. PHP works fine. However, I also need to be able to execute CGI
scripts. When I try to use printenv (simple shell script that outputs
the environment variables) it returns a "500 Internal Server Error" and
the Apache error log gives the error of "Premature end of headers".
If I comment out the LoadModule and AddModule lines in httpd.conf for
PHP, it works. Has anyone seen this before?
Thanks.
--
Stuart
--- End Message ---
--- Begin Message ---
Yesh.. Apache 1.3.26 and PHP 4.2.2..
I had a bunch of scripts that I ahd written running fine on thhe server
until I installed PHP.. As soon as I installed PHP they stopped
working.. Same error.. I rewrote them all in PHP since they were pretty
critical and I didn't have time to figure out why this was happening..
James
-----Original Message-----
From: Stuart Dallas [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 06, 2002 12:25 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Problem with CGI scripts apparently caused by
mod_php4
Hi,
I have Apache 1.3.27 and mod_php4 4.2.3 installed on a FreeBSD 4.6.2
machine. PHP works fine. However, I also need to be able to execute CGI
scripts. When I try to use printenv (simple shell script that outputs
the environment variables) it returns a "500 Internal Server Error" and
the Apache error log gives the error of "Premature end of headers".
If I comment out the LoadModule and AddModule lines in httpd.conf for
PHP, it works. Has anyone seen this before?
Thanks.
--
Stuart
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
James Mackie wrote:
> Yesh.. Apache 1.3.26 and PHP 4.2.2..
>
> I had a bunch of scripts that I ahd written running fine on thhe server
> until I installed PHP.. As soon as I installed PHP they stopped
> working.. Same error.. I rewrote them all in PHP since they were pretty
> critical and I didn't have time to figure out why this was happening..
Unfortunately I don't have the luxury of the option of rewriting the
scripts. I really need to get this problem solved so I would really
appreciate any insight anyone can offer.
Thanks.
--
Stuart
> -----Original Message-----
> From: Stuart Dallas [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, October 06, 2002 12:25 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] Problem with CGI scripts apparently caused by
> mod_php4
>
>
> Hi,
>
> I have Apache 1.3.27 and mod_php4 4.2.3 installed on a FreeBSD 4.6.2
> machine. PHP works fine. However, I also need to be able to execute CGI
> scripts. When I try to use printenv (simple shell script that outputs
> the environment variables) it returns a "500 Internal Server Error" and
> the Apache error log gives the error of "Premature end of headers".
>
> If I comment out the LoadModule and AddModule lines in httpd.conf for
> PHP, it works. Has anyone seen this before?
>
> Thanks.
>
--- End Message ---
--- Begin Message ---
I'm running PHP 4.1.1 with Apache 1.3.23 on windows 2000
Many of my scripts display "Warning: Undefined variable" or "Warning: Undefined Index"
when a variable hasn't been used yet. The scripts work, but I get a ton of these
runtime errors. any ideas? I think it may be a configuration/installation problem.
thanks
--- End Message ---
--- Begin Message ---
Lower your error_reporting level in your php.ini file.
On Sun, 6 Oct 2002, John wrote:
> I'm running PHP 4.1.1 with Apache 1.3.23 on windows 2000
>
> Many of my scripts display "Warning: Undefined variable" or "Warning: Undefined
>Index" when a variable hasn't been used yet. The scripts work, but I get a ton of
>these runtime errors. any ideas? I think it may be a configuration/installation
>problem.
> thanks
>
--- End Message ---
--- Begin Message ---
I have done a little searching and haven't really had a good solid answer
for my question.
I mainly use ASP for development (and will continue to), but I wanted to
dabble in a little PHP for my own curiosity. I am using IIS 5 on Win XP Pro
for my dev machine. I have a few ASP applications going and I am looking for
some questions as to what to expect to happen if I set up IIS 5 to also run
PHP. Am I putting my ASP projects in harms way, buy setting up IIS to use
ASP and PHP?
Any help would be appreciated, links to information would be just fine.
Thanks.
--- End Message ---
--- Begin Message ---
Q:
If I'm not on the server that is to be used to send the email, how can I configure PHP
to send from a certain server?
thanks all
Warning: Server Error in c:\program files\apache
group\apache\htdocs\sonicmailer\sonicadmin.php on line 276
and line 276 is
mail($address, stripslashes($subject), $finalbody, $mailheaders);
----- Original Message -----
From: John
To: [EMAIL PROTECTED]
Sent: Sunday, October 06, 2002 4:14 PM
Subject: undefined index and undefined variable problems
I'm running PHP 4.1.1 with Apache 1.3.23 on windows 2000
Many of my scripts display "Warning: Undefined variable" or "Warning: Undefined
Index" when a variable hasn't been used yet. The scripts work, but I get a ton of
these runtime errors. any ideas? I think it may be a configuration/installation
problem.
thanks
--- End Message ---