Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Page Cannot Be Displayed Using Php.exe On Win2k


Im using php.exe on win2k. When I visit a php page i get page cannot be
displayed. Other pages work fine. Any ideas? the php dll wont work at all,
it refuses to read the ini file at all.

Really anonying, cant figure this out.




View Complete Forum Thread with Replies

Related Forum Messages:
Page Not Displayed!
I have a site in PHP with a page 'approveMembers.php' within 'approve' directory under the site directory. This site has been hosted on net. Now the problem is when i access this page from my machine that uses a proxy server to connect to the internet, the contents get displayed properly.

However, when i use a machine that connects to the internet directly (without using a proxy), the contents do not appear in the page even though the status bar read 'Done' after loading the page. Code:

View Replies !
Page Cannot Be Displayed
OS: Windows 2003 Server
Program: EasyPHP1.8

Changed port to 81 in httpd.conf, rebooted and everything....

127.0.0.1:80 still connects to the index page
127.0.0.1:81 doesnt connect (Page cannot be displayed)
192.168.1.181:80 & 192.168.1.181:81 doesnt connect either (192.168.1.181 is the computers IP)

Is there any configuration I have to do with Windows Server 2003? This is all after a clean install of the OS. Firewall is off (default) or anyone have any advice what the problem could be?

View Replies !
The Page Cannot Be Displayed!
I have a problem when try to upload a quite BIG file (more than ~600K, less than 600K is OK). My browser said : "The page can not be displayed" - in IE and "The connection was reset" - in Mozilla Firefox.

Have someone found the problem like this before? And how can I solve it?? My very very simple code is:

View Replies !
PhpMyAdmin - Page Cannot Be Displayed
I programmed my config.inc.php file with the codes below. But i cant go to the website.. It shows an error msg, "page cannot be displayed"

What haf i done wrong.. N i m actually not sure about my local host.. Cos i m using my school wireless network..

$cfg['PmaAbsoluteUri'] = 'http://www.example.com/phpMyAdmin-2.5.7-pl1/'

$i = 0;

$cfg['Servers'][$i]['host'] = 'example.com' // MySQL hostname

$cfg['Servers'][$i]['port'] = ''

$cfg['Servers'][$i]['socket'] = ''

$cfg['Servers'][$i]['connect_type'] = 'tcp'

$cfg['Servers'][$i]['controluser'] = ''

$cfg['Servers'][$i]['controlpass'] = ''

$cfg['Servers'][$i]['auth_type'] = 'config' // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'username' // MySQL user
$cfg['Servers'][$i]['password'] = 'my_pass' // MySQL password (only needed
// with 'config' auth_type)

View Replies !
SQL Statements Displayed On Every Page
Every php page that queries my MySQL db outputs the SQL string on the result page. I just want to output the results. Code:

View Replies !
&JAVA - Page Cannot Be Displayed
I have installed j2sdk1.4.2_14 to work with my php-4.3.9-3.15. And i have follow all the step from head to tail.

Now, i suppose to just create a simple php coding on java function. When i exec the page...it did not show any error but just 'The page cannot be displayed'.

I hava added a line of : export LD_LIBRARY_PATH=/usr/java/j2sdk1.4.2_14/jre/lib/i386/server:/usr/java/j2sdk1.4.2_14/jre/lib/i386 to etc/init.d/httpd. Seems not working as well.

View Replies !
CHMOD 777 - Page Cannot Be Displayed. Why?
I have placed a CHMOD 777 on a folder and now all of the files inside that folder return 'page cannot be displayed' error, an internal server error (500).

I have tried on individual files as well.. the same thing happens. Anyone know what is going on?

View Replies !
Hiding Hyperlinks For Page Displayed
Can anyone point me in a direction to find a tutorial on writing a script that will hide, (not show) The text link for the home page if my vistor is on the home page. i have read a book and they have on th4ere but it only deals with changing the type of image not disabling it and hiding it from veiw.

View Replies !
Pagination Displayed In One Long Page
My site is a virtual pet style site where there are user shops and at the moment all items are displayed in one long page, not so great when theres over 100 products in one store.

Below is a copy of the code. If anyone could please give me some pointers, Id really appreciate it. I've gone through tutorials but they seems to be to advaced for what I need and I simply get lost. Code:

View Replies !
Page Blank But No Errors Displayed
I have a script that's just returning a blank page. So I'm guessing I've got an error somewhere.

In fact I know I have because if I comment out one or two classes, I get an error message coming up. But why do I get a blank page at first? How come it's not giving me an error message for my obviously faulty class? Code:

View Replies !
Flip Flop The Displayed Page
I want to test different content on a landing page to see which my visitors like the most. Version A is to be shown 50% of the time, Version B to be shown 50% of the time.

So, visitor #1 gets shown Version A, visitor #2 is shown Version B, visitor #3 shown Version A and so on.

My idea is that I would have some code that would say include(content-a.php) or include(content-b.php) depending on which is due to be shown next.

View Replies !
Upload Something To Gets Displayed On The Pagination Page
I coded an upload system, and a pagination script. These 2 things are linked together so when you upload something it gets displayed on the pagination page. Now I want to make it so if the upload page is executed, then refresh the pagination page.

View Replies !
I Can't Get Info.php Working On PWS Win98 The Page Cannot Be Displayed
Can someone help me?
I have tried php-4.3.4-installer
I have tried php-4.3.4-Win32
If someone has PWS running PHP4 on windows 98
I would appreciate any help. thank-you

View Replies !
How To Limit Number Of Lines Displayed On The Page?
I just wrote this script to read information from a TXT file that contains list of JPEG files, and the list is rather huge. So I want to limit the number of displayed files to like 20 per page (with NEXT/PREVIOUS links to the next or previous 20), but I have no clue how to do it. Code:

View Replies !
Phone Number Is Not Displayed In The Paypal Page
I am using Paypal in my site. The problem is the phone number is not
displayed in the paypal page, but am sending the phone number in a
hidden value with the name "H_PhoneNumber".

Can anyone tell what could be the problem? Why am not getting Phone
number in the paypal page.

View Replies !
Linking Functions To Data Displayed On Page
I have a text input box, in which you can enter a user ID. You click 'find user' and this populates a table with this users details. So far pretty straight forward.

What I want, is a set of functions relating to this user, such as a simple button: 'Delete User' (the functionality of which is self explanatory). Code:

View Replies !
Page Cannot Be Displayed While Post Or Reply To A Topic
I can send emails through my forum can access Admin and change etc. for the first time ever the other night tried to post or reply to a topic and I get the below message I have tried everything I can think of. Code:

View Replies !
Page Cannot Be Displayed While Attach Images To Posts
i am including the ability for users to attach images to their posts. Now they can attach more than one image. First time round. the image gets uploaded and everything works fine. second time round though. i get a 'page cannot be displayed' error. The address in the address bar is correct. i just cant see why its working first time and not second. Anyone experienced this before or myt know why its happening?

View Replies !
Editor To Be Displayed On A Page Giving To The User
I want an editor to be displayed on a page giving to the user the chance to write anything he likes, and then save those contents and display then into an html page, which is exactly what i'm doing now, posting this new thread. How can i do that?

View Replies !
How To Control The Number Of Page Links Displayed With Pagination?
Does anybody know how to control the number of page links displayed with pagination?  I mean like, with the tutorial on this site, if I had, say 50 pages of results, it actually creates individual links for page 1-50.  How could I make it truncate say 1-5, and then an arrow to goto 6-11 and vice versa? Here is the code the tutorial uses

    for($i = 1; $i <= $numofpages; $i++){
        if($i == $page){
            echo($i." ");
        }else{
            echo("<a href="$PHP_SELF?page=$i">$i</a> ");
        }
    }

View Replies !
Session :: Problems With This Web Page Might Prevent It From Being Displayed Properly
when i add php session

<?
session_start();
header("Cache-control: private"); // IE 6 Fix.
?>

I just get this error "Problems with this web page might prevent it from being displayed properly bla bla". Of course am adding those lines just the first thing in each page b4 anything else. so am getting that error in pages that have template applied to it.

and when i delete the session lines it just back to normal. So i dont get whats the problem with the session.. there is no other way of writing it. and the session is working already properly in another project on same computer. am using php & IIS.

View Replies !
PHP Pages Getting 404 Error, "Page Cannot Be Displayed"...
I tried putting this into the PHP Installation forum but don't get any answers or suggestions there so I'm going to try it here and hope it doesn't get moved.

I'm on a Windows 2003/PHP 5.22 setup.  I'm TRYING to upgrade from PHP 5.02 which did work on my server and quite well.  I followed the upgrading and installation instructions layed out on the PHP.net set -- I still can't get it to work.

The install dumped all the PHP related files under "c:program filesphp".  I've ensured that path is in my windows PATH statement for my env vars.  I've also verified that "c:program filesphpphp-cgi.exe" is in my Web Service Extensions listing in IIS and the status is set to "Allowed". 

From the command-line, I can execute my "test.php" file that has the phpinfo(); info function in it and it works fine.  It's only when I try to use my web browser to access the php file that I get the 404 error, "page cannot be displayed".  I know that IIS in general is working ok because I can point it to the default http://servername/iisstart.htm and it resolves to that page just fine.  It's only when I change it to http://servername/test.php (which has my phpinfo()) function in it when I get the 404 error.

My web server just doesn't seem to be interpretting PHP files anymore and I can't figure out why.

View Replies !
Size The Page Displayed To The Size Of The Persons Browser.
I would like to know if there is some code in php that will size the page displayed to the size of the persons browser.

View Replies !
No PHP Error. Just "Page Cannot Be Displayed"
I was wondering if someone could explain why I'm receiving this error. It's
like a 404 error but I think it might be something else.

Basically, I have a page where a user inputs his email address. The system
is supposed to look up the email address and send the associated password to
that email address. It worked up until a few months ago. Note that the
validation works. So, if the user tries to submit a blank text box, it
returns an error. If the email address is not found, it returns an error
"Email not found." But if the email is valid, it just dies. This code
worked a few months ago when I initially wrote it....

View Replies !
GD For Win2k
I'm having problems with getting GD library to work on WIN2k with Apache, PHP4. I have:

1.) Downloaded php_gd.dll
2.) Added it to d:phpextensions , d:winnt AND d:winntsystem32
3.) Added ;extension=php_gd.dll to php.ini
4.) Restarted apache

But it doesn't work! I get this error: Call to undefined function: imagecreate()

View Replies !
PHP 4 On Win2k&IIS
I have installed php 4 but when i try to open one of my php pages(the one they included to test or any other php page) i get a bunch of "can't find x.dll" errors.
In my php.ini I have the correct extension_dir(extension_dir="C:InetpubscriptsPHPEXTENSIONS"). And the dlls are in that directory but it still gives me errors. Any idea how to correct this? I stopped/started IIS and restarted windows like it told me to in the install process.

View Replies !
Php 5.0.1 IIS 5 Win2k-AS
New installation of php 5.0.1 on a new windows 2000 advanced server running
IIS 5. Followed all the instructions for manual installation. Trying to get
the browser to open a php page results in an authentication dialog box.
Repeatedly pressing "OK" in Mozilla just keeps bringing up the
authentication dialog. Pressing cancel results in
"HTTP 401.1 - Unauthorized: Logon Failed". Pressing cancel in IE results in
"HTTP 401.3 - Access denied by ACL on resource"
IUSR DOES have proper permissions to the content folders and asp scripts
work fine.
Any ideas?

View Replies !
Sendmail In Win2k
how do i configure the sendmail function in a windows2000 box?

View Replies !
MDB Error On Win2k
Hi!

I have installed the pear MDB db abstraction layer, but when i run it, i get:

ERROR [2] connect(MDB/.php): failed to open stream: No such file or directory
Error in line 293 of file E:xamppphppearMDB.php
ERROR [2] connect(): Failed opening 'MDB/.php' for inclusion (include_path='.;E:xamppphppear')
Error in line 293 of file E:xamppphppearMDB.phpMDB Error: not found Unable to include the MDB/.php file

.... seems like a big bug.

anyone knows something about this (have tested both 1.13 stable and 1.12 stable, with latest version of pear and all the other necessary files mdb needs!)

View Replies !
Php 4.06 Cgi Timeout On Win2k
I have a script that works on unix but when running it on a windoz box I get a CGI Timeout screen.

What is the difference between the two systems that would cause this error?

do I have to modify somthing in the PHP.INI?

View Replies !
PHP+SYBASE ASE 11.9.2 + IIS + Win2K
I have a problem using PHP+SYBASE ASE 11.9.2 + IIS + Win2K.

The problem is: when i use the function sybase_connect(), i get a gpf (or its w2k equivalent).

Does any of you use this mix of things?

View Replies !
Compiling PHP On Win2K...
Can anyone point me in the right direction to getting a successful structure
setup for compiling PHP on Win2k ?
I have the PHP sources, but I am not sure which compiler to get.

Are there any step by step sites ?


View Replies !
WIN2k+IIS5+PHP-CGI
I just installed and configured, and anytime I try to view a PHP file
in my browser, it keeps asking for network login information..

View Replies !
Install On Win2K & IIS 5
I'm a ColdFusion developer but am starting to look into PHP a bit more and its looks very interesting. My question is that I am getting the 500 internal server error when I try to post my first php page as a test (i.e. Hello World). I believe that I have set up IIS correctly in that I've added the ISAPI mappings, configured the PHP.INI in my system directory. Stooped and restarted IIS & rebooted.

View Replies !
PHP Setup On Win2K
I've administrated various types of servers and set-up countless development environments for PHP and MySQL I've never created a full production server before, relying on service/hosting providers to do this for me.

So, I'm looking for any advice on setup, bugs, tutorials, technical resources, thoughts, or experiences. Maybe this could become a sticky for technical/security setups? Who knows...

I'm especially interested in custom builds of the php engine. There are many functions I know I'll never use in the life of this server, such as CURL, Cybercash, .NET, FrontBase, etc. I'm looking for tutorials/tips on compiling for Windows if anybody has any. Can a custom isapi module be compiled for windows?

View Replies !
WIN2K, Apache 2.0.5 And PHP 5
I hope (actually I'm sure) someone can help me to solve my problem.

I installed Apache V 2.0.53 on Windows 2000 pro SP4 (including latest
Windows patches).
Installed PHP version is V 5.0.4

Installed folder locations:
Apache: E:Program FilesApache GroupApache2
PHP 5: E:usrPHP5

I added the above path to the PHP folder to the PATH environment
variable.

The http.conf of Apache containes the following entries:

<<< start snippet: >>>
LoadModule php5_module "E:/usr/php/php5apache2.dll"
AddType application/x-httpd-php .php

# configure the path to php.ini
PHPIniDir "E:usrphp5"
<<< end snippet >>>

I tried also the PHPINiDir value with forward-slash, with and w/o ending
slash/forward-slash.
Nothing worked for me.

The PHP.ini file cvontaines the following entries:

<<< start snippet: >>>
doc_root = E:Program FilesApache GroupApache2htdocs
<<< end snippet >>>

My problem is, at that moment when I activate the entries in the Apache
http.conf file
related to PHP, the Apache service is not starting up when I reboot the
system.
It's reporting server specific error 1.

I hope it will be easy for a seasoned Windows/Apache/PHP guys to pinpoint
me to the problem.

View Replies !
Exec() ==> WIN2k
PHP Code:

if ($foo) {
   exec('cmd.exe /C "C:\PHP\php.exe C:\www\server.php"');
}

the server.php is a port-listener which should be started by the exec command!
but the funny thing is that in the taskmanager i get processes 'cmd.exe' and 'php.exe' untile there are about 20 of both and then all processes are killed!and the php.server script is not running!

if i do a START ==> EXECUTE ==> cmd.exe /C "c:phpphp.exe c:wwwserver.php" the server is running and listening fine.

View Replies !
Using Mail() On IIS5 (win2k)
Ok, i've never used mail() yet on IIS.

Have Win2k Server, IIS 5, PHP 4.0.6.

tried making a simple script:

Code:
<?php
if(!mail("myemail@mydomain.com","Test","This is a test")) {
echo "Email failed.";
}
?>

Didn't work, got:
Warning: Failed to Receive in E:inetpubwwwrootstaff estemail.php on line 9

ok, smtp must not be set in the php.ini. this is where i'm kinda confused. I go to the server, open up php.ini, SMTP = localhost so i change that to the IP the SMTP service is listening on. restart IIS, load the script, still doesn't work, but the error is gone, just a blank page, an the email isn't sent. I tried changing the SMTP setting in php.ini to the DSN name, i get the latter results. Anyone know what i'm doing wrong. Again i've never set up SMTP before, so maybe that's what i did wrong. anyone have any idea?

I did just telnet into the SMTP server, so i know it's up and running.

View Replies !
Exec() With Win2K, Does This Work?
I am trying to use the exec() command to run powerterm and execute some command line instructions.

Problem is nothng seems to happen even with the most basic exec().

View Replies !
Include/require On Win2k
What's up with require and include not being able to use remote fles?? I hate having to change all the include and require statements for testing on win2k...

View Replies !
PEAR Install On Win2K
I'm having some problems getting PEAR (the package manager, not the DB abstraction stuff) working on Win32. I downloaded the php script from http://go-pear.org/ and ran it with the command line, specified my correct php path, and added c:serverphppear to my include_path in php.ini as instructed. When I try to run pear list-remote-packages I get this error:

PHP Warning: call_user_func() expects first argument, 'PEAR_Command_Build::getCommands', to be a valid callback in c:serverphppearPEARCommand.php on line
180
PHP Warning: Invalid argument supplied for foreach() in c:serverphppearPEAR
Command.php on line 181

and nothing else happens. Anyone have any ideas?

View Replies !
PHP Install Problem Under Win2k
I'm trying to install PHP 4.3.3 under Windows 2000 Server as an ISAPI DLL (on my
development PC). Things weren't going smoothly so I uninstalled it (with the
Wise wizard) and now it still shows up under the Control Panel installed
programs! I hate it when that happens.

Be that as it may, I uninstalled it for two reasons. Firstly the file
php4isapi.dll was no where to be found.

Secondly, I read somewhere that IIS doesn't like spaces in path names. I had
installed in Program Files.

Before I try again I have some question. To set my frame of reference, about
the only thing I know about server-side programming is ASP.NET. I don't know
anything about cgi or PHP.

Why are there two install choices, for cgi or as an ISAPI DLL? Which one should
I use? And why was php4isapi.dll not created?

View Replies !
Using GnuPG Via Exec() On Win2k
I am trying to run GnuPG encrypt and decrypt functions from a PHP
script on a Win2k machine. I have tried several variations to no
avail. Basically what I want to be able to do is something like this:

<?php
$cmdStr = 'C:GnuPGgpg -r recipient --encrypt file2encrypt.txt'
exec($cmdStr);
?>

View Replies !
Upgrading From PHP 4 To PHP5 On Win2k IIS Box
I have a Win2k Server with IIS5 which has the Windows INstaller CGI version
of PHP 4.0.6, and want to upgrade to the full version of PHP 5. I haven't
found any docs on this. At the very least how do I uninstall v4?

View Replies !
PHP 5, ColdFusion And Win2k Issues
Ok, so my boss wants to use a nifty little PHP script that requires a mySQL backend. No big deal, or so I thought.

I install mySQL 5 and PHP 5.1 and everything is grand! Until we notice that ColdFusion was reporting JRun protocol errors and a JDBC error, and the web server (All servers are Win2k, and our Web Server is IIS5.0) can't load any .cfm pages on our website.

I checked ColdFusion, and it says all data connections are fine. During installation of PHP, I had to modify my PATH, under system variables to include "C:PHPext" as well as add a new environment variable "PHPRC" pointing to C:PHP.

When I removed those two entries, ColdFusion started working properly again. And for the life of me, I can't figure out what went wrong there. Any ideas or suggestions?

View Replies !
Apache 2.2.2 And PHP 5.1.4 On Win2k Crashing
I just installed Apache 2.2.2 on my Windows 2000 (SP4) machine to test the new version. Everything works except PHP (version 5.1.4): when starting Apache, it pops out a message saying that it is unable to locate the module (even set on the correct path!), stops the execution and exits. On the other side, PHP works fine with Apache 2.0.55, so It's not a problem of a broken build.

View Replies !
WIN2k+IIS5+CGI+ERROR
I recently downloaded the PHP 4.3.2, I ran the installer, and did everything accordingly, setting IIS4 or higher, all the right things ( I think ). PHP is enabled as far as I know in IIS5 on all of my websites, but when ever I try to load a php file from the web I get this exact error message. " CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: " Nothing returns after that either. My file is called phpinfo.php. Although I can do a 4363473568546trgdfsh.php, which does not even exists on our server, and the same error gets spit out.

View Replies !
Copy() Win2k Permissions Problem
Hello hello.
I'm growing grey hairs with this one. Bassicaly, a script builds a bunch of folders (this works) then tries to copy files into new folders (this doesn't). I use PHP4, win2k, Apache 1.3, MySQL.

The error is Permission Denied. Sounds like a win2k chmod issue but can't figure it out.

Code is as follows:

$real_path = realpath ("");
umask(011);

mkdir("$real_pathsites$sitename", 666);
mkdir("$real_pathsites$sitenameimages", 666);
mkdir("$real_pathsites$sitenamecss", 666);
mkdir("$real_pathsites$sitenamejscript", 666);

chmod ("$real_path/sites", 666);
chmod ("$real_path/templates/", 666);
chmod ("$real_path/templates/css.css", 666);

$copy_from = "templates/css.css";
$copy_to = "sites$sitename/css";
copy($copy_to, $copy_from) or die("Couldn't copy file.");

View Replies !
Image Creation Using GD With Php/Apache On Win2k
I'm finally able to create images using the gd library with Php running on Apache on Win2k. I thought I might share my new found knowledge of the process. First of all we need a file called "php_gd.dll" which can be easily downloaded.

You can download any of the dll files depending on the version of Php you're using. After downloading, rename the file as php_gd.dll and keep a copy in "c:windows" or wherever your php.ini is kept. Open php.ini in your favorite editor, look for an commented line like this:

#extension=php_gd.dll

Next, look for the line : extension_dir = ./

You can change the "./" to the directory where you keep your php extensions. But if you follow the general rules of installing php/apache on windows, keep this as above. Uncomment this line if it is commented.

That's it!!! All you need to do now is to restart Apache. If you get an error message saying "cannot find php_gd.dll", then make sure you have php_gd.dll in your extensions directory. (e.g. if your extension directory is ./ then keep the dll file where your php.ini exists).

View Replies !
How Do I Enable/install PEAR On Win2k?
I've got a new development box, a server running Windows 2000 and IIS 5.0 I've installed PHP 4.2.1 and MySQL 2.23.51. They are working fine. Been reading about PEAR the past coupla days, but I have no idea how to enable/install it?

View Replies !
Force Download On Win2k Server
My win2k server has read write and execute permissions throughout the entire account and I can't really change it without removing those permissions throught the entire account, so what I need to do is force download an exe file, since just linking to it tries to execute it on the server. Is there some way in PHP or ASP that I can force it to download and not execute?

View Replies !
PHP Mail And WIN2k Advanced Server
I am running Win2k Advanced server and php and I am having trouble getting the mail function to work. I have modified my php.ini file to reflect the SMTP server name but when I run my php program that uses the mail ( ) function I get the following error:

Warning: Failed to Connect in C:pathsubmit.php on line 33.

Anyone know what I need to do here to get this to work? I am not currently using the default WIN SMTP server. I know the smtp server name is correct and I can telnet to the server port 25 from the outside. I either get a "failed to receive" or "failed to connect" issue. Is this a firewall issue? Are there any other ports that need to be open for the mail function to work?

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved