473,386 Members | 1,647 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

php5 installation

Hello everyone,

I have been trying for the past couple of days to get php5 installation on
either my laptop or my test server. I'm not having much luck with either.
I would like to get my test server running first (windows 2003 sp1), so I
will discuss what I've done there.

Downloaded the the latest version of php5
Extracted the files into a folder on the server c:\php5
Edited and saved the php.ini file to set cgi.force_redirect = 0
Copied the php.ini file to c:\windows
Added c:\php5 to environment path and restarted machine.
Added web extension for php under IIS
Added php to application extension under the home directory tab in IIS and
restarted machine.
Create phpinfo.php page in the inetpub directory under wwwroot.

That be said now when I bring up the phpinfo.php page, I don't get anything
but a white page. When I view my source code, I see the <? phpinfo(); ?>.
Not sure why I can't get this to work.

Any help would be greatly appreciated.

Thanks

A
Jul 3 '06 #1
2 1361
Auddog schreef:
That be said now when I bring up the phpinfo.php page, I don't get anything
but a white page. When I view my source code, I see the <? phpinfo(); ?>.
Not sure why I can't get this to work.
Hi,

If it's a Windows 2003 server, it means you're running IIS 6. In IIS 6
you have to specifically allow the php extension to be run.
I don't have an IIS 6 machine at hand here, but the setting is located
somewhere at "Web Server Extensions".

P.S. If it's only for testing purposes WAMP-server might be a nice
option too. It's a simple installation package of Apache2, MySQL and
PHP5. See: http://www.wampserver.com

HTH.
Ruben.

--
http://www.phpforums.nl
Jul 3 '06 #2
It wasn't anything I thought it was. In my phpinfo file, I forgot the php
after the <?

Thanks for all the help.

A
"Peter van Schie" <va************@gmail.comwrote in message
news:44***********************@news.wanadoo.nl...
Auddog schreef:
>That be said now when I bring up the phpinfo.php page, I don't get
anything but a white page. When I view my source code, I see the <?
phpinfo(); ?>. Not sure why I can't get this to work.

Hi,

If it's a Windows 2003 server, it means you're running IIS 6. In IIS 6 you
have to specifically allow the php extension to be run.
I don't have an IIS 6 machine at hand here, but the setting is located
somewhere at "Web Server Extensions".

P.S. If it's only for testing purposes WAMP-server might be a nice option
too. It's a simple installation package of Apache2, MySQL and PHP5. See:
http://www.wampserver.com

HTH.
Ruben.

--
http://www.phpforums.nl

Jul 5 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: neur0maniak | last post by:
Hi, I've been eager to try out PHP5, so I've dumped it on my little dev machine. It's running WinXP with IIS5. I've put the php-cgi.exe in the "mappings" page as I'm used to doing with PHP4....
12
by: Sarah Tanembaum | last post by:
Though I installed MySQL5 and PHP5, how come my phpinfo() shows as follow: MySQL Support enabled Active Persistent Links 0 Active Links 0 Client API version 3.23.57 <<<<<<<<<<<<<<< ...
1
by: webguynow | last post by:
I'm hoping someone will give me the latest info here about PHP policy to enable extensions. I've installed PHP5 in C:\PHP Meaningful excerpts: from php.ini ; Directory in which the...
5
by: sinister | last post by:
I'm starting a database/web interface project, using Linux and postgresql. I've programmed in PHP4 in the past, and for this new project am unsure whether to use PHP4 or PHP5. My main concerns...
4
by: Chuck Anderson | last post by:
I am trying to install Php5 on my WindowsXP machine (at home, not on the 'net). I downloaded the Php Windows binary at php.net, unzipped it to c:/Php5, changed my Apache config file to use Php5...
0
by: gp | last post by:
recently had a FreeBSD box set up and Apache22 and php5.1 installed...via ports...I was not involved in the installation and i am new to portinstall which is what was used... i am having to go...
5
by: Ziggi | last post by:
Hi, I have been using PHP4 for a long time on my test personal web server on Windows XP Pro. Yesterday I decided to migrate to PHP5. I downloaded binary installation of PHP 5.2.3 as a zip...
3
by: xhe | last post by:
I have just upgraded my php version form php4 to php5. and I met this problem, and don't know if you know the solution. My site was written in PHP4, and most parts can be running smoothly in PHP5,...
12
by: Alan M Dunsmuir | last post by:
After having worked with Apache/MySQL/PHP for a year or so under Linux I need, purely for convenience, to set up a parallel platform under Windows. Unfortunately, since I last did this (using...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.