php-install Digest 7 Feb 2003 21:44:31 -0000 Issue 1238
Topics (messages 9981 through 9989):
Re: unique install, having problem
9981 by: Mitch Pirtle
9982 by: Benjamin Tomhave
Installation-localhost request recieves a FORBIDDEN response
9983 by: Chris
Re: GET not working
9984 by: Pennington, Tim
9985 by: Jeffrey_N_Dyke.Keane.com
9986 by: Ryan Williams
HELP!!! a problem of configure php with apache on windows xp
9987 by: Joseph Chow
9988 by: Stephen Edmonds
Re: Whither mysql.so?
9989 by: Joseph Noonan
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 ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 06 February 2003 19:15, Benjamin Tomhave wrote:
> I personally am I bit perplexed by the experimental status since apache2 is
> now the default web server under RH8.
Yep, and that was a point I made earlier too. Many sources believe RedHat is
a major playor in the linux market, and that would tell me that there will
soon be a significant number of machines that will have apache2 installed by
default... Jeez, they are already talking about RH8.1! So the dot-oh
fearful will prolly feel more comfortable with using 8.1, and more of the 7.3
faithful will upgrade...
I can now use php 4.3.0 on a RH8 box, but I gotta downgrade apache to 1.3 in
order for it to work. So I hope it is fair to ask how the 'experimental'
apache2 extension is going. How *is* it going? Can I volunteer as a tester?
Never did figure out the PEAR thing. I can only assume that it's a gcc 3.2
thang. <shrug>
- --
Mit freundlichen Gruessen / best regards
Mitch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+Q34Op6W2bojYwv4RAsgAAKCFzB13oog1uNQ4yWuX7dK0GMOxhgCdHYpw
Rdx4q5RtUA7D1aoSr1t4kpI=
=zsKp
-----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
I found this in a google search yesterday, it might be useful, might not.
It's an rpm for 4.3.0 under RH8. I'm not sure if it's for apache 1.3 or
2.x.
http://www.aucs.org/rpmcenter/
> -----Original Message-----
> From: Mitch Pirtle [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 07, 2003 2:36 AM
> To: [EMAIL PROTECTED]
> Cc: Benjamin Tomhave; Aaron Bannert
> Subject: Re: [PHP-INST] Re: unique install, having problem
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thursday 06 February 2003 19:15, Benjamin Tomhave wrote:
> > I personally am I bit perplexed by the experimental status
> since apache2 is
> > now the default web server under RH8.
>
> Yep, and that was a point I made earlier too. Many sources
> believe RedHat is
> a major playor in the linux market, and that would tell me that
> there will
> soon be a significant number of machines that will have apache2
> installed by
> default... Jeez, they are already talking about RH8.1! So the dot-oh
> fearful will prolly feel more comfortable with using 8.1, and
> more of the 7.3
> faithful will upgrade...
>
> I can now use php 4.3.0 on a RH8 box, but I gotta downgrade
> apache to 1.3 in
> order for it to work. So I hope it is fair to ask how the 'experimental'
> apache2 extension is going. How *is* it going? Can I volunteer
> as a tester?
>
> Never did figure out the PEAR thing. I can only assume that it's
> a gcc 3.2
> thang. <shrug>
>
> - --
> Mit freundlichen Gruessen / best regards
>
> Mitch
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
>
> iD8DBQE+Q34Op6W2bojYwv4RAsgAAKCFzB13oog1uNQ4yWuX7dK0GMOxhgCdHYpw
> Rdx4q5RtUA7D1aoSr1t4kpI=
> =zsKp
> -----END PGP SIGNATURE-----
>
>
--- End Message ---
--- Begin Message ---
When I try to access a test file "phpinfo.php" at
http://localhost/phpinfo.php" I receive a Forbidden response, that reads
"You don't have permission to access /php/php.exe/phpinfo.php on this
server." If anyone would be kind enough to help me over this beginner's
obstacle it would be much appreciated.
Thank you,
Chris
--- End Message ---
--- Begin Message ---
> Apache 1.3.27
> PHP 4.3.0
> WNT
>
> After installing the above software components I can't the the GET
> machanism to work using the "?" as part of the URL. Simple example:
>
> Create a file called test.php and enter following code:
>
> <?
>
> print "<a href=test.php?mode=x>Make text appear below</a>";
>
> if ($mode=='x')
>
> {
>
> print "Success!\n";
>
> }
>
> ?>
>
> When you load the page you should see a link, that when selected, displays
> the text "Success!"
>
> I do NOT see the "Success" text on my system.
>
> Please can you help understand where the problem lies.
>
> Thanks and regards,
>
> Tim
>
--- End Message ---
--- Begin Message ---
you'll need to use $_GET['x'] and refer to
http://www.php.net/manual/en/security.registerglobals.php.
hth
jeff
"Pennington, Tim"
<timothyjonathon.penningto To:
"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
[EMAIL PROTECTED]> cc:
Subject: [PHP-INST] FW: GET
not working
02/07/2003 01:17 PM
> Apache 1.3.27
> PHP 4.3.0
> WNT
>
> After installing the above software components I can't the the GET
> machanism to work using the "?" as part of the URL. Simple example:
>
> Create a file called test.php and enter following code:
>
> <?
>
> print "<a href=test.php?mode=x>Make text appear below</a>";
>
> if ($mode=='x')
>
> {
>
> print "Success!\n";
>
> }
>
> ?>
>
> When you load the page you should see a link, that when selected,
displays
> the text "Success!"
>
> I do NOT see the "Success" text on my system.
>
> Please can you help understand where the problem lies.
>
> Thanks and regards,
>
> Tim
>
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
You need to use
$_GET['mode'], not $mode, unless global_vars is turned on within the
php.ini file.
--
Ryan Williams
On Fri, 7 Feb 2003, Pennington, Tim wrote:
> > Apache 1.3.27
> > PHP 4.3.0
> > WNT
> >
> > After installing the above software components I can't the the GET
> > machanism to work using the "?" as part of the URL. Simple example:
> >
> > Create a file called test.php and enter following code:
> >
> > <?
> >
> > print "<a href=test.php?mode=x>Make text appear below</a>";
> >
> > if ($mode=='x')
> >
> > {
> >
> > print "Success!\n";
> >
> > }
> >
> > ?>
> >
> > When you load the page you should see a link, that when selected, displays
> > the text "Success!"
> >
> > I do NOT see the "Success" text on my system.
> >
> > Please can you help understand where the problem lies.
> >
> > Thanks and regards,
> >
> > Tim
> >
>
>
--- End Message ---
--- Begin Message ---
Dear all,
I have a hard time to configure php-4.3.0-win32 with apache 1.3 on windows
xp. Before I tried on windows xp, I suceeded in my first try on windows
2000 (another machie) by following php install.txt. In my effort on windows
xp machine, apache server came with ORACLE 9i database which I downloaded
before. I am trying to configure php with apache which came with oracle.
Please look through what I did (install php as apache module) step by step
and give me some suggustions:
(1) downlaod php package and extract all file to c:\php
(2) copy c:\php\php.ini-dist to c:\windows and change name to php.ini
(3) modify php.ini as "extension_dir = c:\php\extensions"
(4) copy php4apache.dll from c:\php\sapi to c:\php (just put it with
php4ts.dll in the same directory)
(5) add following codes to apache httpd.conf
LoadModule php4_module c:/php/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
(6) restart apache server
(7) create a phpinfo.php which had only one line "<?php phpinfo();?>" in
apache htdos dir
(8) open url localhost/phpinfo.php in IE
The result from step (8) return me "<?php phpinfo();?>" instead of a php
info HTML page.
thanks for your time and responce
Joe
--- End Message ---
--- Begin Message ---
Copy of message sent out last time someone had a similar problem:
Chances are you've not put the commands in the correct place, instead just
copy and pasted them into the config
file.
LoadModule php4_module C:\PHP\sapi\php4apache.dll
This has to be in the same place as all the other LoadModule commands. If
you look through your httpd.conf file for Apache, you will see a whole load
of LoadModules with #'s in front of them. You need to place the above line
at the end of that list.
If you then scroll down a bit the next section should be 'AddModule'. In
this section, you have to put the line
AddModule mod_php4.c
at the bottom of the list. Both commands are needed to properly load PHP.
Once that is done, you will need to run a search for
'# AddType allows you to tweak mime.types without actually editing it, or
to'
Below that line should be a series of AddType commands. Again, you need to
put
AddType application/x-httpd-php .php
at the end of the list.
AddType application/x-httpd-php-source .phps
is an optional feature, I personnally do not use it as I do not want people
to be able to view my source code. However it is up to you. If you do
include it, put it in the same section as the other file.
If that doesn't solve your problem, or you've done all that already, then
remember you need to restart Apache for it to take effect. Also check that
php is installed in the path you've set in httpd.conf (In this case
C:\PHP\). Also check that C:\PHP\sapi\php4apache.dll is present in the
correct folder, and that the following two files are in the SAME directory
as php4apache.dll :
php4ts.dll
php4ts.lib
Good Luck, let me know how it goes
Stephen
----- Original Message -----
From: "Joseph Chow" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 07, 2003 7:34 AM
Subject: [PHP-INST] HELP!!! a problem of configure php with apache on
windows xp
> Dear all,
>
> I have a hard time to configure php-4.3.0-win32 with apache 1.3 on windows
> xp. Before I tried on windows xp, I suceeded in my first try on windows
> 2000 (another machie) by following php install.txt. In my effort on
windows
> xp machine, apache server came with ORACLE 9i database which I downloaded
> before. I am trying to configure php with apache which came with oracle.
>
> Please look through what I did (install php as apache module) step by step
> and give me some suggustions:
>
> (1) downlaod php package and extract all file to c:\php
> (2) copy c:\php\php.ini-dist to c:\windows and change name to php.ini
> (3) modify php.ini as "extension_dir = c:\php\extensions"
> (4) copy php4apache.dll from c:\php\sapi to c:\php (just put it with
> php4ts.dll in the same directory)
> (5) add following codes to apache httpd.conf
> LoadModule php4_module c:/php/php4apache.dll
> AddModule mod_php4.c
> AddType application/x-httpd-php .php
> (6) restart apache server
> (7) create a phpinfo.php which had only one line "<?php phpinfo();?>" in
> apache htdos dir
> (8) open url localhost/phpinfo.php in IE
>
> The result from step (8) return me "<?php phpinfo();?>" instead of a php
> info HTML page.
>
> thanks for your time and responce
>
> Joe
>
>
>
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Thanks, to both of you. I had previously installed an earlier
version (never used) on the machine and there were entries in
php.ini that caused the problem. Now that it runs, lets see if I
can get an app working :-).
--
Joseph F. Noonan
Rigaku/MSC Inc.
[EMAIL PROTECTED]
On Fri, 31 Jan 2003 at 1:52pm Jim Thome wrote:
> MySQL support is built into PHP 4.2.3. There is no mysql.so.
> The phpinfo() function should show support for MySQL.
>
> --
> Jim
>
> >>> "J.F. Noonan" <[EMAIL PROTECTED]> 01/31/03 01:25PM >>>
>
> Hi All,
>
> I'm trying to get php-4.2.3 going with Apache 1.3.27 on a FreeBSD
> 4.7-STABLE system. I have tried to build myself and through the
> ports collwction and 'configure' and 'make' complete without any
> trouble. But, I never get a mysql.so from it? Surely there is
> something very simple that I am missing here, but for the life of
> me, I don't know what it is.
>
> Thanks,
>
>
>
>
> --
>
> Joseph F. Noonan
> Rigaku/MSC Inc.
> [EMAIL PROTECTED]
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---