Re: [PHP-INSTALL] PHP install with Apache
[email protected] (Hendrik Schmieder)
| Newsgroups | php.install |
|---|---|
| Message-ID | <[email protected]> |
Hotmail schrieb: moved top posting to bottom ! > -------------------------------------------------- > From: "Hendrik Schmieder"<[email protected]> > Sent: Wednesday, December 09, 2009 6:27 PM > To: "Roy Lam"<[email protected]> > 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