Re: apache doesn't start when phpinidir is added

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 8, 2010 at 12:23 AM, Frank Gingras <francois.gingras@xxxxxxxxx> wrote:


On 03/07/2010 02:26 AM, Alain Roger wrote:
Hi Frank,

this is what it is funny, the error.log is not updated so i have no trace.
Last time it wa updated was on 14.02.2010.
and i just updated my php installation yesterday evening.
so i do not understand what's happening. :-(

moreover i use thewindows installation of apache 2.2.14 with openssl and
there is noapachectl :-(

On Sun, Mar 7, 2010 at 8:15 AM, Frank Gingras
<francois.gingras@xxxxxxxxx <mailto:francois.gingras@xxxxxxxxx>> wrote:

   On 07/03/2010 2:13 AM, Alain Roger wrote:

       Hi,

       i have a curious issue with apache 2.2.14.
       since i reinstalled php with version 5.2.13, apache doesn't
       start when the
       following lines are in the httpd.conf:

       #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

           PHPIniDir "D:/webserver/PHP/"
           LoadModule php5_module "D:/webserver/PHP/php5apache2_2.dll"
           AddType application/x-httpd-php .php
           #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL


       when i comment all lines except the PHPIniDir, i have the same
       issue.
       is there any incompatiblity known ?
       thx.


   Alain,

   1) What does the error log say, exactly? Or if you run apachectl
   start, do you see anything on STDERR?

   2) This not the proper way to configure mod_php. See
   http://www.php.net/manual/en/install.unix.apache2.php

   Frank

   ---------------------------------------------------------------------
   The official User-To-User support forum of the Apache HTTP Server
   Project.
   See <URL:http://httpd.apache.org/userslist.html> for more info.
   To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   <mailto:users-unsubscribe@xxxxxxxxxxxxxxxx>

   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
   <mailto:users-digest-unsubscribe@xxxxxxxxxxxxxxxx>

   For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
   <mailto:users-help@xxxxxxxxxxxxxxxx>





--
Alain
-----------------------------------------------------------
Windows 7 x64 / Fedora 12
PostgreSQL 8.3.5 / MS SQL server 2005
Apache 2.2.14
PHP 5.3.1
C# 2005-2008

Alain,

Please try not to top-post.

That being said, the apachectl start equivalent on windows is httpd.exe -k start. Try it.

You'll probably find that once you unload the mod_php module, it'll start properly, so remove php extensions as needed until you get apache httpd to start properly.

It's a common problem when folks update the mod_php module.


Frank.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
 "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


Hi Frank,
yesterday i found the solution, it is not an "apache issue" but a common issue PHP and apache.
basically in the php.ini file when all extension of mysql are used, apache is not able to start.
in fact, user have to choose php_mysql.dll or php_mysqli.dll or php_pdo_mysql.dll.
when all are on, apache generate this 1067 error. :-)

thanks a lot anyway for help.

--
Alain
-----------------------------------------------------------
Windows 7 x64 / Fedora 12
PostgreSQL 8.3.5 / MS SQL server 2005
Apache 2.2.14
PHP 5.3.1
C# 2005-2008

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux