The installed can't install PHP for Apache, unless that has changed last 10
versions or so...I use the zip anyway and unzip it to C:/PHP (so that
php.exe is located at C:/PHP/php.exe), then I add following to my
httpd.conf:

LoadFile C:/PHP/php4ts.dll
Loadmodule php4_module c:\php\sapi\php4apache.dll
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

This works for me (php4ts.dll is ONLY placed in that folder afaik).. That
works fine for me, but not at all for some others... I've used that since
1.3.27 and or 4.2.3 I think... LoadFile line is just there cause I'm too
lazy to copy that dll to the windows folder everytime I update php...

-- 
// DvDmanDT
MSN: [EMAIL PROTECTED]
Mail: [EMAIL PROTECTED]
"Rick Vlaming" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
Hello,

Yesterday I installed apache 1.3.28 and php 4.3.2 (via windows installer).
When I start apache (There is only a manual start-option via  "Start apache
in console") a dos-box opens with a warning: [warn] (2)No such file or
directory: exec() may not be safe.
The next message says: Apache/1.3.28 (win32) running...

When I go to http://localhost/ I get the apache page which displays that
everything works. But when I call the script: http://localhost/phpinfo.php
the source is displayed in stead of being executed.
The script is as follows:
<?php
    phpinfo();
?>

>From an article in a magazine I understood there should be a php4apache.dll
within the directory php is installed to. However this dll is missing.
I'm using Norton Internet Security firewall but also stopping the firewall
doesn't fix the problem.

Hopefully you can help me,
Kind regards,
Rick Vlaming
The Netherlands.


Reply via email to