Hi,
I just purchased my first Mac which I will be using as a standaone web
development machine. It shipped with Apache 1.3, but being a longtime
windows user I can't seem to figure out how to turn on the Global
variables, or even find the configuration files. I'm currently running
PHP 5.0.4.
Any help would be greatly appreciated as I am going insane trying to
figure this out.
Thanks for your help,
Kevin 2 1195
Global variables that you might want to use are enabled by default. If
you want to use the global variables that have been disabled since
4.2.0, you might want to refer to http://www.php.net/manual/en/languag...predefined.php
Steve Doria http://blog.stevedoria.net/
Kevin Cloutier wrote: Hi,
I just purchased my first Mac which I will be using as a standaone web development machine. It shipped with Apache 1.3, but being a longtime windows user I can't seem to figure out how to turn on the Global variables, or even find the configuration files. I'm currently running PHP 5.0.4.
Any help would be greatly appreciated as I am going insane trying to figure this out.
Thanks for your help,
Kevin
Hi Steve,
Thanks, I think I am so used to this being way more difficult than it
shouild (i.e. windows), that I am over thinking everything.
Again, thanks for the help,
Kevin
Steve Doria wrote: Global variables that you might want to use are enabled by default. If you want to use the global variables that have been disabled since 4.2.0, you might want to refer to http://www.php.net/manual/en/languag...predefined.php
Steve Doria http://blog.stevedoria.net/
Kevin Cloutier wrote:
Hi,
I just purchased my first Mac which I will be using as a standaone web development machine. It shipped with Apache 1.3, but being a longtime windows user I can't seem to figure out how to turn on the Global variables, or even find the configuration files. I'm currently running PHP 5.0.4.
Any help would be greatly appreciated as I am going insane trying to figure this out.
Thanks for your help,
Kevin This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: lawrence |
last post by:
I get the impression that most people who are using objects in their
PHP projects are mixing them with procedural code. The design, I
think, is one where the procedural code is the client code, and...
|
by: Frostillicus |
last post by:
I'm trying to use array_multisort to sort by one of the dimensions of an
array stored in $GLOBALS like this:
array_multisort($GLOBALS, SORT_STRING, SORT_DESC);
Each "row" in $GLOBALS contains...
|
by: John |
last post by:
Hi,
I'm looking for the best way to deal with globals in PHP.
As a 'C' software developer, I would normally avoid all
globals and not have any at all, but use structs and pass
everything in...
|
by: Robert Dodier |
last post by:
Hello,
I'm interested in introducing new variables into the environment
of a Python interpreter or program.
In reading through old posts to this newsgroup, I see there is
an often-repeating...
|
by: tedsuzman |
last post by:
-----
def f():
ret = 2
exec "ret += 10"
return ret
print f()
-----
The above prints '12', as expected. However,
|
by: It's me |
last post by:
I am new to the Python language.
How do I do something like this:
I know that
a = 3
y = "a"
print eval(y)
|
by: DFS |
last post by:
Not sure whether it's bad programming practice or not, but I have a module
of globals I declare in each system:
Global ws As Workspace
Global db As Database
Global td As TableDef
Global rs As...
|
by: xml0x1a |
last post by:
How do I use exec?
Python 2.4.3
----
from math import *
G = 1
def d():
L = 1
exec "def f(x): return L + log(G) " in globals(), locals()
f(1)
|
by: Steven W. Orr |
last post by:
I have two seperate modules doing factory stuff which each have the
similar function2:
In the ds101 module,
def DS101CLASS(mname,data):
cname = mname+'DS101'
msg_class = globals()
msg =...
|
by: cokofreedom |
last post by:
if __name__ == '__main__':
print "Globals (For Loop):"
try:
for i in globals():
print "\t%s" % i
except RuntimeError:
print "Only some globals() printed\n"
else:
print "All globals()...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |