Thank for your reply Aleem,

Well it didn't worked I am still getting the same error.


I am getting this error I have removed all files then reinstalled the
setup.

Fatal error: Failed opening required 'mainfile.php'
(include_path='c:\php4\pear') in 


This folder was previously exits but now I have removed all files then
reinstalled it again 
I am running my site on IIS 5.

Please help me out 


Faisal 



-----Original Message-----
From: Aleem [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, April 02, 2002 2:53 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Removing PHP


Faisal, what kind of problems ?
I just resolved a whole bunch of problems I have having after I upgraded
to 4.1.2

here's a quick check list:

add these to your apache file (or check the docs on the php site for
other servers): # CGI INSTALL
        ScriptAlias /php/ "c:/php/"
        AddType application/x-httpd-php .php
        Action application/x-httpd-php "/php/php.exe"

and these lines in php.ini under c:\<windows folder>\php.ini

register_globals = On
include_path = ".;c:\php\pear"
doc_root =


if these don't help, you can simply remove the php directory and remove
the php.ini file from your windows folder. Also delete php4ts.dll from
the SYSTEM or SYSTEM32 folder. If you copied some other DLLs in your
SYSTEM/SYSTEM32 folder don't worry about those... just copy the dlls
from your new php\dlls install into the SYSTEM/SYSTEM32 folder.

- aleem











> -----Original Message-----
> From: Faisal Ashraf [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 01, 2002 10:15 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Removing PHP
> 
> 
> Hi People,
>  
> I am kinda new here but I hope this place is good for getting
> help regarding php. my problem is that my system was running 
> perfect I had installed php on winxp was working fine then I 
> upgrade it to the new version and it got messed up my phpnuke 
> web giving me problems not working.
>  
> I wanna know how to completely remove php so I can reinstall
> it again I hope I'll get the reply soon thank you and one 
> more thing is there any installer available which installs 
> full package of php on windowz like ActivePerl.
>  
> Thank you
>  
> Regards,
>  
> Faisal
> 




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to