Hi All,
I have a PHP site that is running good on Apache server. It is an Intranet application with In/Out board.
Now I have a task to move that site to IIS 7 .
Will you please guide me What steps should I approach so that later on I don't have to make more changes.
Thanks,
Jatin
PHP Site on IIS
Moderator: General Moderators
Re: PHP Site on IIS
How many times on how many forums am I going to have to tell you this?
http://www.php.net/install.windows.iis
If you don't understand or can't figure it out then ask questions, don't just go someplace else for answers.
http://www.php.net/install.windows.iis
If you don't understand or can't figure it out then ask questions, don't just go someplace else for answers.
Re: PHP Site on IIS
I have already installed PHP on IIS7. But I need to know any other changes I have to make.
i.e. installing mySQL or any other.
Because If I am surfing the page is doesn't give the expected output.
Thanks,
Jatin
i.e. installing mySQL or any other.
Because If I am surfing the page is doesn't give the expected output.
Thanks,
Jatin
Re: PHP Site on IIS
What is the code you're trying and what happens when you try to run it? Also look at the HTML source of the page (eg, through your browser's View Source) to see what PHP is actually outputting and not what your browser is interpreting it as.
-
tazz24mania
- Forum Newbie
- Posts: 10
- Joined: Tue Oct 15, 2013 2:53 pm
- Location: Newcastle Upon Tyne
Re: PHP Site on IIS
If you are installing MySQL.... one of the problems I faced and had to learn was that no MySQL connections work correctly until you add the MySQL ODBC connector in also.
-
priyankagound
- Forum Commoner
- Posts: 27
- Joined: Thu Sep 19, 2013 2:53 am
Re: PHP Site on IIS
Try out this one:
If IIS is serving correct output from the site you've setup PHP on, then check the php log file. Most likely, there are some errors occuring due to the php configuration (php.ini), and php is not displaying the errors to the screen. This happens to me a lot when I setup a new install of php under IIS.
Look in your php.ini file to find the location of you're log file. If the log file isn't being written to that directory, make sure the directory is writable by PHP. This will be the user the app pool is configured to use (by default it something like network service, iis_usr, or the like). Make sure that user has fill write permissions on the log file directory.
Hope this helps.
If IIS is serving correct output from the site you've setup PHP on, then check the php log file. Most likely, there are some errors occuring due to the php configuration (php.ini), and php is not displaying the errors to the screen. This happens to me a lot when I setup a new install of php under IIS.
Look in your php.ini file to find the location of you're log file. If the log file isn't being written to that directory, make sure the directory is writable by PHP. This will be the user the app pool is configured to use (by default it something like network service, iis_usr, or the like). Make sure that user has fill write permissions on the log file directory.
Hope this helps.