Problem with Web server...
| From: | Robert Bisom | Date: | Sat, 18 May 2002 20:38:18 +0000 |
| Subject: | Problem with Web server... | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-7029@lists.php.net to get a copy of this message | ||
hi,
I have a problem with PHP. The Web server Apache is don't run with
PHP support. I have : Apache Web server 2.0.36, PHP 4.2.1, Win 2k. I
install that:
- extract win32 binary archive to c:
- rename c:\php-4.2.1-Win32
to c:\php
- move c:\php\php4ts.dll to c:\winnt\system32
- copy c:\php\php.ini-dist to c:\winnt\php.ini
- change this directive:
- extension_dir = C:/php/extensions
- session.save_path = C:/php/session (folder exists)
- session.use_trans_sid = 0
I have open httpd.conf configuration file, and write to:
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php .phtml .php4 .php3
Server is don't run from this time and write:
Syntax error on line 960 of C:/Program Files/Apache
Group/Apache2/conf/httpd.conf:
Cannot load C:/php/sapi/php4apache.dll into server: modul has not
search.
I don't know english, I'm from Czech Republic, Sorry :(
-- Robert Bisom, robert.bisom@volny.cz on 05.18.2002