For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > June 2006 > #37857 [Opn->Bgs]: install text refers to files and directories not in the PHP5 ms









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #37857 [Opn->Bgs]: install text refers to files and directories not in the PHP5 ms
philip@php.net

2006-06-24, 8:03 am

ID: 37857
Updated by: philip@php.net
Reported By: CyberSongs at Musics dot net
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: Windows Server 2003 (R2)
PHP Version: Irrelevant
New Comment:

php5apache2_2.dll only exists as of PHP 5.2.0 so consider
downloading a version from snaps.php.net if you must use
Apache 2.2.

See also this open bug report:
http://bugs.php.net/bug.php?id=37343

Thank you for taking the time writing about this bug. But
since it's a duplicate, I'm marking it as bogus.

Also, the windows install.txt mentions .dll and not .so for
this. Since install.txt for each distro (unix/win) includes
the entire FAQ, perhaps you stumbled upon that. Or, the PECL
docs.


Previous Comments:
------------------------------------------------------------------------

[2006-06-23 17:25:58] CyberSongs at Musics dot net

Actually, I downloaded both the msi and the zip. While the files for
the .dll were there, apache for Windows refers to .so files, so that
there are no relevant .so files still in the zip version for Windows.

Now, in general, one can replace a LoadModule in apache 2 with the .dll
equivalent, but also in general if the .so access module and the dynamic
shared objects modules are in .so form, they will not find Windows
modules that are added as .dll

There are workarounds, and I've done them in the past, but apache 2.2
doesn't seem to like this approach for its Windows versions. The
typical result, and the one I'm getting, is that apache can't find
php5apache2.dll even when it is in the correct path!

It may be that Windows has two problems:

01.) It does not obey case
02.) It's translation of <blank space> is erroneous

In (01), any pointer within the dll with bad case will also fail. In
(02) it will see non 802.3 names as the familiar tilded name and simply
will not find the dll module.

(02) seems to be the most likely cause, since the file is definitely
where it belongs, it works flawlessly with php5 in apache 2.0.48, but
not with apache 2.2

The assumption that Windows Server will be using Internet Informaton
Server is more of an assumption than a reality, since most Windows
Servers do, in fact, use Apache. It would seem the developers of the
Windows side of php simply skipped configuratin for Windows with Apache
in these latest releases, PHP5 and Apache2.2

I knew it to be a little more than a documentatin problem, but I am
still working on what I see as an actual software bug.

As stated, I have tried both, the msi and the zip, neither works.

------------------------------------------------------------------------

[2006-06-20 16:26:31] philip@php.net


* On the installer download page it says the following:
--
(CGI only, packaged as Windows installer to install and
configure PHP, and automatically configure IIS, PWS and
Xitami, with manually configuration for other servers. No
external extensions included, get them from the zip and PECL
downloads above, and install manually)
--

* And since you're using the installer, read the installer
specific documentation in the install.txt as it only refers
to CGI as the following:
--
The Windows PHP installer is available from the downloads
page at http://www.php.net/downloads.php. This installs the
CGI version of PHP and for IIS, PWS, and Xitami, it
configures the web server as well. ...
--

It seems clear that this only installs the CGI and you're
wanting to install the module. To do that, download the Zip
package. The documentation in install.txt may seem a little
confusing here because install.txt is generated from the
official documentation, and includes all [Windows specific]
docs. IMHO this is fine as it shows other (preferred?)
methods for installation too.


------------------------------------------------------------------------

[2006-06-20 06:10:49] CyberSongs at Musics dot net

Description:
------------
Install and configuration for Apache2 PHP 5.14; missing files and
directories

Reproduce code:
---------------
N/A

Expected result:
----------------
N/A

Actual result:
--------------
Install and configuration for Apache2 PHP 5.14; missing files and
directories:

/sapi/
php5apache2.dll

Therefore, httpd.conf is not possible.

From the cutout of install.txt which I've posted at :

http://www.musics.net/Errors/PHP5/install.short.txt



------------------------------------------------------------------------


--
Edit this bug report at http://bugs.php.net/?id=37857&edit=1
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com