1 borchenc Jan 23, 2005 10:01
3 borchenc Jan 24, 2005 00:31
Hmm... could be... I'll check it out.
4 borchenc Jan 24, 2005 00:37
Trying to figure this out, it seems like it doesn't even connect to the MySQL... At least when I try to force it to spit out an error like can't locate database or wrong password to connect to the DB, it still comes back with a blank screen.
5 borchenc Jan 24, 2005 01:32
Got it... This is really stupid, but basically MySQL is not automatically enabled in PHP5. I hate the Windows system to because even though I moved my PHP.ini out of the windows directory (as I hate stuff in there) and moved it the PHP folder, it wouldn't work even though PHP would still load. libmysql.dll had to moved into the windows folder so basically MySQL was not enabled. For anyone having troubles with PHP5, uncomment the php_mysql.dll extension by removing the ; before it. That's also why it works to downgrade to PHP4 because it's already enabled in that.
6 zambizzi Mar 06, 2005 07:55
I did this and I still can't get it to work...nothing but a blank screen!
I'm using Windows 2003 server, php 5.0.3, and mysql 4.1.
What else could I be missing?
7 village_idiot Mar 06, 2005 08:15
zambizzi wrote:
What else could I be missing?
Linux. Apache. (sorry, I just had to)
What happens using php 4?
8 zambizzi Mar 06, 2005 09:30
whoo wrote:
zambizzi wrote:
What else could I be missing?
Linux. Apache. (sorry, I just had to)
What happens using php 4?
You're absolutely right! Actually I'm stuck w/ this box for now but will be migrating to a new Gentoo server very soon.
I have to use php 5 because I'm developing some of my own apps w/ it and would *not* like to revert to 4.x for *anything*.
I've run it on linux/apache w/ php 5 so I FIGURED it would work similarly on Windows...but to no avail. :>
9 graham Mar 06, 2005 12:43
Or Apache for windows. Never windows server.
10 zambizzi Mar 06, 2005 18:44
It's a bit more complicated than that...actually. I have several applications running in asp.net and can't simply dump IIS at this point...you see, I've been a C# programmer for about 4 years now.
I'm doing some newer applications, which will be open source, in PHP (now that it's properly object-oriented...yeah baby!)
Anyhow, it's solved, I got it working just fine (albeit a little slower than when using Apache.)
I had installed the php 5.0.3 installer for windows which doens't contain *any* of the extensions. I just downloaded the .zip for windows, pulled out the extensions DLLs, placed then in the php directory, and pointed the php.ini file to that location...and life is good.
Thanks!
-v
zend optimizer update, was it?