php-documentation-list | 2003101
Date: 10/06/03
- Next message: Mehdi Achour: "[PHP-DOC] cvs: phpdoc /en/appendices about.xml"
- Previous message: ilya at lebedev dot net: "[PHP-DOC] #25754 [Opn]: preg_replace() and preg_replace_callback() crash with long matches"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 25608
Comment by: benoit dot vianin at sinabe dot ch
Reported By: orn dot asgeirsson at decode dot is
Status: Open
Bug Type: Documentation problem
Operating System: windows xp
PHP Version: 4.3.3
New Comment:
On Windows 2K Sp4 Apache 1.3.28 PHP 4.3.3
You need to put the path for LoadModule like this
LoadModule php4_module "c:/php/sapi/php4apache.dll"
And you must move the AddType line in the right section of the
httpd.conf
But this is only for the windows users.
Previous Comments:
------------------------------------------------------------------------
[2003-09-19 18:53:40] orn dot asgeirsson at decode dot is
Server used:
Apache (apache_1.3.28-win32-x86-no_src.msi)
Windows XP workstation, fully patched.
------------------------------------------------------------------------
[2003-09-19 18:04:51] jmcastagnetto <email protected>
Please indicate the server used and its version.
Your observations are incorrect for Apache 1.3.x in
Solaris 7 and 8, SuSe 8.2 and Red Hat 7.1. In all those
platforms and the indicated server, the position where you
put the lines is not relevant for a stand-alone server (no
virtual hosts, etc.).
I don't have a Windows box around so I cannot test on that
OS.
------------------------------------------------------------------------
[2003-09-19 12:55:14] orn dot asgeirsson at decode dot is
Description:
------------
Those three php config lines you tell people to add to their httpd.conf
line won't work unless they are put there in their correct category:
"After you've set up the file layout properly, you're ready to finally
configure Apache to load the PHP4 module. Just add the following lines
to your httpd.conf:
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php"
I tried this without success, but when I added the LoadModule line to
the LoadModule part of httpd.conf, AddModule to the AddModule part of
httpd.conf and AddType to the AddType part of httpd.conf everything
worked fine.
apache did not know what to do whith .php files using your guide.
Thanks.
Orn
------------------------------------------------------------------------
-- Edit this bug report at http://bugs.php.net/?id=25608&edit=1
- Next message: Mehdi Achour: "[PHP-DOC] cvs: phpdoc /en/appendices about.xml"
- Previous message: ilya at lebedev dot net: "[PHP-DOC] #25754 [Opn]: preg_replace() and preg_replace_callback() crash with long matches"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

