Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
|
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 15th, 2006, 04:20 AM
Registered User
 
Join Date: Dec 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jimmyliew Send a message via Yahoo to jimmyliew
Default PHP Configuration Error?

Description:
------------
The problem due to I've installed PHP Version 5.2.0. FYI, my system is installed with MySQL Server 5.0 and IIS Version 5.1. The same coding executes with no error message when I tested on my web hosting server. (the error message occur while i test it in my local pc)

my question is, am I missing any setting for my PHP configuration? (FYI, i've follow everything written in PHP Manual Installation Guide).


Reproduce code:
---------------
PHP Notice: Undefined index: username in C:\Inetpub\wwwroot\login\index.php on line 3 PHP Notice: Undefined index: password in C:\Inetpub\wwwroot\login\index.php on line 4 PHP Notice: Undefined index: submit in C:\Inetpub\wwwroot\login\index.php on line 51

Expected result:
----------------
It should work because its working in the old version of PHP which is in
hosting server.
 
Old December 15th, 2006, 04:27 AM
Registered User
 
Join Date: Dec 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jimmyliew Send a message via Yahoo to jimmyliew
Default

Really appreciate, if anyone can help me to fix this.
Thanks in advance. :)

Regards,
Jimmy Liew
 
Old December 15th, 2006, 11:42 AM
Authorized User
 
Join Date: Oct 2006
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi jim i think youre php.ini you need to set that but anyway i suggest
for the easiest way to connect all sever connection much better to have either of the two the (XAMPP) and (NETSERVER)

xampp includes evry thing such as:

Apache 2.2.3
MySQL 5.0.27
PHP 5.2.0 & PHP 4.4.4
phpMyAdmin 2.9.1.1
FileZilla FTP Server 0.9.20
OpenSSL 0.9.8d
xampp:-->http://www.apachefriends.org/en/xampp-windows.html
netsever: just visit this link (http://sourceforge.net/projects/netserver/)

i hope this can help ;))



 
Old December 16th, 2006, 06:02 AM
Registered User
 
Join Date: Dec 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jimmyliew Send a message via Yahoo to jimmyliew
Default

hi jhanny,

Sorry to tell you that the problem still remain.
I tried to install PHPBB forum on my local machine, it works. But weird things is my other php application still remain with errors.

Do you have any advice on it? :) Thanks.

Regards,
Jimmy Liew
 
Old December 16th, 2006, 06:32 AM
Authorized User
 
Join Date: Oct 2006
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi

   i think there is another program in your computer which can block your php.....i encountered that kind of problem also my PHP doesn't work well but when i use netserver is worked fine.. I deleted those other program...

 what if you set your local web with local server namely xampp and netserver wherein you dont need to set those php.ini and what so ever...by that if you install one of the two i guess you dont have any problem.....

i hope this can help;))






Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuration of PHP asifah30 Beginning PHP 1 July 30th, 2007 12:25 AM
PHp & Java Configuration maheshoo7 PHP How-To 1 July 4th, 2007 08:03 AM
about php and mysql configuration spbharti BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 April 23rd, 2006 08:25 AM
about php configuration spbharti PHP Databases 4 February 13th, 2006 03:33 PM
Installation and configuration of PHP mbetts BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 4 June 7th, 2003 07:24 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.