473,799 Members | 2,885 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP display/install? problem

I downloaded:

Windows Binaries
PHP 5.0.4 zip package [7,488Kb] - 31 Mar 2005
md5: fff10991a8e6f3b 36ee567eb236ae3 f4

This is the current BETA release of version 5.0 of the MySQL database
server.
apache_2.0.54-win32-x86-no_ssl.exe 16-Apr-2005 15:13 7.8M Installer
Pack

I did a developer install and manually load Apache on localhost:8080

I get the welcoming screen. Also MySql seems functional as I tested the
tutorial using world.sql The setup had no errors.

Then I installed PHP. Also added LoadModule php5_module
"c:/php/php5apache2.dll " to httpd.conf

and updated the AddType entry -- Renamed file to php.ini and moved to
c:\windows copied php5ts.dll to c:\windows\syst em

I wrote the <? phpinfo() ; ?> in notepad and copied it to the

htdocs subdirectory. My instructions state that I'm suppose to be able to
open this in a browser (IE) and view a PHP banner with system information.
I have Apache server started and MySQL loads automatically.

The Problem: All that happens is that a black screen with some white print
flashes by (it looks like what are the correct swithces) dos type file. And
then nothing loads into the browser. I have the file set to be opened with
Apache but I've tried with IE also. If I use the "open as web folder" option
I can see the files that are in C:\Program Files\Apache Group\Apache2\h tdocs

I also tried with simple.php

<?php
print "Hello Web!";
?>

which does not display in the browser but creates the brief opening of that
dos-like file

I suppose this is a simple matter but I've read a lot of posts to no avail.
Thanks for useful ideas.

Regards, Stephen


Jul 17 '05 #1
2 2179
Hello,

I got this problem fixed. I used the msi installer for Apache
instead of the full download, I have Windows XP pro.
I also uninstalled IIs because I wasn't ready to deal with
manual start on port 8080, so I didn't choose developer.
Also added c:\PHP to my Path statement. So this worked
with PHP5.04 ; MySQL 5.0 beta ; and Apache 2.0.54

http://www.devarticles.com/c/a/Apach...ling-PHP-under Windows/

LoadModule php5_module php5apache2.dll
AddType application/x-httpd-php .php

1. Make sure that you have a valid php.ini in your windows directory.
OR (Per the tut the 'php.ini' can be installed in the
'C:\Program Files\Apache Group\Apache2' folder. This works fine.)
2. copy libmysql.dll to the system32 directory
(php_mysql.dll would not load without doing this)
3. set the extension_dir in php.ini to the ext directory of your PHP
installation directory (like e.g. extension_dir=C :\php5\ext)
4. enable the MySQL extension in php.ini by uncommenting the line
extension=php_m ysql.dll
5. Restart Apache Server

I think that installation web tutorial is well written.
Don't forget to restart your apache server and refresh
the browser; getting the syntax right calls for attention.
Another research and help resource:
http://www.dbforums.com/showthread.p...8&page=1&pp=15

Regards,
Stephen
"Stephen Harris" > wrote in message
news:sQ******** **********@news svr14.news.prod igy.com...
I downloaded:

Windows Binaries
PHP 5.0.4 zip package [7,488Kb] - 31 Mar 2005
md5: fff10991a8e6f3b 36ee567eb236ae3 f4

This is the current BETA release of version 5.0 of the MySQL database
server.
apache_2.0.54-win32-x86-no_ssl.exe 16-Apr-2005 15:13 7.8M Installer Wound up using the msi installer download which I think is up to version 2.0
available from Microsoft. Pack

I did a developer install and manually load Apache on localhost:8080

I get the welcoming screen. Also MySql seems functional as I tested the
tutorial using world.sql The setup had no errors.

Then I installed PHP. Also added LoadModule php5_module
"c:/php/php5apache2.dll " to httpd.conf

and updated the AddType entry -- Renamed file to php.ini and moved to
c:\windows copied php5ts.dll to c:\windows\syst em

I wrote the <? phpinfo() ; ?> in notepad and copied it to the

htdocs subdirectory. My instructions state that I'm suppose to be able to
open this in a browser (IE) and view a PHP banner with system information.
I have Apache server started and MySQL loads automatically.

The Problem: All that happens is that a black screen with some white print
flashes by (it looks like what are the correct swithces) dos type file.
And then nothing loads into the browser. I have the file set to be opened
with Apache but I've tried with IE also. If I use the "open as web folder"
option I can see the files that are in C:\Program Files\Apache
Group\Apache2\h tdocs

I also tried with simple.php

<?php
print "Hello Web!";
?>

which does not display in the browser but creates the brief opening of
that dos-like file

I suppose this is a simple matter but I've read a lot of posts to no
avail. Thanks for useful ideas.

Regards, Stephen



Jul 17 '05 #2

"Stephen Harris" <st************ **@sbcglobal.ne t> wrote in message
news:pd******** *********@newss vr21.news.prodi gy.com...
Hello,
http://www.devarticles.com/c/a/Apach...ling-PHP-under Windows/


That last part should read /Installing-PHP-under-Windows/
Jul 17 '05 #3

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

Similar topics

3
1611
by: Scott Anderson | last post by:
I just installed VStudio.Net and although the ASP.Net controls are fine in design view, they do not display on the web page. Obviously something did not get installed/configured correctly, but I have no idea what. Thx.
0
7132
by: Ike | last post by:
I have an Activex Control created in VB6, which, displays no problem on any machine I have, but, on some machines of others, it does not. All machines are running either XP or Windows 2000, and all are running MSIE6.x, woth security settings set to display this control. For the life of me, I cannot figure out how such a simple control can be so sporadic in it;s showing on a page. It always downloads - it just doesn't always show. I'm...
4
8384
by: Kevin Myers | last post by:
Hello, Please forgive my reposting of this note with hopefully a more relevant subject line. On an Access 2000 form under Windows 2000 I would like to use a Kodak Image Edit Control to display the contents of a TIFF image file. According to the very limited documentation that I have been able to locate so far, all I should need to do is to drop the Image Edit Control onto the form in design mode, set the control's Image property to...
0
3553
by: dragan | last post by:
I want to display HTML file as an embedded resource, (read it into MS webBrowser control.) I also have pictures in HTML file. My problem is that I dont want users to be able to copy text in that file or edit it. (already forbiden right or left click on control). When I install my program user can go to
7
5034
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying. I created the websetup and built the MSI, have the bundled version. Copied to webserver and ran Websetup.msi. Said I had to remove old version, which I did, then reran WebSetup.msi and keeps giving me this error. "The installer was interrupted...
2
2571
by: Chris Marsh | last post by:
Hello, We have been using the "webctrl_client controls" for a while now in a variety of applications. And, at this one a client site where via "localhost" the treeview displays perfectly yet when we try to display the treeview from the ourside world it fails. Just click on the link and you will see exactly what I mean: http://216.70.227.3/demofood/Department.aspx?Department=Menu&Group=&DisplayInventory=true As you can see the tree...
11
2408
by: vila | last post by:
Hi, I would like to display digits with a 7-bar display, as in a pocket calculator. Any ideas about how to do this? Francis
7
1407
by: MLH | last post by:
I use this line DoCmd.SelectObject acTable, "tblAdmin", True when I want to display database window. Often- times, working on a remote mde via a TCP/IP connection, its convenient to have a look at at the database window, open tables, make changes.
1
1689
by: sezanawa | last post by:
Hi Guys, I want to display different languages fonts in a JList. But i think on my windows is only European languages support is installed. Should i need to install support for East Asian languages on my system to display chines character in list box? If yes then when i deploy my application then i need to tell each client to install this support ?? which i think is not a good idea. Is there any way i can include different fonts support in...
0
9685
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
9538
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
10473
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...
1
10219
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10025
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
9068
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...
1
7563
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4138
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2937
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.