You are here: PHP 5 Doesn't Work « All PHP « IT news, forums, messages
PHP 5 Doesn't Work

Posted by Fred Atkinson on 06/14/05 02:59

I'm running Apache 1.3 on my server. I've run the installer
file for PHP 5.0.4.

I paste the following code into the httpd.conf file:

# Add to the end of the LoadModule section
LoadModule php5_module "C:/php/php5apache.dll"

# Add to the end of the AddModule section
AddModule mod_php5.c

# Add this line inside the <IfModule mod_mime.c> conditional brace
AddType application/x-httpd-php .php

# For syntax highlighted .phps files, also add
AddType application/x-httpd-php-source .phps

Then, I go to the DOS prompt and type 'net stop apache'.
After it stops, I type 'net start apache'. I keep getting an error
message saying that Apache did not start.

The weird thing is tha there is no php5apache.dll file in the
C:\PHP subdirectory. There *is* a php5ts.dll file there. I tried
chaning that line to reflect the php5ts.dll, but that didn't work.

Any suggestions?


Fred

 

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

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