Installing Php4 On Windows 2000 Webserver
Is this possible? If so, how do I do it exactly? All I can find is tutorials on how to install it on Apache. If anyone knows the answer can you please help me? I'm desparate. Thanks in advance.
View Complete Forum Thread with Replies
Related Forum Messages:
Installing On Windows 2000 Iis 5
for some odd reason the installer program doesn't set the file extension ..php to be associated with anything, my guess is that it should be php-win.exe (i've tried all 3 .exe files, and the php.exe produces the correct results in a command window)... when running a .php in IE I can see it execute in task manager but the IE screen will not change to display the correct info.. anyone have any idea about this? IE settings wrong or something?
View Replies !
Ms Sql Serveur 2000 On Windows 2000 !!!
I've an error with php & win 2000 & ms sql serveur 2000! listen, i've write an program with win xp easyphp1.7 and ms sql serveur 2000 all is ok on localhost ! all i use some store procedures , triggers and so on all will be ok on local ! Code:
View Replies !
Installing Php On A WEBSERVER
I have managed to install php and mysql fine on my computer but for the love of god how do I install it on my webserver. I have got a windows iis webserver run by a company called hostonce. Bah this sucks so much. Someone please tell me how to get it installed on my webserver, do you use an ftp program to install it or what!?!
View Replies !
Installing Php To Own Webserver
currently i'm developing simple web server which support cgi with python in win32. and i started from python's basic library, CGIHTTPServer. it support cgi but only for extension like .exe .py. so now i just wanna add php extension here's cgi handling schem of this webserver. first it check requested file's extension. and then if it is 'py' then it call's popen2('python requested-script'). now we can handle input and output file descriptor of this process. it's very simple :) so i add some code for handling php likewise. first i turned off the cgi.force_redirect. and called popen2('python some-request-script') but it shows 'No input file specified' i tested this thing's in python's interactive interpreter in directly then it shows right. let me show some code [color=blue][color=green][color=darkred] >>> files = os.popen2("c:phpphp.exe c: est.php") >>> files[1].read()[/color][/color][/color] "Content-type: text/html X-Powered-By: PHP/4.3.5 here's php" but when i run this code via http server, it seems like 'c: est.php' doesn't passed to 'c:phpphp.exe' i think php.exe waste it's stdin.
View Replies !
Windows 2000 Problems
when I open IE and enter in "http://localhost" I get: "The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings." blah blah blah.... Then, when I click the Personal Web Manager icon in the Admin tools, I get this error: "Error connecting to servernamehere: Unexpected error 0x80074002 occurred. Do you wish to continue to attempt to connect to it in the future?"
View Replies !
PHP On IIS Windows 2000 Server
I've downloaded the latest PHP (EXE & ZIP).... I followed all the instructions I can find and yet PHP will not work with my IIS !! Can anyone talk me though exactly how to get them working together?
View Replies !
Use Gettext In Windows 2000
How can i use gettext in windows 2000. problem in compile .po file. how can i make the .po file. tell me in detail step by step. also unable to find msgfmt.exe, libiconv.dll, libintl.dll to compile .po file in windows.
View Replies !
Problems With MS-SQL, Apace, PHP On Windows 2000
I want to use PHP for a project at work. This project requires Windows 2000 running Apache and accessing MS-SQL Server 2000. I am using the mssql php extension to access the db and have all the required files to access the db. If the environment was not correct, it shouldn't connect and successfully query int data types. Everything works fine as long as I query for numeric datatypes such as int. However, every single time I try to query a text, char, var or datetime field, Apache crashes and I get a Windows error dialog saying that an error is being logged. Unfortunately, there is no error logged to either the Windows 2000 Event Log or the Apache log. I love PHP and would really like to be able to use it for this project rather than JSP or ASP on IIS. If anyone knows why this is crashing the server, I'd greatly appreciate any advice or help. By the way, this is an enterprise-wide database so switching to MySQL is not an option.
View Replies !
EGroupWare - With Windows 2000 Install
using Apache, PHP and MySQL on my own PC - been using it for a while on ISP hosted servers and plesk to create oline forums using things like Invision and PHPBB but decided to give running eGroupWare a go on my own PC. I have windows 2000 Pro and followed some online tutorial to the letter (excpet downloaded the very latest version of MySQl, PHP, etc) to install Apache, PHP and MySQL and all worked fine. Now downloaded eGroupWare and put it in the c:web folder and ran the setup file but when I go to my browser and tpye: http://localhost/egroupware/login.php I get the following below can anyone point me in the direction of what it all means?? Warning: main(C:/php/phpgwapi/setup/setup.inc.php): failed to open stream: No such file or directory in c:webegroupwareheader.inc.php on line 102 Warning: main(): Failed opening 'C:/php/phpgwapi/setup/setup.inc.php' for inclusion (include_path='.;c:php4pear') in c:webegroupwareheader.inc.php on line 102 Warning: main(C:/php/phpgwapi/inc/functions.inc.php): failed to open stream: No such file or directory in c:webegroupwareheader.inc.php on line 110 Warning: main(): Failed opening 'C:/php/phpgwapi/inc/functions.inc.php' for inclusion (include_path='.;c:php4pear') in c:webegroupwareheader.inc.php on line 110 Warning: main(C:/php/phpgwapi/inc/xml_functions.inc.php): failed to open stream: No such file or directory in c:webegroupwareheader.inc.php on line 111 Warning: main(): Failed opening 'C:/php/phpgwapi/inc/xml_functions.inc.php' for inclusion (include_path='.;c:php4pear') in c:webegroupwareheader.inc.php on line 111 Warning: main(C:/php/phpgwapi/inc/soap_functions.inc.php): failed to open stream: No such file or directory in c:webegroupwareheader.inc.php on line 112 Warning: main(): Failed opening 'C:/php/phpgwapi/inc/soap_functions.inc.php' for inclusion (include_path='.;c:php4pear') in c:webegroupwareheader.inc.php on line 112 Fatal error: Call to undefined function: createobject() in c:webegroupwarelogin.php on line 26
View Replies !
PHP5 Installation With MySQL, Windows 2000
Why I still have "undefined function error" messages? I included path c:php to my windows env. Edited php.ini file: include directory value. removed comment mark from extension=php_mysql.dll copied libmysql.dll to system32 directory Apache2 runs fine. I can run phpinfo.php I can create a database into the MySQL.
View Replies !
Include PEAR DB Framework Using PHP 5.0.4 On Windows 2000
Get the following errors when trying to include PEAR DB framework using PHP 5.0.4 on Windows 2000 with Apache 2. Warning: main(PEAR-1.3.3/DB/DB.php) [function.main]: failed to open stream: No such file or directory in E:Program FilesApache GroupApache2htdocsservusincludesinclude.php on line 19 Fatal error: main() [function.require]: Failed opening required 'PEAR-1.3.3/DB/DB.php' (include_path='.includes;.') in E:Program FilesApache GroupApache2htdocsservusincludesinclude.php on line 19 The include_path config variable looks like this: include_path = ".includes;." PHP is installed in e:php-5.0.4 and the PEAR Class defs are in e:php-5.0.4includesPEAR-1.3.3DBDB.php The includes that fail are: include_once("PEAR-1.3.3/DB/DB.php"); These worked with 4.4.0, but fail with 5.0.4 ...
View Replies !
Looking For Windows Mysql/php/webserver Combined Package
A while ago I found a mysql/php/webserver bundle of software for windows that installed all three at once and made it easy to start developing sql/php web apps. Now I can't remember what it was or where to get it, and wondered if anyone here can suggest anything along those lines?
View Replies !
Advise Needed: PHP Without Webserver + Interface To (X)windows
I am starting on some project and need to program all kinds of windows with buttons/textfields/etc. My natural reaction was to build this in Java, but since I like PHP so much I thought about giving it a try in PHP. My problem: I only used PHP inside a webserver untill now, and I have experience with some simple scripts I build for cronjobs in PHP (commandline/cli invocation). My requirements are: - a memoryhungry continuous proces that could last for days. - Need windows and all kind of gadgets like buttons/textareas/etc. - Must run under W$ and *nix. (Additional software installs are no problem) I was thinking to invoke PHP from commandline without a timeout, overruling php.ini. For windowsprogramming I found activestate/tcl, but I have 0 experience with it. Is this the right way to go? Is TCL easy to learn and use? What other options do I have? Does anybody have any ideas/suggestions? Any pittfalls on the road ahead? Should I just stick to Java?
View Replies !
UPDATE Command Is Not Working On MySQL, Windows 2000 Server
Hi all, I encountered mysterious problem with MySQL and PHP. UPDATE command is not working on MySQL configured on Apache 2 with Windows 2000 Server. It pulled my hairs for atleast 5 hours. MySQL says Affected rows: 0 (Query took ~ sec) always? Now, I've decided to move all PHP files and db to remote server. Can anyone suggest possible reasons for above errors?
View Replies !
Installing PHP4 On PWS?
Is it possible to use the PHP4 DLLs with the MS Personal Web Server, or is IIS absolutely necessary? I ask because ASP pages can be served with PWS (using an ASP.dll file), so it seems the same should be possible with PHP. Unfortunately, I have seen no info to support or deny this hypothesis...
View Replies !
Installing Php4.3.X With GD
I've been running apache and PHP by using apt-get packages for a long time now, and it's been working fine for me. But the other day I tried to get image functions working and hit a brick wall with the packaging. I get my packages from stable. Basically, when I tried to install php4-gd2, I get something like this: Code:
View Replies !
Installing Php_ldap.dll W/Php4 And IIS
Does anyone out there know how to get the LDAP library working with Php4 and IIS? We have tried several things to get it working to no avail. Specifically, we have tried the following, as suggested on another bulletin board: --In the php.ini file, changing the value for php_extensions to Unix-style front slashes instead of backslashes --Found and installed msvcrtd.dll and libsasl.dll in c:winntsystem32 --Tried a million different values for php_extensions, and placed the extensions in a million different locations on the server Nothing seems to work. We installed Php3 on the server and everything works fine with it--we can hit our LDAP server like a champ. We were planning to just stay with Php3; however, we need to make a secure connection to our LDAP server, and that functionality is not available in Php3, according to the Php manual.
View Replies !
Error Of Php4 Installing
I have some errors when I install php4 on my linux, the errors are: ake[3] : *** [sapi_apache.lo] Error 1 make[3]: Leaving directory `/usr/src/php-4.0.1pl2/sapi/apache' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/php-4.0.1pl2/sapi/apache' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/php-4.0.1pl2/sapi' make : *** [all-recursive] Error 1 Would someone like to tell me how to avoid them?
View Replies !
Installing PHP4 On HP-UX 11 With NSAPI 4
We have a really hard time trying to install PHP 4.0.2 on HP-UX 11 with NSAPI for NetScape Enterprise Server 4: just running ./configure I can make without any problems. but when ./configure --with-nsapi=/netscape/server4 it configures fine but as soon as I run make, here is what I get: Code:
View Replies !
Installing Ming With PHP4.3.2
I've installed Apache 2.0.xx and PHP 4.3.2. I want to use Ming as a module to PHP. The instructions that came with Ming say to: as a php module (unix) download php_ming.so.gz uncompress it and copy it to your php modules directory (you can find your php module directory by running php-config --extension-dir) Now either just add 'extension=php_ming.so' to your php.ini file, or put 'dl('php_ming.so');' at the head of all of your Ming scripts. I ran php-config --extension-dir and put the php_ming.so file there but it wouldn't work. I got an error message in my Apache2 error log saying PHP Warning: Unknown(): Unable to load dynamic library './php_ming.so' - ../php_ming.so: cannot open shared object file: No such file or directory in Unknown on line 0 The entry in my php.ini file for extensions is ./ I put the extension=php_ming.so in the php.ini file.
View Replies !
Installing Zziplib On Php4?
We have PHP 4.3.9 on a RedHat ES4 server. Supposedly PHP4 comes with ZZIPLib pre-bundled: http://us2.php.net/manual/en/ref.zip.php But I can't locate the library on the server. And my phpinfo() doesn't have it listed (which I expected because the link above indicates you have to manually add the support on the install.) So, I downloaded the library: http://zziplib.sourceforge.net/download.html and the README says all I have to do is the usual ./configure, make, make install. Now, that probably installs the library on the server, but I'll probably have to recompile PHP anyway, will I? I ask for any suggestions from people with personal experience in it because this is our production server, and I'd really like to know what to expect before I end up ruinging our PHP install. =)
View Replies !
Installing 4.3 On Windows XP
I'm trying to get PHP 4.3 working on Windows XP with IIS as server. Was able to make the CGI installation program go through its hoops (which I've done on various platforms before now), but this one isn't working properly. I think the problem is that it's not communicating with the IIS server correctly. I have: extension_dir = "c:php" enable_dl = off cgi.force_redirect = 0 I don't have any of the php_* extensions set. Anything with domain name is set to localhost. IIS services seem to be working. I can bring up the Microsoft help page, and so forth. I did set IIS to start on boot.
View Replies !
Installing Php On Apache2/windows Xp
'am trying to install php 5.0.3 on apache 2.0.52 on windows xp sp1. the problem i am getting is whenever i call a .php page in my web browser e.g. http://localhost/test.php, contents on test.php file are displayed on web browser, instead on the result. e.g. my test.php file has: Today's date is: <? print (date ("M d, Y")); ?> this whole message is displayed when i call http://localhost/test.php instead of today;s date.
View Replies !
Installing PHP 5.05 On WIndows XP, Apache 2.0.54 -
Hi Im trying to install PHP 5.05 on Windows XP running Apache 2.0.54 Apache is running fine and ive made all the changes to the pnp.ini file and Apache config file, restarted Apache but all I get when trying to call my test.php file is a 404 error? http.config file: LoadModule php5_module "C:/php/php5apache2.dll" PHPIniDir "C:/php" AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps set my php.ini doc-root file to : doc_root = "C:Program FilesApache GroupApache2htdocs" Ive followed all the FAQs on php.net , added c:/php to the Path etc
View Replies !
Installing On Windows Server...
I'm a rookie with Windows Servers (what can i say, i love linux) I need some help installing PHP and MYSQL on my windows server. I don't know if this affects anything, but i also have Plesk installed on it. I tried the directions on php.net and mysql.com and it didn't work. I need "php for dumbies" directions of how to do it.
View Replies !
Installing Curl In Windows XP
I need to install Curl on a local testing server that's running Apache but for the life of me cannot figure out how to install it on a windows machine. The Curl website say's i have to compile it, is there any other way and if you do have to compile it how do you go about that.
View Replies !
Installing On Windows 2003
I installed PHP, MySQL and Apache as normal as possible. However, when I go to check the install with phpinfo, it says I am forbidden to view the file. Also when I try to load the module in Apache it say's I can't find it.
View Replies !
Installing Pecl Fileinfo On Windows..
Currently trying to install php_fileinfo.dll for version 5.0.5 on windows: http://pecl4win.php.net/ext.php/php_fileinfo.dll I've copied this into c:phpextphp_fileinfo.dll, and included the following in php.ini: extension=php_fileinfo.dll (I initially tried 'pear install fileinfo' but it was yielding a dsp error). I've been trying to execute the following code: if(is_file($item)) { $info = finfo_open(FILEINFO_MIME); echo finfo_file($info, $item) . " "; finfo_close($info); } I'm getting the following errors/warnings: Warning: finfo_open(): Failed to load magic database at '(null)'. Warning: finfo_file(): supplied argument is not a valid file_info resource.. I've checked that c:phpextrasmagic.mime exists, too; but the documentation I've found implies I woudn't need to indicate this explicitly in php.ini because it's the default location. I'm not certain what else I ought to do/configure, etc.
View Replies !
Installing On IIS 6.0 (windows Server 2003, Enterprise Edition)
I am pretty new to IIS, as well as PHP. However, I had no problems installing PHP on XP Pro w/ IIS installed. However, Last night I installed Windows 2003 Server, enterprise Edition w/ IIS 6.0 installed. Downloaded PHP 4.3.2 (w/ the installer) and ran through the setup w/ no problems. It did say I had to manually configure the server however(due to some missing OSX Components.) All is well, I went in to the default web via IIS Manager, and added .php to the ISAPI mapping, w/ the executable pointing to my php.exe file. The install program put PHP.ini in c:windows so all is well. Yet still, when I attempt to access a .php file via web browser I get a 'HTTP Error 404 - File or directory not found.' However, when I reference the index.html file it works file, so my root directory is set correctly. So, I read on a website that to use PHP w/ IIS you have to turn off cgi.force_redirect = 1 in the php.ini file. (commented it out.) Still I get the page not found error. I am completely lost! I figured it was a permission issue. Yet, I went into IIS manager, and set the default permissions for that website as being, read, write, and script access. I also read on a website, that you have to give read, write access to IUR_MachineName(server-01 in my case, so IUSR_Server01.) Did that, still the 404 error. Please, any assistence into this would be VERY much appreciated!
View Replies !
Installing Php 4.3.8 Onto Windows Server 2003 With IIS 6 & Multiple Websites Nightmare
I have various small html websites on my windows server 2003 pc, these function quite happily from directories under D:websites via ports 81, 8081, 8091, 8082 and of course there is the dafault web site on port 80. I have installed MySQL 5.0.0 and php 4.3.8, but i can't get them to work for another website on port 8090. If I use the command line and go to c:/php and run php -i, I can see the test_info file information, including the html. If I try to run it with http://80.177.100.48/test_info.php I get 'CGI error - The specified CGI application misbehaved by not returning a complete set of headers' When I try to run it via http://80.177.100.48:8090/test_info.php I get a page not found 404 error. That pc's name is 'webserver', and is connected to the internet via an internal ADSL card and networked to my main pc called 'whatever'. On 'whatever' I have a test installation of phpBB2 set up on http://80.177.100.48:9999/phpBB2/ which works fine and is quite happily routed via port 9999 through 'webserver' to the 'whatever' root directory under windows XP pro. When installing and testing is finished I would like to have this running on the 'webserver' pc.
View Replies !
Xml-rpc Webserver
Been banging my head on this all day, so here's the stoopid question: Do we *really need* the xml-rpc extension to create a xmlrpc webservice ? I'm getting the impression that we're supposed to generate the XML by hand. That's why PHP 5.1.2 has DOM methods as well as an xmlwriter class. And invoking the webserver "function/class" can be done by general PHP code as well, no need for *registering the method with the server* ? Many webauthors urge us to precede any xml output with : header('Content- Type: text/xml'); So if we have to do all that ourselves, what work does the xml-rpc extension actually do ? Below is my first webservice effort, using POST. The js-client sends "Kilroy", and the webservice appends ' was here'. I'm receiving an XML object all right, but it appears empty. //save this as server.php <?php function stick($method, $param) { return ("$param was here !"); } $server = xmlrpc_server_create(); $rawpost=$HTTP_RAW_POST_DATA; xmlrpc_server_register_method($server, "glue", "stick"); $xmlresponse= xmlrpc_server_call_method($server, $rawpost, ''); header('Content-Type: text/xml'); echo $xmlresponse;.....
View Replies !
Webserver PHP
I'm hosting a server for my website on a computer tat we dont use at my house anymore and when i tried to install PHP i've used this tutorial to help me set it up and followed everything but whenever i try to acess a .php file i get this message: Forbidden You don't have permission to access /php/php-cgi.exe/phpinfo.php on this server.
View Replies !
XML :: Is It Possible To Use Both On The Same Webserver?
I've done a bit of PHP work before, but I'm still pretty much a newbie to this language. i want to use XML to store data (mainly medical forms, blank and filled). I've seen says that XML is much, much easier to handle with PHP 5 and SimpleXML. the client's box is still running PHP 4.4.0-4, and they don't want to upgrade for fear of breaking the several dozen other sites running on that server. So I have two questions. First, what's the best way to handle XML parsing in PHP 4? Second, are they right to worry that upgrading will break their other sites, or should I try to talk them into it? Is it possible to use both on the same webserver?
View Replies !
Php Setup On Win 2000 IIS
php setup on win 2000 IIS how is it done, i've try but the pages dont show up . any one know of a step by step setup tutrioal on this please. I have phpMyAdmin 2.3.3 and My SQL.
View Replies !
Window 2000 & PHP.ini Set-up
I know i have to change some of the settings in the php.in file, can anyone tell me how to configure this file. At the moment the PHP works but does not save any session cookies. I only use the machine for web development. Spec : - Windows 2000 - PHP 4.2.3
View Replies !
PHP Abused Webserver
I need some help regarding my Apache webserver (2.0.52) that is being abused by spammers. It seems that they are doing cross-site scripting attacks through my webserver, and I need help with stopping it. I installed ModSecurity2 for Apache hoping that it would disable the attacks. The style of the attacks are for example: x.x.x.x - - [01/Jul/2007:21:31:23 +0300] "GET /index2.php?selection=http://x.x.x.x/modules/php.txt? HTTP/1.1" etc... What do I have to do in order to completely disabling this possibility? Is it this option that should be set to 'Off' : allow_url_fopen = On in php.ini?
View Replies !
MS-SQL Server 2000
i have a huge database that is mantained and updated on a daily basis. It is on a MS-SQL 2000 server. I need that data to be exported, preferably by a php script using a cron job every morning, to a MySQL database if anything has changed. I can write the code to do the SQL stuff and maipulate the data, but i'm confused as hell as how to connect to a MS-SQL server using either windows or linux (preferably linux) in order to GET the data! php's documentation of MS-SQL functions is very "lacking".
View Replies !
Webserver Connection Time Out
I have configured php on apache webserver on linux. I want to execute a php script which retrives all records from mysql database and sends them as e-mail. I am retreiving records using While ($row = mysql_fetch_array($santa_query)) { for small databses it is executing fine, but if my database increases around 1300000 records while loop is taking lot of time and after 5 minutes I'm getting connection time out with web server though I increased settimeout in httpd.conf still unable to execute script can any one suggest how to resolve this issue.
View Replies !
Configuring Php & Apache Webserver
Unable to run php files on Linux . php-4.2.2 is preinstalled on RHL 9 .Whenever I run a .php file in the webbrowser(Mozilla) the HTML source code of the file is being displayed instead of the output . I did all the elementary diagnosis stated in the FAQ's like .... 1) $php -i (enter) This command results in pagefule of HTML code (This indicates php is working properly). 2)Inserted the following in httpd.conf file .... AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php .php 3)php4 module "libphp4.so" is seen under /etc/httpd/modules 4)$apachectl configtest (enter) syntax ok (output) According to the www.php.net/manual/installation_FAQ if "$php -i" results in loads of HTML code & if HTML source is displayed when the ".php" is run in the webbrowser then it indicates that php is working properly and the problem lies with the webserver configuration . There is one thing which is bit confusing ...... according to install manual "php.ini" file should be placed under /usr/local/lib ,but i found the file under /etc . According to FAQ if file is under different location (other than default location ) then following line has to be added .. --with-config-file-scan-dir=PATH But even after adding the line there is no change ! Is the problem with the Apache Webserver or php . Where can I find php configuration file & can I make changes to it once it is installed .. I could not find any php directory where such config file could be found . contents of /var/log/httpd/error_log ------------------------------------ [Sat Mar 06 06:47:25 2004] [notice] Digest: generating secret for digest authentication ... [Sat Mar 06 06:47:25 2004] [notice] Digest: done [Sat Mar 06 06:47:26 2004] [notice] Apache/2.0.40 (Red Hat Linux) configured -- resuming normal operations [Sat Mar 06 07:55:05 2004] [error] [client 202.223.68.1] Directory index forbidden by rule: /var/www/html/
View Replies !
|