note 98454 added to install.windows.apache2
| From: | Nick at osu1 dot php dot net | Date: | Wed, 16 Jun 2010 13:48:26 +0000 |
| Subject: | note 98454 added to install.windows.apache2 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-170179@lists.php.net to get a copy of this message | ||
After using the Windows installer for Apache 2.2 and PHP 5.3.2, and installing PHP as an Apache
module (not CGI), Apache would crash and fail to start. There were two problems with the
configuration files for Apache and PHP.
First, make sure your Apache configuration file reads something similar to:
LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
PHPIniDir "C:/Program Files/PHP/"
While other users have disabled some or all of the MySQL extensions to prevent all three from
running at the same time, I have all of them enabled. However, I do not have PostgreSQL, so I needed
to comment out loading the php_pgsql.dll in my php.ini file, as follows:
;[PHP_PGSQL]
;extension=php_pgsql.dll
This stopped Apache from crashing and started successfully.
----
Server IP: 69.147.83.197
Probable Submitter: 144.160.226.53
----
Manual Page -- http://www.php.net/manual/en/install.windows.apache2.php
Edit -- https://master.php.net/note/edit/98454
Del: integrated -- https://master.php.net/note/delete/98454/integrated
Del: useless -- https://master.php.net/note/delete/98454/useless
Del: bad code -- https://master.php.net/note/delete/98454/bad+code
Del: spam -- https://master.php.net/note/delete/98454/spam
Del: non-english -- https://master.php.net/note/delete/98454/non-english
Del: in docs -- https://master.php.net/note/delete/98454/in+docs
Del: other reasons-- https://master.php.net/note/delete/98454
Reject -- https://master.php.net/note/reject/98454
Search -- https://master.php.net/manage/user-notes.php