Ethelbert2
09-02-2006, 07:09 AM
I have set up and run php on past computers using phpmyadmin.
Trying to install again on a new machine.
I have set up Apache 1.3.27, MYsql 5.0.21 and PHP5.1.5 as an apache module on my WinXPSP2 machine. I have the ZoneAlarm free version running as a firewall (before I had Kerio).
Apache works, MySQL works via the MySQL GUI tools and PHP delivers a page of info when I call a phpinfo() file in the browser.Firefox.
But it does not seem to find the extensions - I have tried to set up PHPMyAdmin which keeps telling me that it cannot load the mysql extension and that I need to check the php.ini. MYSQL is not shown on the phpinfo page either as itself or under "additional modules".
I edited the "recommended" ini file as suggested on the php manual to enable the MySQL module and to include the extensions path with
extension_dir = c:\php\ext
Renamed it ini of course. The ini is in the c:\php file
I thought the php.ini file was OK and should direct it to the extension files. I have uncommented the requisite bits (the mysql extensions eg) and
I edited the windows PATH variable to include C:\php
ON the php info panel which phpinfo() calls the configuration path is given as C:\Windows
Two questions - what have I missed in getting the extension recognised?
And should it be the MySQL or MySQLi extension that I use anyway? Or both
Thank you
Trying to install again on a new machine.
I have set up Apache 1.3.27, MYsql 5.0.21 and PHP5.1.5 as an apache module on my WinXPSP2 machine. I have the ZoneAlarm free version running as a firewall (before I had Kerio).
Apache works, MySQL works via the MySQL GUI tools and PHP delivers a page of info when I call a phpinfo() file in the browser.Firefox.
But it does not seem to find the extensions - I have tried to set up PHPMyAdmin which keeps telling me that it cannot load the mysql extension and that I need to check the php.ini. MYSQL is not shown on the phpinfo page either as itself or under "additional modules".
I edited the "recommended" ini file as suggested on the php manual to enable the MySQL module and to include the extensions path with
extension_dir = c:\php\ext
Renamed it ini of course. The ini is in the c:\php file
I thought the php.ini file was OK and should direct it to the extension files. I have uncommented the requisite bits (the mysql extensions eg) and
I edited the windows PATH variable to include C:\php
ON the php info panel which phpinfo() calls the configuration path is given as C:\Windows
Two questions - what have I missed in getting the extension recognised?
And should it be the MySQL or MySQLi extension that I use anyway? Or both
Thank you