php-install Digest 31 Mar 2003 01:01:12 -0000 Issue 1314
Topics (messages 10454 through 10455):
Error 403 - Forbidden
10454 by: Alessandro
php and Apache won't play nice
10455 by: Jim Kelly
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 ---
Greetings, I am running Apache 2.0.44 with PHP 4.3.0 under Microsoft
WindowsXPHome. Now the problem: When i make a requestat my server for a
PHP page i get the error: 403 - Forbidden. At the buttom you can find the
links to the conf. file and the INI. I tried verry much but can't solve the
problem i reinstalled Apache and PHP for several times and checked everything
but could not find anything wrong. Could you please help
me? Greetings Alessandro Vermeulen The link to the (apache)conf
file: http://home.planet.nl/~verm0754/httpd.confLink
to the php.ini file: http://home.planet.nl/~verm0754/php.ini
|
--- End Message ---
--- Begin Message ---
When I surf to a phpinfo.php file in apache htdocs dir the browser
insists on downloading the file instead of executing it showing me my
php setup page
I've modified httpd.conf adding:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
AddModule mod_php4.c
here are the last few lines in the section:
AddModule mod_access.c
AddModule mod_auth.c
AddModule mod_so.c
AddModule mod_setenvif.c
<IfDefine SSL>
AddModule mod_ssl.c
</IfDefine>
AddModule mod_php4.c
When I do apachectl configtest I get:
Syntax error on line 233 of /usr/local/apache/conf/httpd.conf:
Cannot add module via name 'mod_php4.c': not in list of loaded modules
I installed php from source.
I used this config statement
./configure --with-mysql=/usr/local/mysql
--with-apxs=/usr/local/apache/bin/apxs --enable-bcmath --enable-sockets
--enable-track-vars
then i mv'ed php.ini-recommended to /usr/local/lib/php.ini
Could someone please point me straight?
Why is php stubbornly refusing to work here
jim kelly
--- End Message ---