php-install Digest 13 Jul 2002 11:30:18 -0000 Issue 929
Topics (messages 7705 through 7717):
php4
7705 by: Tom Mac
7706 by: Matthew Kurowski
Re: Installation and Configuration of PHP 4.2.1 and Apache 1.3.2 on Win98
7707 by: Matthew Kurowski
7711 by: Matthew Kurowski
Landscape Printing
7708 by: Salvador Gil
Re: apache error: failed to get a socket for port 80 (W98)
7709 by: Chris Hewitt
Re: Unable to pass variables through URL with '?'
7710 by: Chris Hewitt
Re: php4 on win2000 and apache1.3
7712 by: toby -
MySQL/PHP cooperation issues
7713 by: James Doig
7717 by: Chris Hewitt
Apache 2.0.39 + PHP 4.3.0-dev won't run since PHP 4.3.0-Alpha 2?
7714 by: Christian Stadler
7715 by: Christian Stadler
Re: [PHP-WIN] PHP meetup [CROSS-POST] Meet other PHP Developers in Your Area
7716 by: C. Hendrie
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 ---
Hi All,
I've been trying to configure PHP4.2.1 to work
with Apache 1.3.2 on Windows 98. I tried both as a
SAPI module or as a CGI setup, but had no luck. Can
someone help please? Thanks. I have the snippets
from my conf files below:
PHP Installation Directory --> c:\php
1. SAPI Setup:
c:\windows\php.ini:
extension_dir = "c:\php"
cgi.force_redirect = 1
httpd.conf:
ClearModuleList
LoadModule php4_module
c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
* When i start apache, it saids the php4 mod has
been loaded but i get a HTTP 404 when I browse to any
.php page *
2. CGI Setup:
c:\windows\php.ini:
extension_dir = "c:\php"
;cgi.force_redirect = 1
httpd.conf:
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php
"/php/php.exe"
* When i start apache, everything seems normal,
but i get a blank page when I browse to any .php page
*
Tom
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
--- End Message ---
--- Begin Message ---
Are your extensions really in c:\php and not c:\php\extensions or
c:\winnt\system32?
Unless those extension dll's are there right in that c:\php it's not going
to work. So either change your path or copy the dll's to c:\php.
Just what comes to mind first...
Best,
Matthew Kurowski
----- Original Message -----
From: "Tom Mac" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 12, 2002 12:23 PM
Subject: [PHP-INST] php4
> Hi All,
>
> I've been trying to configure PHP4.2.1 to work
> with Apache 1.3.2 on Windows 98. I tried both as a
> SAPI module or as a CGI setup, but had no luck. Can
> someone help please? Thanks. I have the snippets
> from my conf files below:
>
> PHP Installation Directory --> c:\php
>
> 1. SAPI Setup:
> c:\windows\php.ini:
> extension_dir = "c:\php"
> cgi.force_redirect = 1
> httpd.conf:
> ClearModuleList
>
> LoadModule php4_module
> c:/php/sapi/php4apache.dll
> AddModule mod_php4.c
> AddType application/x-httpd-php .php
>
> * When i start apache, it saids the php4 mod has
> been loaded but i get a HTTP 404 when I browse to any
> .php page *
>
> 2. CGI Setup:
> c:\windows\php.ini:
> extension_dir = "c:\php"
> ;cgi.force_redirect = 1
> httpd.conf:
> ScriptAlias /php/ "c:/php/"
> AddType application/x-httpd-php .php
> Action application/x-httpd-php
> "/php/php.exe"
>
>
> * When i start apache, everything seems normal,
> but i get a blank page when I browse to any .php page
> *
>
>
> Tom
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
One other thing... make sure you _have_ the extensions... the windows
installer thing gives you very little - no extensions per my recollection.
If you don't download the zip and extract it's contents to c:\php.
Best,
Matthew Kurowski
--- End Message ---
--- Begin Message ---
Tom wrote:
> Also do you know when I can find an Oracle oci8
> driver dll for PHP? Thanks.
http://www.php4win.de used to have it. I just went there though and they
still don't have the new website up. I'll check around at home but I haven't
used Oracle (last on my Netware box) for a long time so I don't know how
likely it is to find it. php4win should hopefully be up soon... I'll email
you privately if I find it. You might want to email the owner of php4win and
see if he can help in the interim until his site is back up.
Best,
Matthew Kurowski
--- End Message ---
--- Begin Message ---
I'm trying to print in Landscape Format, but I can't.
The instruction I'm using are:
$handle = printer_open("\\\\SRV_MEX\La_2_1");
printer_start_doc($handle, "Aviso Prorroga");
printer_start_page($handle);
printer_set_option($handle, PRINTER_ORIENTATION,
PRINTER_ORIENTATION_LANDSCAPE);
... my print commands
The report function ok, but the orientation is wrong (PORTRAIT)
Any idea?
Thank's in advance.
--- End Message ---
--- Begin Message ---
Uwe Birkenhain wrote:
>Hi,
>I tried to install apache 1.3.26 under Win98 on my laptop,
>but all I'll get is the DOS-Box with the error message:
>"make_sock: failed to get a socket for port 80"
>
No PWS? What happens if you specify a different socket (e.g. 8080) in
httpd.conf?
HTH
Chris
--- End Message ---
--- Begin Message ---
Eckstein, David wrote:
>Hello,
>
>I'm having a bit of trouble passing variables to PHP scripts and am hoping
>
Reading the release notes for a modern php version, it states that
register_globals is off by default. Its better if you leave if off and
use $_GET['var'] or $_POST['var'] instead of turning it on again, but
your choice.
><?PHP
>echo $quid;
>?>
>
>I get the error message:
>
>Notice: Undefined variable: quid in test.php on line 2
>
It means what it says. You have used the value of a variable without
first giving it a value (in this case because register_globals is off).
Please refer to the excellent manual.
HTH
Chris
--- End Message ---
--- Begin Message ---
im sorry sean ... i didnt quite get ur point ...
:S ....
toby ....
_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
--- End Message ---
--- Begin Message ---
help!
I installed php 4.2.1 with apache 1.3.26 and MySQl max 3.23...
the php works but it doesn't cooperate with the MySQL
server. I am assuming it is a setting problem.
It seems that the database isn't
communicating with the server.
thanks for any help you can give!
-James
--- End Message ---
--- Begin Message ---
James Doig wrote:
> help!
> I installed php 4.2.1 with apache 1.3.26 and MySQl max 3.23...
> the php works but it doesn't cooperate with the MySQL
> server. I am assuming it is a setting problem.
> It seems that the database isn't
> communicating with the server.
> thanks for any help you can give!
> -James
>
How does it not work? Please post the line of code that it fails on and
the error message.
Chris
--- End Message ---
--- Begin Message ---
Hi,
I just tried to install the newest Snapshot of PHP 4.3.0-dev with my Apache
2.0.39 running on Win2k, but when I tried to start my Apache again, it
crashed. After that I've tried to install the Alpha 2 of PHP 4.3.0 with no
success crashing my Apache again. Then I've reinstalled the older Snapshot
and everything works fine.
What has happened, that newer Versions of PHP 4.3.0 won't run with Apache
2.0.39 on Win2k anymore?
Yours,
Christian Stadler
--- End Message ---
--- Begin Message ---
Hi,
Sorry, I've forgot to say, that I'm running PHP as an Apache-Module.
Yours,
Christian Stadler
--- End Message ---
--- Begin Message ---
Tho, when you think about it, most PHP developers COULD use a dating
service. :)
Seriously tho, this is a good idea. Thanks for the info Jay.
~ Chris
D.O.D
-----Original Message-----
From: Jay Blanchard [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 12:24 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP-WIN] PHP meetup [CROSS-POST] Meet other PHP Developers in
Your Area
No, it's not a dating service.... :)
Want to meet other PHP developers in your area? Check out:
http://php.meetup.com/
Pretty nifty idea... especially given the lack of user groups in the
U.S.
[/snip]
I thought for others who had not seen this I would post this. There is
probably already a user group in your area if you live near a major
city.
According to the PHPusergroups.org web site
[http://www.phpusergroups.org/groups.phtml?menu=groups] there 189 PHP
user
groups in 52 countries.
Jay
"Chaos, panic & disorder.my work here is done!"
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---