Page 1 of 1

PHP Installation Problem [RESOLVED]

Posted: Thu Oct 11, 2007 3:14 am
by usamaalam
Hello everybody,

I am trying to install php on Windows 2003 server. I tried version 4.2.2 that was working fine on my local windows 2000 machine, I tried 5.2.4 with CGI and ISAPI both but when I run the page from the browser, it says 'File or directory not found', other files in the same virtual directory work well.

Can anybody tell me what I am doing wrong with the installation?

Thanks.

Posted: Thu Oct 11, 2007 7:41 pm
by jeffery
Most likely you have missed some step or not followed the instructions properly. Try to re-do the steps mentioned in the INSTALL file and see if it helps. See if there is more than one php.ini file in your system. Make sure the folders you are serving through IIS has got the permission for the IUSR_MACHINENAME

Posted: Fri Oct 12, 2007 2:25 am
by usamaalam
I installed with the windows installer. I'll check for php.ini and folder permissions.

Thanks.

Posted: Fri Oct 12, 2007 3:06 am
by usamaalam
I checked there were multiple php.ini files on the system. I deleted all and left only the one that was in the PHP folder. I set the permissions on the folder but still it didn't work. I copied the php.ini file in windows folder and checked but still no luck.

It works well with command line.

Thanks.

Posted: Fri Oct 12, 2007 4:52 am
by jeffery
usamaalam wrote: I copied the php.ini file in windows folder and checked but still no luck.
moveit instead.

Posted: Fri Oct 12, 2007 5:19 am
by usamaalam
It works now.

Thanks a lot.