PHP page keeps loading
Posted 12 June 2006 - 11:11 PM
Posted 12 June 2006 - 11:28 PM
Posted 13 June 2006 - 12:01 AM
@mysql_select_db($dbdatabase) or die( "Unable to select database");
Posted 13 June 2006 - 12:46 AM
1. Instead of the shorthand <? ?> use <?php ?>. This ensures better compatibility with all OS' and configurations
2. Are you sure the database is on? It may be trying to reach a database that is not running or not reachable - although the script should abort after reaching max_execution_time
3. Will it display the message "Done"?
Posted 13 June 2006 - 08:04 AM
Do your html files display ok.
Or is it just when you attempt to use mysql.
When all else fails - Try reading the manual.
Posted 13 June 2006 - 01:42 PM
By the way...I'm using Apache 2.0.58, PHP 5.1.4, and MySQL 4.1.
I used a help site to help me set it all up and walk me through the installation...it's tanguay.at or something like that.
Couple of things that might be of some help in troubleshooting this...
That site mentioned I should have a libmysqli.dll in my C:\PHP folder. I don't, I only have libmysl.dll.
In my php.ini, I have the following extensions:
extension=php_mysql.dll and extension=php_xsl.dll
Under the MYSQL section of the php.ini I have...
mysql.allow_persistent = On
mysql.max_persistent = -1
mysql.max_links = -1
mysql.connect_timeout = 60
mysql.trace_mode = Off
I'm guessing not having libmysqli.dll isn't a problem, since I think it's only MySQL Lite anyway, but I thought I'd mention it just in case.
Okay, I found the site that I used to help me walk through the install...
[a href=\"http://www.tanguay.at/installPhp5.php5?step=1\" target=\"_blank\"]http://www.tanguay.at/installPhp5.php5?step=1[/a] maybe that might help troubleshoot
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users