php-windows Digest 29 Apr 2009 09:12:52 -0000 Issue 3614 Topics (messages 29287 through 29289):
First PHP program not working 29287 by: Vinay Nagrik How to access MySQL through PHP in windows 2K. 29288 by: Katiyar \(GMail\) Win32 PECL pre-built binaries. 29289 by: Richard Quadling Administrivia: To subscribe to the digest, e-mail: php-windows-digest-subscr...@lists.php.net To unsubscribe from the digest, e-mail: php-windows-digest-unsubscr...@lists.php.net To post to the list, e-mail: php-wind...@lists.php.net ----------------------------------------------------------------------
--- Begin Message ---Hello Group, I am beginner to learning PHP and I am still struggling to start my first php program. I downloaded apache httpd sever, which resides on "Windows XP" under C:\Program Files\Apache Software Foundation\Apache2.2 and directories therein. Similarly the PHP download resides under C:\Program Files\PHP I have made following configuration changes to httpd file, which resides under C:\Program Files\Apache Software Foundation\Apache2.2\conf although it does not show .conf extenstion, but I believe even without .conf extension "Which is hidden", it is the appropriate conf file. The changes ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs" LoadModule php5_module C:\Program Files\php\php5apache2_2.dll PHPIniDir "C:\Program Files\php\" AddType applicaton/x-httpd-php .php for php.ini I made following changes extension_dir = "C:\Program Files\PHP" extension=C:\Program Files\MySQL\MySQL Server5.1\bin\libmySQL.dll doc_root = "C:\Pogram Files\Apache Software Foundation\Apache2.2\htdocs" I have also created a .php test program, which reads like <? phpinfo(); ?> and resides under htdocs directory under Apache installation. The htdocs directory also has an html page. The .html pages residing under htdpcs directory show themselves on following URL, however .php pages do not http://localhost/ shows "It Works" http://localhost/index.html shows "It Works" However, http://localhost/test.php shows "404 error" Can someone help me in configuring my httpd server for php files -- Thanks Nagrik
--- End Message ---
--- Begin Message ---Praveen's MailHi List, I am new to PHP and as well as with MySQL, a.. I have installed PHP 5.28, on win 2K (with IIS) and it is installed properly I suppose, as when I call phpinfo (), through a script, it shows the PHP Information. b.. then I installed MySQL 5.1.30, and through MySQL command prompt I am able to do things (creating tables, making queries etc). c.. Now I want to use MySQL with PHP, but seems that MySQLI is not installed properly. as when I write a following script in a php page I get the error, that 'MySQLi' is not installed properly,. <?php $si = function_exists ( 'mysqli_connect' ) ; if ( $si ) { echo ' MySQLi appears to be installed correctly ' ; } else { echo 'MySQLi <B> does not </B> appears to be installed. ' ; } ?> I understand that it is a configuration error somewhere, as I am new here in this world I am unable to figure out what ? I am attaching the php.ini for the reference. Praveen K. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- =-=-=-=-=-=-= Praveen Katiyar Site : http://praveenkatiyar.co.cc =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- =-=-=-=-=-=-=<<back.jpg>>
--- End Message ---
--- Begin Message ---Hi. What are the plans for providing pre-built Win32 PECL extensions. I've been waiting for http://pecl4win.php.net to become active again. I understand that each extension has to be built MANY times (VC6/VC9, ts/nts, PHP5.0/PHP5.1/PHP5.2/PHP5.3/PHP6.0, etc.) so this is a LOT of effort (20 builds per extension, 40 if debug builds are also performed), but something like this was available a long time ago (http://web.archive.org/web/20071029164203/http://pecl4win.php.net/) Regards, Richard Quadling. -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"
--- End Message ---