Re: PHP install with Apache

From: Date: Wed, 09 Dec 2009 10:44:22 +0000
Subject: Re: PHP install with Apache
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-19805@lists.php.net to get a copy of this message
Hotmail schrieb: moved top posting to bottom !
-------------------------------------------------- From: "Hendrik Schmieder"<hendrik.schmieder@jedox.com> Sent: Wednesday, December 09, 2009 6:27 PM To: "Roy Lam"<roylam_c_h@hotmail.com> Subject: Re: [PHP-INSTALL] PHP install with Apache
Roy Lam schrieb:
I have a problem on installing PHP 5.3.1 with Apache Server 2.2.14. When I adding the command "PHPIniDir" into httpd.conf, I cannot start the Apache Server anymore. By my observation, It should have some problems when i add an extension into the PHP module. I would like to ask how can i fixed it? #httpd.conf #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL PHPIniDir "C:/Program Files/PHP/" LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll" #LoadFile "C:/Program Files/PHP/ext/php_mysql.dll" #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
LoadModule php5_module ... must precede PHPIniDir Hendrik
It still have the same problem. I tried whole day with different edition. When i use installer to install php without any extension, it can work. However, if there is a [php_mysql] extension=php_mysql.dll the apache cannot start the server. It can work if i didn't type in "PHPIniDir ...." by the way, I also cannot start the 'php.exe -v" when i typed it into cmd.exe
the mysql support libraries can not be found. you can use dependency walker to see what they are. Hendrik

« previous php.install (#19805) next »