Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
|
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 5th, 2010, 03:15 PM
Authorized User
 
Join Date: Jul 2008
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to rhieger
Default Problem Installing AMP Environment on Windows 7 Ultimate 64 bit Edition

I apologize in advance if this posting is gratuitous and has already been answered, but I have yet to find an adequate answer to this question.

I am an IT web development/design student in the CUNY BA Program of the City University of New York.

Until recently, I had successfully configured an AMP environment consisting of Apache HTTP Server, MySQL, PHP and phpMyAdmin running on Windows XP Professional SP3.

Since the beginning of this year, I have been trying to no avail to get the same configuration to work under Windows 7 Ultimate 64 Bit Edition.

Apache works on its own, but I encounter the following anomalies:

  1. The phpinfo() class correctly displays the php information page.
  2. Noticeably absent, however are the listings for the mysql and mysqli extensions. Only mysqlnd is present.
  3. This is despite the facts that:
    1. The httpd.conf file set PHPIniDIR = 'C:/Windows';
    2. The php.ini file uncommented the extension=php_mysql.dll and extension=php_mysqli.dll lines.
  4. Any attempts at scripts that access the MySQL Server result in the following error messages:

    Fatal error: Call to undefined function mysqli_connect() OR
    Fatal error: Call to undefined function mysql_connect()
I am trying valiantly to get back to my studies so that I can solidify and augment my existing knowledge and would greatly appreciate any assistance you can provide. I have been at a loss. Any of the online tutorials I have seen reference Windows 7 betas and contradict one another on what a proper configuration is.

If you need additional information, please let me know and I will gladly provide it.

Sincerely,

Robert Hieger





Similar Threads
Thread Thread Starter Forum Replies Last Post
install sql server 2005 64-bit khautinh SQL Server 2005 0 November 19th, 2008 01:43 PM
64 bit p0120144 BOOK: Professional Assembly Language 1 December 26th, 2006 10:04 PM
64 Bit - Issue in 64 bit IIS calling Win32 API Hubman General .NET 1 August 24th, 2006 09:19 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.