PHP - Apache on Windows 98

Forum for you who has PHP installation issues

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 2
Joined: Thu Nov 06, 2003 10:43 pm
Location: Philippines

PHP - Apache on Windows 98

Postby ngfrancisco » Thu Nov 06, 2003 11:09 pm

Hi! Good Day!

I installed the apache and php on Window 98, unfortunately upon starting the apache service a warning error occurred something like "filename or folder cannot be found 'exe()'". But I was able to load the index.htm of the apache successfully, unfortunately the php file that I created was not loaded successfully instead it displayed the code itself.


I hope you guys could help me with this.

Thanks a lot! :lol:

php-forum Active User
php-forum Active User
Posts: 364
Joined: Mon Jul 14, 2003 9:39 pm
Location: /Earth/Xion

Postby sigix » Fri Nov 07, 2003 1:15 am

your apache is not parsing the php scripts
do this
-go to conf folder of apache
-open the httpd.conf file and look for addtype tag
if found ok and if not found it's also ok
write these lines

AddType application/x-httpd-php .php .php3
ScriptAlias /php/ "c:/apache/php/"
Action application/x-httpd-php "/php/php.exe"

in quotes is the path to your php

now restart the apache and test it by parsing php script


User avatar
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

Postby WiZARD » Tue Nov 25, 2003 9:45 am

and don't forget copy all from php\dll and php\php4ts.dll to Windows directory.

Return to “PHP Installation”

Who is online

Users browsing this forum: Bing [Bot] and 3 guests