php-windows Digest 23 May 2006 07:21:15 -0000 Issue 2967
Topics (messages 26916 through 26918):
Configuration problem?
26916 by: Bill Angus
26918 by: Dale D. Attree
Re: Last supported version for windows 95
26917 by: Aaron Kenney
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
I have php installed and a working copy of phpMyAdmin, MySQL and Apache2.0.58
on a windows2k box.
phpMyAdmin works fine, as do a couple of other php scripts. However, when I go
to try to code in php myself, I get a blank screen. I downloaded zend-studio to
try to see if I could trace the fault with my setup. The studio shows that I
can do simple echo scripts -- but that I get the following error when I try to
connect to the mySQL database
Debug Error: C:\Homepage\psychtest\private\search.htm line 13 - Call to
undefined function mysql_pconnect()
the following call (from your php tutorial) also returns nothing.
echo $_SERVER['HTTP_USER_AGENT'];
The zend studio debugger returns the following message...
Notice: C:\Homepage\psychtest\private\search.htm line 10 - Undefined index:
HTTP_USER_AGENT
Am I supposed to insert a reference to a library of functions somewhere at the
start of my code?
I was able to enter phpinfo in the zend debugger, and I noticed that the info
returned was NOT the same as the settings in the php.ini file in my
C:/php/php.ini file.
Thanks in advance for any ideas or suggestions you can provide. Have a great
day!
Bill Angus, MA
http://www.psychtest.com
--- End Message ---
--- Begin Message ---
Place your php.ini file in C:\WINNT
Ensure that you have included php_mysql.dll in your ini file.
Ensure registered globals on turned on if you wish to use $_SERVER
-----Original Message-----
From: Bill Angus [mailto:[EMAIL PROTECTED]
Sent: Monday, May 22, 2006 8:29 PM
To: [email protected]
Subject: [PHP-WIN] Configuration problem?
I have php installed and a working copy of phpMyAdmin, MySQL and
Apache2.0.58 on a windows2k box.
phpMyAdmin works fine, as do a couple of other php scripts. However,
when I go to try to code in php myself, I get a blank screen. I
downloaded zend-studio to try to see if I could trace the fault with my
setup. The studio shows that I can do simple echo scripts -- but that I
get the following error when I try to connect to the mySQL database
Debug Error: C:\Homepage\psychtest\private\search.htm line 13 - Call to
undefined function mysql_pconnect()
the following call (from your php tutorial) also returns nothing.
echo $_SERVER['HTTP_USER_AGENT'];
The zend studio debugger returns the following message...
Notice: C:\Homepage\psychtest\private\search.htm line 10 - Undefined
index: HTTP_USER_AGENT
Am I supposed to insert a reference to a library of functions somewhere
at the start of my code?
I was able to enter phpinfo in the zend debugger, and I noticed that the
info returned was NOT the same as the settings in the php.ini file in my
C:/php/php.ini file.
Thanks in advance for any ideas or suggestions you can provide. Have a
great day!
Bill Angus, MA
http://www.psychtest.com
--- End Message ---
--- Begin Message ---
I don't believe this list should become a platform for the Windows VS
Linux debate. I did my best to suggest nothing as to how he would get
Windows 2000, because quite frankly, I don't have a suggestion, or a
solution. I do know that a mondern-day Linux distro would be just as
resource intensive, unless you'd expect a Windows guy to work strictly
from the console.
All I am trying to suggest is that if you are going to make the jump
to Linux/Apache and you are not familiar with either, be prepared to
devote time to getting it working. Otherwise, stick with what works
instead of trying to "reinvent the wheel."
-Aaron Kenney
On 5/22/06, Alf Stockton <[EMAIL PROTECTED]> wrote:
Aaron Kenney wrote:
> Everyone,
>
> We all need to remember also that once a person is used to Windows,
> Linux is a learning curve (albeit a small one) that doesn't need to be
> acheived if one has access to Windows. No one wants to spend time
> where it is not required to get the job done.
>
> I've set up PHP on Apache on Fedora 4 and 5. Done using yum, this can
> actually be an easier setup than on Windows. But I have found the
> MANUAL installation on Fedora to be more difficult than that of the
> MANUAL installation on Windows/IIS simply because I am less familiar
> with Fedora. There are some situations where I have been forced to use
> a manual installation of PHP, so this is always a concern for me.
>
> I say if you just want to get PHP up-and-running quick and dirty,
> stick with what you know so that no time is wasted.
>
As the original question included inter alia:-
>> >> Well I'm calling for your help after days and nights of trying the
>> >> installation of php with no results.
>> >> My only sin is to have an unsupported OS (win 95 and PWS 4), so >>
>> >> every installation of any version have seem close to a nightmare.
>> >>
Are you suggesting that John Jairo Vega Angulo should go out and buy(I
am sure that you are not suggesting that he steals one) a copy of a
suitable version of Windows to then discover that on his old hardware it
runs as slow as a pig and therefore should also go out and buy some new
hardware. As well as go through the learning curve of the new Windows OS.?
--
Regards,
Alf Stockton www.stockton.co.za
You like to form new friendships and make new acquaintances.
My email disclaimer is available at www.stockton.co.za/disclaimer.html
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---