Hi Nenad, Wednesday, November 13, 2002, 11:38:59 AM, I've got:
ND> I use apache server on Win 2k machine too. ND> PHP is installed in folder `c:/www/php/` ND> In apache httpd.conf I add lines: ND> ScriptAlias /php/ "C:/www/php/" ND> AddType application/x-httpd-php .php .php3 .phtml ND> Action application/x-httpd-php "/php/php.exe" ND> Tuesday, November 12, 2002, 3:35:38 PM, you wrote: M>> Hey M>> Iam setting up PHP on my apache server on a windows 2000 machine. ive M>> followed all the instructions and no luck. ive copyed the dlls folder and M>> the php4ts.dll to my c:/WINNT/System32 folder and ive copyed php.ini to M>> c:/winnt. ive added these lines to my apache M>> LoadModule mod_php4 c:/php/sapi/php4apache.dll M>> Addtype application/x-httpd-php .php M>> and ive tried to add M>> addmodule mod_php4 M>> and i get the same error message each time i start with or withou the M>> addmodule M>> santax error on line 153 of c:/program files/apache/apache M>> group/conf/httpd.conf : M>> cant locate API module structure 'mod_php4.c' in M>> c:/php/sapi/php4apache.dll:(127) the specified procedure could not be found M>> : M>> anybody help ??? It seems to me, that Matt tries to install PHP as Apache sapi module. And You installs it as external cgi. Sapi installation is better than cgi, to find out why read Your_Php_folder/install.txt To install as sapi you need: I've copied php4apache.dll and php4ts.dll to ApacheRoot/modules folder. LoadModule php4_module modules/php4apache.dll AddType application/x-httpd-php .php .php3 .phtml ! Without AddModule command. On my System Win2K & Apache 1.3.27 & PHP 4.2.3 it works perfect! Good Luck. -- The Same, Steel mailto:asergey@;inbox.ru http://www.none.ru -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php