Apache error "requested operation could not complete" after PHP installed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • smartflowr2002
    New Member
    • Jun 2010
    • 6

    Apache error "requested operation could not complete" after PHP installed

    hey guys,
    i have used XAMPP for apache/php/mysql so far,
    but i have decided to go to use individual servers for more performance, and also for learning.
    plus i was facing some issue on xampp too, so i wanted to change it..
    (i also used wamp but i dint like it, buts that not the issue)

    now i have installed apache 2.2.15 (latest from apache)
    and i installed php 5.3 VC6 safe thread.
    after installation when i started apache i got error "requested operation could not complete"

    i saw httpd.conf and 4 lines were added by php installaion
    Code:
    #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
    PHPIniDir "X:/Web_Server/PHP/"
    LoadModule php5_module "X:/Web_Server/PHP/php5apache2_2.dll"
    #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
    i commented out the middle two lines just to check and it apache worked, but when i un-comment those lines apache fail to start..

    i tried googling, many tutorials, instrustion like setting env variable, coping dll to bin folder none work..

    can u please help me?
  • johny10151981
    Top Contributor
    • Jan 2010
    • 1059

    #2
    Originally posted by smartflowr2002
    hey guys,
    i have used XAMPP for apache/php/mysql so far,
    but i have decided to go to use individual servers for more performance, and also for learning.
    plus i was facing some issue on xampp too, so i wanted to change it..
    (i also used wamp but i dint like it, buts that not the issue)

    now i have installed apache 2.2.15 (latest from apache)
    and i installed php 5.3 VC6 safe thread.
    after installation when i started apache i got error "requested operation could not complete"

    i saw httpd.conf and 4 lines were added by php installaion
    Code:
    #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
    PHPIniDir "X:/Web_Server/PHP/"
    LoadModule php5_module "X:/Web_Server/PHP/php5apache2_2.dll"
    #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
    i commented out the middle two lines just to check and it apache worked, but when i un-comment those lines apache fail to start..

    i tried googling, many tutorials, instrustion like setting env variable, coping dll to bin folder none work..

    can u please help me?
    Code:
       1. #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
    PHPIniDir "X:/Web_Server/PHP/"
    LoadModule php5_module "X:/Web_Server/PHP/php5apache2_2.dll"
    #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
    make sure php.ini exists in
    X:/Web_Server/PHP/ dir
    and the dll file
    X:/Web_Server/PHP/php5apache2_2.d ll exists in the described path.
    and also make sure
    you do not have duplicate of
    above directives

    Best Regards,
    Johny

    Comment

    • smartflowr2002
      New Member
      • Jun 2010
      • 6

      #3
      reverified, both dir and dll exists..
      damn, i am getting crazy

      Comment

      • smartflowr2002
        New Member
        • Jun 2010
        • 6

        #4
        okay got error in log,
        please see

        Code:
        [Mon Jun 14 15:27:35 2010] [notice] Parent: Received restart signal -- Restarting the server.
        [Mon Jun 14 15:27:35 2010] [notice] Child 3920: Exit event signaled. Child process is ending.
        [Mon Jun 14 15:27:35 2010] [notice] Apache/2.2.15 (Win32) configured -- resuming normal operations
        [Mon Jun 14 15:27:35 2010] [notice] Server built: Mar  4 2010 11:27:46
        [Mon Jun 14 15:27:35 2010] [notice] Parent: Created child process 3444
        [Mon Jun 14 15:27:36 2010] [notice] Child 3920: Released the start mutex
        [Mon Jun 14 15:27:36 2010] [crit] (OS 1813)The specified resource type cannot be found in the image file.  : master_main: create child process failed. Exiting.
        [Mon Jun 14 15:27:36 2010] [notice] Parent: Child process exited successfully.
        [Mon Jun 14 15:27:37 2010] [notice] Child 3920: All worker threads have exited.
        [Mon Jun 14 15:27:37 2010] [notice] Child 3920: Child process is exiting

        Comment

        • johny10151981
          Top Contributor
          • Jan 2010
          • 1059

          #5
          tell me how many instance of PHPIniDir is available

          Comment

          • smartflowr2002
            New Member
            • Jun 2010
            • 6

            #6
            problem solved, it was due to extra extension in php.ini installtion :)

            Comment

            Working...