logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: PHP 5.2.5 install error on Apache 2.2.8 and 2.2.4
Author
raymond8505



Joined: 03 Mar 2008
Posts: 3

PostPosted: Mon 03 Mar '08 23:48    Post subject: PHP 5.2.5 install error on Apache 2.2.8 and 2.2.4 Reply with quote

I'm installing php 5 from the Windows msi and after I do apache crashes every time I restart or stop the service, then I hit start again in the monitor and it runs. However all php files come up as blank pages.

when I run httpd.exe -e debug -w it gives me the following errors in a series of popups

Quote:

php_mbstring.dll not found
mysql_server_end not found
mysql_stmt_init not found in LBMYSQL.dll
OCI.dll not found
ordinal 3879 not located in LIBEAY32.dll
OCI.dll not found
sqlite3.dll not found
aspell-15.dll not found
libcs.dll not found
DB2CLI.dll not found
isqlt09a.dll not found
libSQLDBC_C.dll not found
libmonetra.dll not found
lcrzo.dll not found
OCIW32.dll not found
DB2CLI.dll not found
ICLIT09B.dll not found
ordinal 3874 not in LIBEAY32.dll
intl3_svn.dll not found


I downloaded the binaries and put them all in my php/ext directory, but it still gives me the errors.

my extension dir in my php.ini
Code:
extension_dir ="C:\Program Files\PHP\ext"


here are my modules

Code:

[Mon Mar 03 16:52:46 2008] [debug] mod_so.c(246): loaded module actions_module
[Mon Mar 03 16:52:46 2008] [debug] mod_so.c(246): loaded module alias_module
[Mon Mar 03 16:52:46 2008] [debug] mod_so.c(246): loaded module asis_module
[Mon Mar 03 16:52:46 2008] [debug] mod_so.c(246): loaded module auth_basic_module
[Mon Mar 03 16:52:46 2008] [debug] mod_so.c(246): loaded module authn_default_module
[Mon Mar 03 16:52:46 2008] [debug] mod_so.c(246): loaded module authn_file_module
[Mon Mar 03 16:52:46 2008] [debug] mod_so.c(246): loaded module authz_default_module
[Mon Mar 03 16:52:46 2008] [debug] mod_so.c(246): loaded module authz_groupfile_module
[Mon Mar 03 16:52:46 2008] [debug] mod_so.c(246): loaded module authz_host_module
[Mon Mar 03 16:52:46 2008] [debug] mod_so.c(246): loaded module authz_user_module
[Mon Mar 03 16:52:46 2008] [debug] mod_so.c(246): loaded module autoindex_module
[Mon Mar 03 16:52:46 2008] [debug] mod_so.c(246): loaded module cgi_module
[Mon Mar 03 16:52:46 2008] [debug] mod_so.c(246): loaded module dir_module
[Mon Mar 03 16:52:46 2008] [debug] mod_so.c(246): loaded module env_module
[Mon Mar 03 16:52:46 2008] [debug] mod_so.c(246): loaded module imagemap_module
[Mon Mar 03 16:52:46 2008] [debug] mod_so.c(246): loaded module include_module
[Mon Mar 03 16:52:46 2008] [debug] mod_so.c(246): loaded module isapi_module
[Mon Mar 03 16:52:46 2008] [debug] mod_so.c(246): loaded module log_config_module
[Mon Mar 03 16:52:46 2008] [debug] mod_so.c(246): loaded module mime_module
[Mon Mar 03 16:52:46 2008] [debug] mod_so.c(246): loaded module negotiation_module
[Mon Mar 03 16:52:46 2008] [debug] mod_so.c(246): loaded module setenvif_module
[Mon Mar 03 16:52:46 2008] [debug] mod_so.c(246): loaded module userdir_module
[Mon Mar 03 16:52:46 2008] [debug] mod_so.c(246): loaded module php5_module


I've attempted to redownload the msi, uninstall php, restore my default httpd.conf and mime.types then reinstall php, same errors
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Tue 11 Mar '08 23:29    Post subject: Reply with quote

Looks like you php install was not correct. Please double check.

Also possible that in your httpd.conf you are refering to an other/wrong PHP on your box.

Steffen
Back to top
raymond8505



Joined: 03 Mar 2008
Posts: 3

PostPosted: Wed 12 Mar '08 15:40    Post subject: Reply with quote

Steffen wrote:
Looks like you php install was not correct. Please double check.

Also possible that in your httpd.conf you are refering to an other/wrong PHP on your box.

Steffen


I've tried to install the php msi twice on 2 different machines, downloading and redownloading the msi to ensure it wasn't corrupted.

I also double checked the directory for php and it was correct. All the dlls it says are missing are in the ext directory and turned on in the PHP ini.

This is happening on Apache 2.2.8 AND 2.2.4

I should also note this is the current stable release of php which is 5.2.5

Also each time I reinstalled PHP I fully uninstalled it and rebooted before reinstalling it. I am attempting to install 5.2.6 now.

Edit: Same problem- crashes on restart
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Wed 12 Mar '08 18:31    Post subject: Reply with quote

I do not remember the exact problem I had, but moving php.ini to c:\windows did the trick for me
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Wed 12 Mar '08 18:41    Post subject: Reply with quote

In most cases it works with setting the path to php.ini
e.g.
Code:

PHPIniDir "D:/php"


For some ugly reason the PHP dev crew choosed C:\Windows aas default searching path
Back to top
raymond8505



Joined: 03 Mar 2008
Posts: 3

PostPosted: Wed 12 Mar '08 19:01    Post subject: Reply with quote

I moved my php folder to c:\ and the ini out of php to c and it works now

this worked for the 2.2.4 but not the 2.2.8
thanks for the help, guys
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Wed 12 Mar '08 21:37    Post subject: Reply with quote

Indeed, it is always preferred to install in a folder that has no spaces in his name, special for stuff that is original from the *nix world.
Back to top


Reply to topic   Topic: PHP 5.2.5 install error on Apache 2.2.8 and 2.2.4 View previous topic :: View next topic
Post new topic   Forum Index -> Other Software