wooki97
08-12-2002, 03:57 AM
Apache 1.3.22
php 4.2.2
Windows 98
All I want is to get php and apache to work as a module.
My installation steps:
1) Placed php4ts.dll and php4apache.dll in the sapi folder. (Q: are they invisible files coz they don't show although they exist in the folder?)
2)I paste this in my conf file:
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php4 .php .htm .php3
AddType application/x-httpd-php-source .phps
3) I change the php.ini-dist to php.ini and dropped it in windows/system folder.
The results:
I get the download box when i open phpinfo.php.
"You have started to download a file of type application/x-httpd-php"
When I call the php file from a form submit this appears:
Method Not Allowed
The requested method POST is not allowed for the URL /lessons/p-10-1.php. Apache/1.3.22 Server at pop3.norton.antivirus Port 80
Can someone help me, I have been trying to get this running for the past week but to no avail. I must be doing something wrong.
php 4.2.2
Windows 98
All I want is to get php and apache to work as a module.
My installation steps:
1) Placed php4ts.dll and php4apache.dll in the sapi folder. (Q: are they invisible files coz they don't show although they exist in the folder?)
2)I paste this in my conf file:
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php4 .php .htm .php3
AddType application/x-httpd-php-source .phps
3) I change the php.ini-dist to php.ini and dropped it in windows/system folder.
The results:
I get the download box when i open phpinfo.php.
"You have started to download a file of type application/x-httpd-php"
When I call the php file from a form submit this appears:
Method Not Allowed
The requested method POST is not allowed for the URL /lessons/p-10-1.php. Apache/1.3.22 Server at pop3.norton.antivirus Port 80
Can someone help me, I have been trying to get this running for the past week but to no avail. I must be doing something wrong.