Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: PHP does not seem to be working |
|
Author |
|
Markus_Aurelius
Joined: 30 Sep 2015 Posts: 17 Location: worester, usa
|
Posted: Sat 19 Jan '19 3:30 Post subject: PHP does not seem to be working |
|
|
HI Everyone,
I have PHP 7 and Apache 2.4 installed. I also have htdocs/wordpress and htdocs/phpbb installed. When I type into my address bar
localhost/wordpress or localhost/phpbb I get this:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\Apache24\htdocs\wordpress\wp-includes\wp-db.php:1564 Stack trace: #0 C:\Apache24\htdocs\wordpress\wp-includes\wp-db.php(592): wpdb->db_connect() #1 C:\Apache24\htdocs\wordpress\wp-includes\load.php(409): wpdb->__construct('username_here', 'password_here', 'database_name_h...', 'localhost') #2 C:\Apache24\htdocs\wordpress\wp-settings.php(106): require_wp_db() #3 C:\Apache24\htdocs\wordpress\wp-config.php(89): require_once('C:\\Apache24\\htd...') #4 C:\Apache24\htdocs\wordpress\wp-load.php(37): require_once('C:\\Apache24\\htd...') #5 C:\Apache24\htdocs\wordpress\wp-blog-header.php(13): require_once('C:\\Apache24\\htd...') #6 C:\Apache24\htdocs\wordpress\index.php(19): require('C:\\Apache24\\htd...') #7 {main} thrown in C:\Apache24\htdocs\wordpress\wp-includes\wp-db.php on line 1564
I don't get. I can run phpinfo(); and it works.
Any help or ideas would be much appreciated.
Thanks for the help. |
|
Back to top |
|
mraddi
Joined: 27 Jun 2016 Posts: 152 Location: Schömberg, Baden-Württemberg, Germany
|
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
|
Back to top |
|
|
|
|
|
|