To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > PHP Help > Install

Install Conversation regarding installation and upgrade of PHP

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 07-11-2010, 10:02 AM   #1
jon80
Junior Member
 
Join Date: Jul 2010
Posts: 1
Apache Web Server won't load PHP (or vice versa)

I've tried to adapt a VAMP installation to a similar installation including:

Apache HTTP Server 2.2
PHP 5.2.13
MySQL Database

Although Apache HTTP Server initially loaded and installed successfully on its own, and, MySQL was successfully installed and tested, I have noticed problems when trying to configure Apache to handle PHP commands. The server runs Windows Server 2008 as a virtual machine within Virtual PC 2007.

I also had a problem when trying to configure PHP to work with IIS 5.1 on a machine running Win XP SP3.

Errors

1. Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\Administrator>php
PHP Warning: PHP Startup: Unable to load dynamic library './php_mysql.dll' - Th
e specified module could not be found.
in Unknown on line 0

2. Apache HTTP Server cannot start successfully
error.log
[Sun Jul 11 12:13:47 2010] [notice] Child 252: Released the start mutex
httpd.exe: Syntax error on line 128 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/PHP/php-5.2.13-Win32/php5apache into server: The specified module could not be found.
[Sun Jul 11 12:13:48 2010] [notice] Child 252: All worker threads have exited.
[Sun Jul 11 12:13:48 2010] [notice] Child 252: Child process is exiting

Related link (this is the tutorial I'm following)
Creating a VAMP (Vista, Apache, MySQL, PHP) Setup
(http://www.devshed.com/c/a/Apache/Cr...L-PHP-Setup/1/)

NOTE: dev02.armani


I also tried changing the PHP installation from C:\Program Files\PHP... to C:\PHP..., to no avail, hoping that this might have been a problem with the spaces.
Attached Files
File Type: zip error.log.zip (24.4 KB, 19 views)
jon80 is offline   Reply With Quote
Old 07-11-2010, 01:23 PM   #2
bradgrafelman
Pna lbh ernq guvf?
 
Join Date: Jul 2004
Location: Around 0:0:0:0:0:0:0:1
Posts: 14,502
For one, the "php_*.dll" files should be in a "ext" extension subfolder within the main PHP folder; make sure your extension_dir PHP directive is set properly.

Second, the file to load with Apache 2.2.x is called "\php\php5apache2_2.dll" (note the "2_2" as well as the file extension).
__________________
***If your problem has been solved, PLEASE click the RESOLVED LINK under "Thread Tools"***

"Well Bones, do the new medical facilities meet with your approval?" -- Kirk
"They do not. It's like working in a damn computer center" -- McCoy (Star Trek: TMP)

Useful links: Debugging 101 || NJOE || (Sig image) || Rolla Engineered Solutions, LLC
bradgrafelman is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 08:01 AM.








Acceptable Use Policy

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.