Fatal error: unidentified function mysql_connect()...?

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

User avatar
boo_lolly
Forum Contributor
Posts: 154
Joined: Tue Nov 14, 2006 5:04 pm

Post by boo_lolly »

Kieran Huggins wrote: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".
Kieran, unfortunately i have no choice as to what server to use. (what is a uniform server?). this is for a client of ours, and we've built a server to completely mirror their current setup on location. we copied everything over... our job is to completely overhaul the directory structure for two of their sites. i've been running into errors since we began.... so, i can't change servers, because we'll have to deploy it back on their server once it's done... =\
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

http://www.uniformserver.com/ is a no-install WAMP package.

It's like XAMPP, but better IMO. I assume your clients are using a LAMP environment rather than IIS, so this would be a closer match (php 5.1.1, apache2, mysql, phpmyadmin, etc...)

One neat thing about Uniform Server is that you can just stop the service, move it to another machine, start the service and presto: you've moved the webserver. It's great for thumbdrives / laptops / showing clients their sites on their own computers.

I've never had an issue developing in Uniform Server and then transferring to a LAMP environment, I tend to avoid IIS in general as it tends to be a PITA.
User avatar
boo_lolly
Forum Contributor
Posts: 154
Joined: Tue Nov 14, 2006 5:04 pm

Post by boo_lolly »

no, as i've said, our server here is an exact mirror as theirs on location. they run IIS. i WISH they ran LAMP, my job would be so much easier... i have no idea what i'm doing when it comes to windows...

i've found these links from google:
http://bugs.php.net/bug.php?id=25863
http://help.globalscape.com/help/purecm ... eaders.htm

but they don't help...
User avatar
boo_lolly
Forum Contributor
Posts: 154
Joined: Tue Nov 14, 2006 5:04 pm

Post by boo_lolly »

so, now, i've learned that there must have been something wrong with the IIS configuration. after further review i found that, for some reason, IIS was calling the executable 'php-cgi.exe' instead of 'php.exe'... after i changed that... it now gives me the following error:

Code: Select all

Service Unavailable
however, this is only when i add what's called 'ISAPI Filters'. it is a part of IIS configuration (by right clicking the folder your websites are in using the IIS Manager application). this is what it looks like in the little windblows config window...

Code: Select all

+---------+----------------+--------------+
| STATUS  |   Filter Name  |   Priority   |
+---------+----------------+--------------+
|   \/    | php            | * Unknown *  |
+---------+----------------+--------------+
|   \/    | .php           | * Unknown *  |
+---------+----------------+--------------+
the \/ is in place of a red 'downward arrow'. i assume that if it were working correctly it would be a green upward arrow...

when i remove these 'filters'... the page takes over 2 minutes to load... and then brings me this error:

Code: Select all

CGI Timeout
The specified CGI application exceeded the allowed time for processing. The server has deleted the process.
so, it still doesn't work... and i'm trying effortlessly to figure it out.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Two days old, I know, but did this ever get resolved?
Post Reply