php-install Digest 2 Jan 2003 12:21:35 -0000 Issue 1182
Topics (messages 9476 through 9483):
PHP 4 on Apache 1.3.27
9476 by: Jason
9477 by: Eric Naeseth
Re: trouble installing PHP
9478 by: Eric Naeseth
Method not allowed Error
9479 by: davidr.justice.com
9482 by: toby -
installing php on redhat
9480 by: M A
Re: [PHP] Need Help.
9481 by: toby -
Re: Segmentation Fault in child (poor child!)
9483 by: Chris Hewitt
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 installed PHP on Apache on Windows 98 and it's all working, simply put.
PHP renders the pages correctly however when trying to access a sub-portion
of a PHP page (ie. page.php?subportion=thisstuff) it still only displays the
default page. I have found NOTHING that explains how to get around this
problem. Any help?
--
---
J3i Inc.
http://www.square-unlimited.org/j3i/index.php
Free resources for wemasters and computer users.
--- End Message ---
--- Begin Message ---
Make sure that, if in the PHP script you're using $subportion, that in
your php.ini file you have register_globals set to off.
If you'd like to leave it on, use $_GET['subportion'] instead.
-----Original Message-----
From: Jason [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 01, 2003 5:21 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] PHP 4 on Apache 1.3.27
I installed PHP on Apache on Windows 98 and it's all working, simply
put.
PHP renders the pages correctly however when trying to access a
sub-portion
of a PHP page (ie. page.php?subportion=thisstuff) it still only displays
the
default page. I have found NOTHING that explains how to get around this
problem. Any help?
--
---
J3i Inc.
http://www.square-unlimited.org/j3i/index.php
Free resources for wemasters and computer users.
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
First, read through this, and then obviously stop Apache if there's
anything new here for you to try.
In the directory you extracted PHP to (I'm assuming you're using the
.zip version), copy sapi/php4apache.dll (or php4apache2.dll for Apache
2) to Apache's module's directory.
Then, make sure you also added this line to httpd.conf:
(Apache 1.3.x)
LoadModule php4_module modules/php4apache.dll
(Apache 2)
LoadModule php4_module modules/php4apache2.dll
And finally, start Apache.
For more information:
Apache 1.3.x:
http://www.php.net/manual/en/install.apache.php#install.apache.windows
Apache 2:
http://www.php.net/manual/en/install.apache2.php#install.apache2.windows
Previous Message:
-------------------------------------------------
Dear PHP [EMAIL PROTECTED]
I am writing to you because I am at my wit's end as to how to get PHP
working on my local machine
The main problem is that Apache isn't seeing my PHP. Whenever I try
to run a phpinfo() test file, all I get is a blank screen. When I right
click within my browser, I can view the html + the php, but apparently
the PHP never sees the file.
My operating system is XP. I want (tried to) set this up so that I
can develop on my local machine, before sending files to my web site.
The version of PHP that I tried to install is the latest (php
4.3.0-win32)
I already re-named the php.ini-dist file php.ini. I also moved that
file to the c\windows directory. I also made the following changes to
the Apache configuration file :
Added :
AddType application/x-httpd-php
.php .phtml .html
AddType
application/x-httpd-php-source .phps
This is my second attempt to install PHP. I originally downloaded
what was supposed to be a complete Integrated Development Environment
from PHPDEV. I have since deleted all those files, including complete
installations of PHP and Apache, but whenever I double click on the PHP
script interpreter, I get error messages that make reference to files
that I have already deleted. So one of my questions is, WHERE can I make
changes that reflect my current installation. (I have since downloaded
Apache from their site, MYsql, and PHP from php.net)
PLease help. I am about ready to quit
Bob Teague
--- End Message ---
--- Begin Message ---
I newly installed php4 and created a website form,
however when I press submitt the url comes as "Method
Not allowed" The requested method POST is not allowed
for the URL.
I certainly need help with this one.
Would there be a conflict if I was using *.php3 files
with php4?
Cheers :)
_________________________________________________
FindLaw - Free Case Law, Jobs, Library, Community
http://www.FindLaw.com
Get your FREE @JUSTICE.COM email!
http://mail.Justice.com
--- End Message ---
--- Begin Message ---
hi david
can u share ur code with us ?????
toby .......
_________________________________________________________________
The new MSN 8 is here: Try it free* for 2 months
http://join.msn.com/?page=dept/dialup
--- End Message ---
--- Begin Message ---
hi,
well, i downloaded PHP 4.2 and i am using redhat 8.0.
my question is how could i remove "uninstall" the php that came with the
redhat? and when i install php again where should i install it to "path"?
and would my httpd recognize it or do i have to change something in
httpd.conf?
Thanks
_________________________________________________________________
Help STOP SPAM: Try the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
--- End Message ---
--- Begin Message ---
hi
include path is the path of the director u have installed ur php in
like if u installed php in c:\ winnt -> system32 -> inetsrv
ur include_path will look something like
include_path = "C:\WINNT\system32\inetsrv\php"
hope dis helps .....
good luck
toby ......
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
--- End Message ---
--- Begin Message ---
Damon wrote:
I'm using Redhat 7.1. I wanted to install Slash, which required recompiling
Apache through the mod_perl install. I told apache to include mod_so so I
could compile a DSO version of php.
As a DSO you need the AddModule and LoadModule lines in httpd.conf, and
"httpd -l" needs to show mod_so.c.....
The mod_php4 appears to be loading:
# /usr/local/apache/bin/httpd -l
Compiled-in modules:
http_core.c
...
mod_perl.c
mod_php4.c
....but you seem to have compiled it into Apache itself (otherwise
mod_php4.c would not be shown).
[Mon Dec 30 16:33:10 2002] [notice] Apache/1.3.27 (Unix) PHP/4.2.3 PHP/4.2.3
should there be two "PHP/4.2.3"'s in that line? If I take out the
No, I don't think so. It shows you have both compiled-in and DSO loading.
LoadModule directive for PHP (there's only one in httpd.conf) then I get
[Mon Dec 30 16:46:49 2002] [notice] Apache/1.3.27 (Unix) PHP/4.2.3
That looks better.
I'd suggest deciding on one or the other, trying it then re-posting
results here. I don' know these particular versions but they should be OK.
A phpinfo() will show where your php.ini should be. Its an option that
you compiled PHP with.
HTH
Chris
--- End Message ---