note 58669 added to install.windows.apache2
| From: | mihailovy at vip dot bg | Date: | Fri, 11 Nov 2005 10:31:31 +0000 |
| Subject: | note 58669 added to install.windows.apache2 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-98422@lists.php.net to get a copy of this message | ||
Error when loading php4apache2.dll module in Apache 2.0
Used system: Win98OSR2, Apache 2.0.55, PHP 4.4.1
Configuration of http.conf for the php module:
PHPIniDir "C:/php/"
LoadModule php4_module "C:\php\php4apache2.dll"
AddType application/x-httpd-php .php
If you are getting a syntax error in your configuration file, when starting the Apache 2.0 server it
might be because the file php4ts.dll is not in your windows\system directory (W98) or winnt\system32
(NT systems).
The error occurs in the "LoadModule" line and is something like this:
"Syntax error in line ...
Cannot load module ...php4apache2.dll into server: one or more library files needed to run this
module could not be found."
After I copied the file from the php directory to the windows\system directory and started Apache,
the php module began to work.
----
Manual Page -- http://www.php.net/manual/en/install.windows.apache2.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+58669
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58669&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58669&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58669&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58669&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58669&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58669&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58669&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+58669&report=yes
Search -- http://master.php.net/manage/user-notes.php