View Single Post
  #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.
Reply With Quote