PHP Installation Problem [RESOLVED]

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
usamaalam
Forum Newbie
Posts: 6
Joined: Thu Oct 11, 2007 3:05 am

PHP Installation Problem [RESOLVED]

Post 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.
Last edited by usamaalam on Fri Oct 12, 2007 5:19 am, edited 1 time in total.
jeffery
Forum Contributor
Posts: 105
Joined: Mon Apr 03, 2006 3:13 am
Location: Melbourne, Australia
Contact:

Post 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
usamaalam
Forum Newbie
Posts: 6
Joined: Thu Oct 11, 2007 3:05 am

Post by usamaalam »

I installed with the windows installer. I'll check for php.ini and folder permissions.

Thanks.
usamaalam
Forum Newbie
Posts: 6
Joined: Thu Oct 11, 2007 3:05 am

Post 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.
jeffery
Forum Contributor
Posts: 105
Joined: Mon Apr 03, 2006 3:13 am
Location: Melbourne, Australia
Contact:

Post by jeffery »

usamaalam wrote: I copied the php.ini file in windows folder and checked but still no luck.
moveit instead.
usamaalam
Forum Newbie
Posts: 6
Joined: Thu Oct 11, 2007 3:05 am

Post by usamaalam »

It works now.

Thanks a lot.
Post Reply