473,756 Members | 5,955 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_redir ect = 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 1380
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.n l...
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
10586
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. I've got my php.ini all set in C:\Windows. I created an index.php containing: <?php phpinfo(); ?> When I try to view the page, I get "HTTP 400 - Bad Request".
12
3623
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 <<<<<<<<<<<<<<< Instead of saying 3.23.57, shouldn't it show 5.xx.xx? Or, did I do something wrong?
1
2188
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 loadable extensions (modules) reside. extension_dir = "./" ..... ;extension=php_msql.dll
5
2320
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 are stability and security. What are the pros/cons/issues for PHP4/PHP5 with apache (either 1.3 or 2)? TIA,
4
2759
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 with: LoadModule php5_module "c:/Php5/php5apache2.dll" .... and restarted apache (Apache/2.0.55 (Win32) mod_ssl/2.0.55 OpenSSL/0.9.8a) Php5 works fine, but when I execute phpinfo, the registered streams are:
0
1153
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 back and install all the needed modules and extensions via portinstall post core installation...this is something i would have taken care of in the ./configure file on any other install... i am fairly new and pretty much ignorant to the whole...
5
1968
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 archive. I have unpacked it to D:\PHP directory. I have created a "path" entry targeting this directory in system variables and rebooted the system. I have modified php.ini appropriately using 'php.ini-recommended' as a starting point. I have changed...
3
3301
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, only that in old version, I can use $row to access the data in database directly, no need to put double quote around fieldname. BUT in PHP5, this is wrong, I got error message "undefined constant". I know this is because PHP5 see the fieldname...
12
2591
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 Windows XP Pro) I've moved on to Windows Vista (Home Premium). MySQL and Apache2 have both installed satisfactorily, but I'm having problems with PHP5. I downloaded the PHP5 Windows installer (the .msi file) for 32-bit Windows, which is supposed...
0
9456
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9275
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10040
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9873
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9713
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8713
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6534
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5304
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2666
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.