Fatal error: Call to undefined function mysql_connect() in D:\Htdocs\rockdaleisd.net\azureadmin\lib\db.php on line 11
PHP Warning: PHP Startup: Unable to load dynamic library './php_mysql.dll' - Invalid access to memory location. in Unknown on line 0
basically, i've been given the task to re-assemble a client's directory structure. so i've installed php and mysql, and copied the contents of their database, and copied their directory structure over to a test environment. it's on a windows 2003 server, by the way. can i get any help?
C:\PHP
C:\WINDOWS\system32
PHP/ext
D:\rockdaleisd.net\risd\restore\MySQL\MySQL Server 5.0\bin
D:\Htdocs\rockdaleisd.net\risd\restore\MySQL\MySQL Server 5.0\bin
Inetpub/wwwroot/rist/restore/MySQL/MySQL Server 5.0/bin
D:\Htdocs\rockdaleisd.net\rockdaleisd.net\risd\restore\MySQL\MySQL Server 5.0\bin
so it's there.... maybe it's in the wrong place?? i tried opening it in the Vim file editor but it comes up just a bunch of random characters.
it turns out that the simulated environment i'm working on had php 5.1.2. i upgraded and installed 5.2.0 on it, made the necessary revisions to php.ini, and i restarted IIS (Windows 2003 Server). now, when i go to the index.php page... it says it can't find it... i don't get any mysql or php errors (which is awesome), but now it says Error 404, page cannot be found. i have no idea why. i don't work with windows. i'm a linux user, our technician put this server together (and he is very good at windows stuff). but, i'm the developer, so i'm supposed to figure this stuff out... i have no idea where to start. please help. your advice has worked so far =)
i don't know if this makes a difference, but everything PHP related is in C:\PHP but my i have D:\Htdocs in the D-drive.
i downloaded all the extensions and added them to my C:\PHP folder from a zip file, then i restarted IIS server, and NOW.... it gives me the following error:
Have you considered trying Uniform Server? It comes with php 5.1.1, but most of the PECL libs are there... and you can drop in the latest php version if you want.
Oh, and no installer, just a zip and a "start.bat".