Current location: Hot Scripts Forums » Programming Languages » PHP » Php Mysql Bug???

Php Mysql Bug???

Reply
  #1 (permalink)  
Old 02-28-06, 05:55 PM
tranquilraven tranquilraven is offline
Newbie Coder
 
Join Date: Feb 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Question Php Mysql Bug???

Specs:
Windows 2000 pro
IIS
PHP 5
MYSQL 5
Use: Testing server for php scripts

Everything seems to work on the surface. I have PHP installed and working, I have MYSQL installed and working, I have phpmyadmin installed and working.

I have two subfolders in my wwwroot folder:

The first is the phpmyadmin which is tested and running error free, I have already used it to create a database and tables, with no issues.

The other folder I created for a tutorial I am working on, it is titled PetCatalog. When I run my index.php from my petcatalog folder I get this error at the bottom of the page:

PHP Warning: PHP Startup: Unable to load dynamic library 'c:/php/ext/php_mbstring.dll' - Access is denied. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'c:/php/ext/php_gd2.dll' - Access is denied. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'c:/php/ext/php_mysql.dll' - Access is denied. in Unknown on line 0

Heres the real kicker, if I re-boot, open my browser and type in the address: http://localhost/petcatalog, the index.php page comes up with no issues at all, but when I close that window and reopen the page by typing in the address again, the above error code comes up.

But I don't get this error when I run my index.php from my phpmyadmin folder which is also located directly beneath the wwwroot. I already checked permissions and both folders and files have the exact same permissions, so this isn't the issue. I have also created a "path (c:/php/ext/)" and have moved the appropriate .dll into my system32 and winnt directories.

What gives? Anyone else have this problem?

Last edited by tranquilraven; 02-28-06 at 06:11 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 02-28-06, 07:22 PM
nekeno12 nekeno12 is offline
Wannabe Coder
 
Join Date: May 2004
Location: CO
Posts: 214
Thanks: 0
Thanked 0 Times in 0 Posts
Never had the problem, but I would re-install my local WAMP.

Easy download from http://www.devside.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 02-28-06, 07:26 PM
stormshadow's Avatar
stormshadow stormshadow is offline
Coding Addict
 
Join Date: Mar 2005
Posts: 354
Thanks: 0
Thanked 0 Times in 0 Posts
yay! ur useing the same book i used:-)

the fordummies book with apache :-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 02-28-06, 08:56 PM
tranquilraven tranquilraven is offline
Newbie Coder
 
Join Date: Feb 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Would I need to uninstall my current windows web server (IIS) as well as php, mysql and phpmyadmin before installing this app?

Also, is this app free of charge?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 03-01-06, 04:06 AM
4saken 4saken is offline
Newbie Coder
 
Join Date: Apr 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
It looks like something is blocking access to php extension dlls.
Check permissions on c:/php/ext and c:/php directories and dlls. Try to move extensions to other directory (don't forget to change extensions path in your php.ini file).

P.S. Better use Apache web-server.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP and MySQL ? rob2132 Hot Scripts Forum Questions, Suggestions and Feedback 4 08-29-08 03:22 AM
Need help with some php mysql TheTinkeringToad PHP 9 02-01-06 11:56 AM
IIS MYSQL and PHP nommiiss PHP 6 01-31-06 05:30 PM
WEB HOSTING - $4.99/MONTH For 1GB HD & 25GB BW! CPanel, PHP, MySQL & MORE! IncognitoNet General Advertisements 0 10-20-05 08:26 AM
PHP multi-dimensional array sorting issue aqw PHP 2 06-25-05 12:09 AM


All times are GMT -5. The time now is 08:08 PM.
vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.