You are here: Re: installed PHP and now Apache won't start « PHP Programming Language « IT news, forums, messages
Re: installed PHP and now Apache won't start

Posted by Lone Clapper on 10/20/06 00:58

davids58@gmail.com wrote in
news:1161296562.453881.85630@k70g2000cwa.googlegroups.com:

> I hadn't seen any instrcution re php_mysql.dll. Copied it as you
> suggested and now it works!!

The PHP instructions are poorly written.

Basically, what the instructions say is that to use an extension you must
put the DLL file in a directory where PHP can find it. Then it offers
suggestions like the Windows system folder (\Windows or \Windows
\System32) or in the Apache\bin folder.

Glad you got it working.



>
> Thanks so much!
>
> Lone Clapper wrote:
>> davids58@gmail.com wrote in
>> news:1161232903.791883.156520@m73g2000cwd.googlegroups.com:
>>
>> > Still getting an error. Told that it can't find php5apache2.dll
>> > specified in httpd.conf as follows (PHP stored in c:\php\):
>> >
>> > LoadModule php5_module "c:/php/php5apache2.dll"
>> > AddType application/x-httpd-php .php
>> > PHPIniDir "C:/php/"
>> > AddType application/x-httpd-php-source .phps
>> >
>> > Yet I've confirmed it's there (along with the new
>> > php5apache2_2.dll).
>> >
>> > Also, I should move php5ts.dll from windows/system32, right?
>> >
>> > Thanks for your help!
>> > David
>>
>> You need php5apache2_2.dll. php5apache2.dll is irrelevant as it will
>> not work.
>>
>> Did you make sure that php5ts.dll and php_mysql.dll files were copied
>> to Apache2.2/bin directory?
>>
>> Also, if you have firewall software, make sure that the programs
>> aren't blocked.
>>
>> That's all I can think of...that's how I got it to work.
>>
>> Otherwise you'll have to downgrade to a lower Apache version.
>>
>>
>> >
>> >
>> >> Go to http://snaps.php.net and download the latest PHP development
>> >> snapshot. It is stable (or so they say), but isn't the normal
>> >> download. Inside is a different version of the PHP dll needed to
>> >> link PHP to Apache. It is now php5apache2_2.dll.
>> >>
>> >> 1) Make sure php5ts.dll is in the Apache\bin folder
>> >> 2) You MAY (or may not--I did) need to add the following line to
>> >> Apache's httpd.config file: Win32DisableAcceptEx (Apache runs at
>> >> 100% CPU without it on my system).
>> >> 3) Make sure you set up your php.ini file per PHP's install.txt
>> >> instructions
>> >> 4) Add the following lines to httpd.config (per PHP install.txt
>> >> instructions):
>> >>
>> >> LoadModule php5_module "C:/directoryPHPIsIn/php5apache2_2.dll"
>> >> AddType application/x-httpd-php .php
>> >> PHPIniDir "C:/directoryPHPIsIn/"
>> >> AddType application/x-httpd-php-source .phps
>> >>
>> >> That SHOULD get it to work. If not, let me know.
>> >
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация