|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Apache does not recognize PHP
I installed Apache. I added the following 2 lines at the end of httpd.conf
LoadModule php4_module php4apache2.dll AddType application/x-httpd-php .php I copied the following files into C:\Apache Group\Apache2\ : C:\php\php4ts.dll C:\php\sapi\php4apache2.dll C:\php\php.ini-recommended However when I test the configuration I got the following error: Syntax error on line xxx of c:/Apache Group/...../httpd.conf Cannot load c:/Apach Group/Apache2/php4apache2.dll into server: The specified module could not be found. Any clue what went wrong |
|
#2
|
||||
|
||||
|
Is that a typo in your post or a typo in your config? It says "Apach Group" instead of "Apache Group."
|
|
#3
|
|||
|
|||
|
Yes it is a typo error.
It is not easy to install PHP as a module. I solved the problem by following the article of Shahid Hussain at: URL Thanks |
|
#4
|
|||
|
|||
|
i m in same problem as u were few years ago. pls help
hi! bro i m facing same prob while configuring php-4.4.2-Win32 with apache2.2. can u please help me waiting for ur mesaage.
thx pankaj Quote:
|
|
#6
|
|||
|
|||
|
yes the clue is you need to leave php4apache2.dll in the php folder on your machine. it doesn't need to be in the apache folder.
__________________
Apache Expert |
|
#7
|
|||
|
|||
|
I followed the steps on this site and it works very fine for me. No problems with PHP and Apcahe
php-apacheDOTblogspotDOTcom replace DOT by . |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Server Configuration > Apache does not recognize PHP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|