Dear, I am sorry for asking too much... but will it be OK with you if I send you the original httpd.conf file and my director structure and you prepare the file to run PHP4? Please... Thanks in advance... Hamad -----Original Message----- From: Josh Stephenson [mailto:josh@xxxxxxxxxxxxxx] Sent: Sunday, June 11, 2006 7:19 PM To: users@xxxxxxxxxxxxxxxx Subject: Re: [users@httpd] Apache 2.2 not working with PHP4 Did you copy the file there, or was it there already? If you copied it, then make sure you restarted apache (from the taskbar icon). If it was there already, try removing it and recopying it from the source directory (and double check the filename to make sure it's what your httpd.conf is looking for). Hamad S. Al-Jalaq wrote: > But the file is already there... > > What could be the problem? > > Thanks, > > Hamad > > -----Original Message----- > From: Josh Stephenson [mailto:josh@xxxxxxxxxxxxxx] > Sent: Sunday, June 11, 2006 6:58 PM > To: users@xxxxxxxxxxxxxxxx > Subject: Re: [users@httpd] Apache 2.2 not working with PHP4 > > You have to copy the php4apache2.dll file from the php source directory > into C:/PHP/sapi > > Hamad S. Al-Jalaq wrote: > >> And when I run test configuration, it shows this message: >> >> httpd.exe: Syntax error on line 115 of C:/Program Files/Apache >> > Software > >> Foundation/Apache2.2/conf/httpd.conf: Cannot load >> C:/PHP/sapi/php4apache2.dll into server: The specified module could >> > not > >> be found. >> >> Please advice... >> >> Thanks, >> >> Hamad >> -----Original Message----- >> From: Hamad S. Al-Jalaq [mailto:hamad.jalaq@xxxxxxxxxx] >> Sent: Sunday, June 11, 2006 6:41 PM >> To: users@xxxxxxxxxxxxxxxx >> Subject: RE: [users@httpd] Apache 2.2 not working with PHP4 >> >> I am not professional in apache and PHP, but I've done as per the >> installation steps... I am installing it on windows 2003... please >> > could > >> you check the attached file? >> >> Thanks, >> >> Hamad >> >> -----Original Message----- >> From: Josh Stephenson [mailto:josh@xxxxxxxxxxxxxx] >> Sent: Sunday, June 11, 2006 6:23 PM >> To: users@xxxxxxxxxxxxxxxx >> Subject: Re: [users@httpd] Apache 2.2 not working with PHP4 >> >> You need to edit your httpd.conf file to handle php files >> >> add these lines and you should be good: >> >> LoadModule php4_module libexec/apache2/libphp4.so >> AddType application/x-httpd-php .php >> AddType application/x-httpd-php-source .phps >> >> >> The first line might already be in there, but the second one not being >> > > >> there is definitely the reason apache is sending the php file to your >> browser for download. >> >> Don't forget to restart apache: >> apachectl graceful >> >> >> Hamad S. Al-Jalaq wrote: >> >> >>> I've installed apache version 2.x with PHP4.3.0... configured at as >>> > an > >>> >>> >> >> >>> apache module... but when try to visit the index.php file the browser >>> > > >>> asks me if I want to download the file... it suppose to browse the >>> >>> >> file >> >> >>> not download it... please advice... >>> >>> Thanks, >>> >>> Hamad >>> >>> >>> >> --------------------------------------------------------------------- >> The official User-To-User support forum of the Apache HTTP Server >> Project. >> See <URL:http://httpd.apache.org/userslist.html> for more info. >> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx >> " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx >> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx >> >> >> >> >> >> >> --------------------------------------------------------------------- >> The official User-To-User support forum of the Apache HTTP Server >> > Project. > >> See <URL:http://httpd.apache.org/userslist.html> for more info. >> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx >> " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx >> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx >> >> >> >> >> > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server > Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx