Hi folks.
I'm installing PHP 5 with Apache 2 as a module (also with MySQL embedded in
php as an extension along with gd and tiny) on a Win2003 server. When I
start Apache2 as a service without the php.ini in the C:\WINDOWS directory,
Apache starts. PHP also functions (my test.php file (<? phpinfo(); ?>)
produces the expected output), however, none of the three embedded modules
is active (which is to be expected). When I add the php.ini file to the
WINDOWS directory, however, Apache2 just hangs and won't start. Any ideas?
Here are what I believe to be the pertinent parts of the php.ini file and I
think there are no problems with the httpd config for Apache2 since it will
start (without the php.ini file in the WINDOWS directory) and PHP is
functional with its defaults.
Regards,
Bill
doc_root = "c:\Program Files\Apache Group\Apache\htdocs"
extension_dir = "C:\PHP\ext"
extension=php_gd2.dll
extension=php_mysql.dll
extension=php_tidy.dll
MySQL has passed its tests but I've tried commenting it out in the PHP
config file and making sure that it isn't running and that has no effect.
Versions are:
apache_2.0.50-win32-x86-no_ssl.msi
mysql-4.0.21-win
php-5.0.1-Win32.zip
PHP is installed as an apache module