I've got my site up and running with Apache and PHP in windows, I'm building a server so it might go on there with Linux. But I can't for the life of me get the site to use SQL.
Installed a MySQL client, worked fine in the console. Could add and delete entries et cetera.....
When I added the (what i though were the correct) libraries for Apache to use, it still said "undefined function: msql().." like it did the first time i tried it.
so I uncommented the line in php.ini for it to work but it then said "Internal Server Error."
On advice of fellow geek, I tried a bundled package but I couldn't get it to run any page at all so I bit the bullet and clean-slated everything. PHP, Apache, MySQL, PHPtriad, phpmyadmin, all gone.
The Challenge:
Fix this:
New install of Apache and PHP and works fine. From that, what is a good MySQL client to install and how the hell do I get PHP and Apache to run MySQL code?
Currently installed:
Apache: apache_2.0.48-win32-x86-no_ssl.exe
PHP: php-4.3.4-installer.exe
Running on a windows system.
For the sake of argument Apache is installed on c:\program files\web\apache2
Apache is in c:\php\
Please help
Installed a MySQL client, worked fine in the console. Could add and delete entries et cetera.....
When I added the (what i though were the correct) libraries for Apache to use, it still said "undefined function: msql().." like it did the first time i tried it.
so I uncommented the line in php.ini for it to work but it then said "Internal Server Error."
On advice of fellow geek, I tried a bundled package but I couldn't get it to run any page at all so I bit the bullet and clean-slated everything. PHP, Apache, MySQL, PHPtriad, phpmyadmin, all gone.
The Challenge:
Fix this:
Code:
Call to undefined function: msql_connect()
New install of Apache and PHP and works fine. From that, what is a good MySQL client to install and how the hell do I get PHP and Apache to run MySQL code?
Currently installed:
Apache: apache_2.0.48-win32-x86-no_ssl.exe
PHP: php-4.3.4-installer.exe
Running on a windows system.
For the sake of argument Apache is installed on c:\program files\web\apache2
Apache is in c:\php\
Please help
Last edited: