473,327 Members | 2,025 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Help please with PHP/MySQL Install Problem

I'm trying to setup PHP5 on a test server at work. I removed PHP 4 and setup
PHP5 as a clean install. I did the manual install per the instructions.

The machine run Windows Server 2003 with IIS 6.0. I have 2 annoying issues:

No matter what I do, when I look at phpinfo() it reports that it is reading
the php.ini file from c:\windows. Even though I have made all the ini file
adjustments, put in the registry change, etc. it still won't read the
php.ini from c:\php.

Even more problematic, though, is I cannot get MySQL integration to work. I
went through dozens of posts on the main PHP website and did all of the
troubleshooting elements. C:\php and C:\php\ext are both in my path. Other
extensions from C:\php\ext load up fine, but when I "activate" (i.e.
uncomment the extension line) for MySQL, PHP no longer loads up pages (even
one that does no database interaction).

When I look at the production screen I get an error message that basically
says (sorry, left the exact wording on a sheet at work), "Unable to process
file c:\php\ext\php_mysql.dll"

The file is in the directory noted above. I though the file might have
gotten corrupted, so I copied over a fresh version. Same problem.

At this point I'm going crazy. Can anyone suggest a solution?

Tony
Nov 24 '05 #1
2 1703
Tony,
I'm trying to setup PHP5 on a test server at work. I removed PHP 4 and setup
PHP5 as a clean install. I did the manual install per the instructions.

The machine run Windows Server 2003 with IIS 6.0. I have 2 annoying issues:

No matter what I do, when I look at phpinfo() it reports that it is reading
the php.ini file from c:\windows. Even though I have made all the ini file
adjustments, put in the registry change, etc. it still won't read the
php.ini from c:\php.
Remove the php.ini file from C:\windows

It finds that file by checking certain directories first per your web
server.
Even more problematic, though, is I cannot get MySQL integration to work. I
went through dozens of posts on the main PHP website and did all of the
troubleshooting elements. C:\php and C:\php\ext are both in my path. Other
extensions from C:\php\ext load up fine, but when I "activate" (i.e.
uncomment the extension line) for MySQL, PHP no longer loads up pages (even
one that does no database interaction).

When I look at the production screen I get an error message that basically
says (sorry, left the exact wording on a sheet at work), "Unable to process
file c:\php\ext\php_mysql.dll"


What version of mysql are you using? If you are using 4.1 use the
php_mysqli.dll.

Mike
Nov 25 '05 #2
Thanks for your help. See below.

"Mike Willbanks" <pe****@gmail.com> wrote in message
news:d%***************@fe03.lga...
No matter what I do, when I look at phpinfo() it reports that it is
reading the php.ini file from c:\windows. Even though I have made all the
ini file adjustments, put in the registry change, etc. it still won't
read the php.ini from c:\php.
Remove the php.ini file from C:\windows


If I move that file so that it is not present in that location and pull up a
phpinfo() file, it still tells me it is looking in C:\windows.

If I put a php.ini file in C:\Windows, it reports the ini location as
C:\windows\php.ini, if I delete the file from that location and put it in
C:\php, it then reports it is reading the ini file from C:\windows. (Notice
the difference.)

I can't get it to find the ini file anywhere but in C:\windows.
It finds that file by checking certain directories first per your web
server.


I'm not following that part. How does the web server come into play as far
as where it checks for the .ini file?
When I look at the production screen I get an error message that
basically says (sorry, left the exact wording on a sheet at work),
"Unable to process file c:\php\ext\php_mysql.dll"


What version of mysql are you using? If you are using 4.1 use the
php_mysqli.dll.


I'll give that a shot. Thanks for the info.

Tony
Nov 25 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: pancho | last post by:
Greetings, I need help configuring/building PHP3 with MySQL as a DSO on a Solaris 8 box - this module is needed to host some existing sites I will be migrating Note. I built PHP4 from source and...
2
by: iisath | last post by:
Hello, Trying to get help with this situation. I have installed PHPBB, PHP (4X) and MySQL 4.1. This is how I started out. 1. Installed MYSQL - ran setup - did FULL install - and entered in...
0
by: albert | last post by:
Dear, Now i'm trying to install MySQL 4.0.14 through binary source install. I'm using Redhat 7.2 and 8.0 I'm trying like this.. ../configure --prefix=/usr/local/mysql \...
4
by: blizeach | last post by:
The problem is that when I installed Slackware I told it to install MySQL. I thought it did so. I looked around and found in the directory /etc/rc.d/ a file called rc.mysqld.new wich I read. It...
0
by: Mike Chirico | last post by:
Hopefully this will help someone... Helpful Things to Know about MySQL Mike Chirico (mchirico@users.sourceforge.net) Last Updated: Fri Apr 16 11:47:34 EDT 2004 The latest version of this...
2
by: trihanhcie | last post by:
I m currently working on a Unix server with a fedora 3 as an os My current version of mysql is 3.23.58. I'd like to upgrade the version to 5.0.18. After downloading from MYSQL.COM the package on...
4
by: nurcan.kurtoglu | last post by:
Hi, I have a .php site which uses a mysql database. I would like some info on how I can download (preferably free and simple) and use a GUI. As in, I know they exist, but do I need to put it...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
1
by: chandoo | last post by:
May i know how to include cmsms to my site? For example site:www.example.com content:e-commerce site. problems 1.how to connect my site to the cmsms? 2. how to connect to mysql tables ,and how...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.