php-install Digest 27 Sep 2002 01:03:41 -0000 Issue 1041
Topics (messages 8577 through 8582):
Re: redhat-apache-php
8577 by: Peter
Loads of Trouble: PHP installed as CGI on Unix
8578 by: Serbinski, Theodore S
8579 by: Chris Hewitt
8580 by: Serbinski, Theodore S
How do link PHP4 pgsql and apache 2.0?
8581 by: Evan Xinos
The requested method POST is not allowed for the URL /directory/file.php
8582 by: Beauford
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 Prometeo,
Did you already get answers?
I had the same trouble as you. After I looked at the following site it
was over.
http://www.linuxguruz.org
I followed the secure server installation and it worked. There is also a
"normal" installation and it works also.
My title was: Apache/PHP/MySQL with SSL installation
Author: Randall Goguen (aka Ranman)
Probably you did not --with-apxs or something like that.
with fiendly greetings,
Peter
Prometeo wrote:
> this is the message that appears when i try to configure php 4.2.2 with apache
> under linux redhat 7.3.
> I can't go on. Is there someone that can help me?
>
>
> Configuring SAPI modules
> checking for AOLserver support... no
> checking for Apache 1.x module support via DSO through APXS...
>
> Sorry, I was not able to successfully run APXS. Possible reasons:
>
> 1. Perl is not installed;
> 2. Apache was not compiled with DSO support (--enable-module=so);
> 3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
> The output of /usr/local/apache/bin/apxs follows
> Usage: apxs -g [-S <var>=<val>] -n <modname>
> apxs -q [-S <var>=<val>] <query> ...
> apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
> [-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>]
> [-Wl,<flags>] <files> ...
> apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
> apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
> configure: error: Aborting
>
>
>
--- End Message ---
--- Begin Message ---
Hi. I've scoured the net, posted tons of forum threads, tried everything. I
simply cannot get this to work, yet it should be so simple.
I recently had our Admin guy install PHP as a CGI-binary on a Unix system.
Apache 1.3.2 is also installed.
He didn't install PHP as a Apache module because the server was never
configured with axps.
Now, I can run PHP scripts at the command line, which is great.
However, anytime I visit our server and try to view a *.php page, it just
tries to open/save the file, instead of actually displaying HTML.
My question is, what do I have to do to enable php to run like this in
Apache? Is there something I need to add to httpd.conf to get this to work?
I've tried everything and nothing works. Yet in the same folder my *.cgi
scripts run flawlessly.
Please help. Appreciated.
ted
--- End Message ---
--- Begin Message ---
Serbinski, Theodore S wrote:
>
>However, anytime I visit our server and try to view a *.php page, it just
>tries to open/save the file, instead of actually displaying HTML.
>
Its probably the AddType line in httpd.conf. This tells apache to use
php for these types of files. The INSTALL file has the details. Sorry
this is short, just off out.
HTH
Chris
--- End Message ---
--- Begin Message ---
I did try this:
AddType application/x-httpd-php .php
But that didn't seem to work, even after restarting PHP. I am assuming I
need to tell Apache where the PHP executable is and to use that for *.php.
But I don't know how to do that since I installed PHP as a CGI-binary.
Also where can I find that install file? Our sysadmin guy did this and I
think he missed a few things. I can't find it in any of the php directories.
thanks
ted
> -----Original Message-----
> From: Chris Hewitt [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 26, 2002 1:49 PM
> To: Serbinski, Theodore S
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: [PHP-INST] Loads of Trouble: PHP installed as CGI on Unix
>
>
> Serbinski, Theodore S wrote:
>
> >
> >However, anytime I visit our server and try to view a *.php
> page, it just
> >tries to open/save the file, instead of actually displaying HTML.
> >
> Its probably the AddType line in httpd.conf. This tells apache to use
> php for these types of files. The INSTALL file has the details. Sorry
> this is short, just off out.
>
> HTH
>
> Chris
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
How do link PHP4 pgsql 7.1 and apache 2.0?
This on Red-Hat 7.2
Any help welcome!
I used ./configure --with-apsx2 --with-pgsql=shared
And Nothing after confining php.ini and httpd.conf
Thank you.
--- End Message ---
--- Begin Message ---
Hi,
I just installed FreeBSD and am in the process of setting things up
again. I am getting the error "The requested method POST is not allowed
for the URL /directory/file.php" when running a test PHP file I made. I
sort of remember something from when I installed PHP before that
something needed to be put in the httpd.conf file, but I can't find what
I should put there or remember what to put there. Any help is
appreciated.
Any other configuration hints would be appreciated as well.
Thanks, Beauford
--- End Message ---