Hi,
I sure hope someone here can help me. I spent the entire day yesterday and most of the evening setting up a webserver on my Windows 2000 Pro system.
I've got PHP 5.04, MySQL 4.1.12, ActivePerl 5.8.6, Java Runtime Environment, Tomcat 5.5.9, ZendOptimizer 2.5.10, MyODBC 3.5.11 and phpMyAdmin 2.6.2 all installed.
From what I can tell, all is working well except PHP and phpMyAdmin.
I added PHP to my path like this:
C:\Perl\bin\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\php;C:\Apache2\bin;C:\mysql\bin;C:\php\dlls;C:\Program Files\Common Files\Ulead Systems\MPEG;"C:\Program Files\Zone Labs\ZoneAlarm\MailFrontier"
I've got a copy of php.ini in both c:/Apache2/, c:/php and c://winnt directories. I've also made the PHRPC entry in my enviromental values as well as listing PHPIniDir "C:/winnt/" and adding my PHPIniDir to my registry.
I've listed my user directory as C:/Apache2/htdocs and I've placed phpmyadmin in htdocs.
But when I try to view a php page I get an error or page cannot be displayed. On a couple of occassions I viewed the raw php data in my browser.
Also, when I try to add a php extension using "LoadModule" in my httd.conf file I get an error loading Apache telling me that "the file cannot be found" (but I've verified it exists - like php5apache.dll and php5ts.dll).
Can someone please help me figure out where I'm screwing up at?
Thanks in advance!
OH ... some more info that might help: when I go to I get the following info:
cannot load mysqli extension;
please check PHP configuration
Documentation
And the documentation says:
[1.20] I receive the error "cannot load MySQL extension, please check PHP Configuration". To connect to a MySQL server, PHP needs a set of MySQL functions called "MySQL extension". This extension may be part of the PHP distribution (compiled-in), otherwise it needs to be loaded dynamically. Its name is probably mysql.so or php_mysql.dll. phpMyAdmin tried to load the extension but failed.
Usually, the problem is solved by installing a software package called "PHP-MySQL" or something similar.
I have tried using both mysql and mysqli in config.inc.php (phpmyadmin config file) and either way I get the same error message. And in php.ini I have enabled the following extensions:
extension=php_mysql.dll
extension=php_mysqli.dll
I have the NTFS file system but have granted "Full Control" and appropriate read and write permissions (I believe).
On another note ..... prior to installing all this individually, I had EasyPHP up and running fine (a self-contained Apache server) .... and I've compared my httpd.conf file and php.ini file from the old server to what I'm doing now and there are no significant differences.
When I click on the Apache Icon in my sytem tray and click to "Open Apache Monitor" ... in the bottom right of the screen it says:
"Apache/2.0.54 (Win32) PHP/5.04"
So .... I'm assuming that means that Apache KNOWS that PHP is there .... so why isn't it sending php files through to be parsed?
MySQL is working ... Apache TomCat is working ... the only issue is that Apache's not utilizing php for php files.
Can someone help me figure out what's going wrong here?
Thanks!
Darla
Since 2001
I sure hope someone here can help me. I spent the entire day yesterday and most of the evening setting up a webserver on my Windows 2000 Pro system.
I've got PHP 5.04, MySQL 4.1.12, ActivePerl 5.8.6, Java Runtime Environment, Tomcat 5.5.9, ZendOptimizer 2.5.10, MyODBC 3.5.11 and phpMyAdmin 2.6.2 all installed.
From what I can tell, all is working well except PHP and phpMyAdmin.
I added PHP to my path like this:
C:\Perl\bin\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\php;C:\Apache2\bin;C:\mysql\bin;C:\php\dlls;C:\Program Files\Common Files\Ulead Systems\MPEG;"C:\Program Files\Zone Labs\ZoneAlarm\MailFrontier"
I've got a copy of php.ini in both c:/Apache2/, c:/php and c://winnt directories. I've also made the PHRPC entry in my enviromental values as well as listing PHPIniDir "C:/winnt/" and adding my PHPIniDir to my registry.
I've listed my user directory as C:/Apache2/htdocs and I've placed phpmyadmin in htdocs.
But when I try to view a php page I get an error or page cannot be displayed. On a couple of occassions I viewed the raw php data in my browser.
Also, when I try to add a php extension using "LoadModule" in my httd.conf file I get an error loading Apache telling me that "the file cannot be found" (but I've verified it exists - like php5apache.dll and php5ts.dll).
Can someone please help me figure out where I'm screwing up at?
Thanks in advance!
OH ... some more info that might help: when I go to I get the following info:
cannot load mysqli extension;
please check PHP configuration
Documentation
And the documentation says:
[1.20] I receive the error "cannot load MySQL extension, please check PHP Configuration". To connect to a MySQL server, PHP needs a set of MySQL functions called "MySQL extension". This extension may be part of the PHP distribution (compiled-in), otherwise it needs to be loaded dynamically. Its name is probably mysql.so or php_mysql.dll. phpMyAdmin tried to load the extension but failed.
Usually, the problem is solved by installing a software package called "PHP-MySQL" or something similar.
I have tried using both mysql and mysqli in config.inc.php (phpmyadmin config file) and either way I get the same error message. And in php.ini I have enabled the following extensions:
extension=php_mysql.dll
extension=php_mysqli.dll
I have the NTFS file system but have granted "Full Control" and appropriate read and write permissions (I believe).
On another note ..... prior to installing all this individually, I had EasyPHP up and running fine (a self-contained Apache server) .... and I've compared my httpd.conf file and php.ini file from the old server to what I'm doing now and there are no significant differences.
When I click on the Apache Icon in my sytem tray and click to "Open Apache Monitor" ... in the bottom right of the screen it says:
"Apache/2.0.54 (Win32) PHP/5.04"
So .... I'm assuming that means that Apache KNOWS that PHP is there .... so why isn't it sending php files through to be parsed?
MySQL is working ... Apache TomCat is working ... the only issue is that Apache's not utilizing php for php files.
Can someone help me figure out what's going wrong here?
Thanks!
Darla
Since 2001