Re: [newbie] Starting Apache + PHP

2002-02-01 Thread Andre Dubuc

Hi Todd,

Just received your message today (Feb 1st!). In the meantime, I dumped the 
LM8.0 versions of Apache/PHP and tried source. Not much better.

Anyway, I re-installed LM8.0 versions and, yes, in commonhttpd.conf there are 
those lines which I uncommented. Now, either as user or root, with the test 
file in /var/www/html, I still get text. 

So, how did you activate php? What did you do if you wanted to run a test to 
see if it was working? Where did you do it from (and did you try as user with 
permissions to the group apache? What should I expect to see? Unfortunately, 
I've trashed Netscape's mime-types after trying manually to insert the type: 
whenever I try a php file, it asks me where I want to save it. If only I 
could remember where I deleted entries like that in Netscape . . . :

This has gone beyond an obsession. I've sort of lost track exactly why I want 
php installed, if the installtion causes so much grief, what about when it's 
in use?

Anyway, thanks for the tip. If you've got any other suggestions to get this 
php thing php-ing, I I love to hear them!

Regards,
Andre


On Tuesday 29 January 2002 17:15, you wrote:
 On Tuesday 29 January 2002 03:20 pm, Andre Dubuc wrote:
  The problem with my LM8.0 configuration for Apache is that it doesn't
  have those lines AddType in any of the .conf files! I wondered what
  they were talking about -- and I have checked them all!
 
  In desperation, I finally decided to go source. I d/l the binary from
  Apache, and after my first attempt, I still cannot see my test file. I'll
  have to check my PHP config.

 I think my version of Apache is pretty recent. You don't have a file
 commonhttpd.conf in /etc/httpd/conf? Maybe do a find?

 This is about half-way through my commonhttpd.conf, and I just uncommented
 the last two lines:

  # AddType allows you to tweak mime.types without actually editing it, or
 to # make certain files to be certain types.
  #
  # For example, the PHP 3.x module (not part of the Apache distribution -
 see # http://www.php.net) will typically use:
  #
  #AddType application/x-httpd-php3 .php3
  #AddType application/x-httpd-php3-source .phps
  #
  # And for PHP 4.x, use:
  #
 AddType application/x-httpd-php .php
 AddType application/x-httpd-php-source .phps

 I guess the nice thing about installing it from Mandrake disc is that it's
 already configured. I didn't touch any PHP file. Is moving up to 8.1 (or
 soon, 8.2) an option?

  Perhaps, that's the problem: I'm unclear where any files that I make
  should go. Are they supposed to be put in the /htdocs area in apache's
  directory? Will they work from elsewhere? I've also set up a /public_html
  directory in personal home directory.

 My web files go in /var/www/html. If your root is /htdocs, that's where I
 would put them. I'm not sure but what you may need to give permission to
 normal users to use PHP.

 Maybe try alt.os.linux.mandrake, a PHP or Apache group.

 Todd


Content-Type: text/plain; charset=iso-8859-1; name=message.footer
Content-Transfer-Encoding: 8bit
Content-Description: 


-- 
Please pray the Holy Rosary to end the holocaust of abortion.
Remember in your prayers the suffering souls in Purgatory.

May God bless you abundantly in His love!

For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Starting Apache + PHP

2002-01-29 Thread Todd Slater

On Tuesday 29 January 2002 03:20 pm, Andre Dubuc wrote:

 The problem with my LM8.0 configuration for Apache is that it doesn't have
 those lines AddType in any of the .conf files! I wondered what they were
 talking about -- and I have checked them all!

 In desperation, I finally decided to go source. I d/l the binary from
 Apache, and after my first attempt, I still cannot see my test file. I'll
 have to check my PHP config.

I think my version of Apache is pretty recent. You don't have a file 
commonhttpd.conf in /etc/httpd/conf? Maybe do a find?

This is about half-way through my commonhttpd.conf, and I just uncommented 
the last two lines:

 # AddType allows you to tweak mime.types without actually editing it, or to
 # make certain files to be certain types.
 #
 # For example, the PHP 3.x module (not part of the Apache distribution - see
 # http://www.php.net) will typically use:
 #
 #AddType application/x-httpd-php3 .php3
 #AddType application/x-httpd-php3-source .phps
 #
 # And for PHP 4.x, use:
 #
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

I guess the nice thing about installing it from Mandrake disc is that it's 
already configured. I didn't touch any PHP file. Is moving up to 8.1 (or 
soon, 8.2) an option?

 Perhaps, that's the problem: I'm unclear where any files that I make should
 go. Are they supposed to be put in the /htdocs area in apache's directory?
 Will they work from elsewhere? I've also set up a /public_html directory in
 personal home directory.

My web files go in /var/www/html. If your root is /htdocs, that's where I 
would put them. I'm not sure but what you may need to give permission to 
normal users to use PHP.

Maybe try alt.os.linux.mandrake, a PHP or Apache group.

Todd



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [newbie] Starting Apache + PHP

2002-01-29 Thread FLYNN, Steve

Sounds to me like to you don't have all the necessary apache rpm's
installed. I'd recommend you go into software manager, select flat-listing
and enter apache in the search box. Install anything which is shown.

 -Original Message-
 From: Andre Dubuc [SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, January 29, 2002 8:21 PM
 To:   Todd Slater
 Cc:   [EMAIL PROTECTED]
 Subject:  Re: [newbie] Starting Apache + PHP
 
 On Tuesday 29 January 2002 13:43, you wrote:
 
  Andre,
 
  I just got php up and running (I think) without a fuss. I'm using
 Mandrake
  8.1 and I installed php, php-common, php-manual_en, and php-mysql.
 
  Then, I went to the Apache configuration folder--on my system
  /etc/httpd/conf. I opened commonhttpd.conf with vi, and scrolled down to
  the part about php. I just uncommented two lines (remove the #) about
  AddType blah blah .php and saved it.
 
  I stopped httpd.
  I started httpd
 
  I looked for the most basic script I could find because I don't know
  anything about it, and found a date one here:
  http://www.terrabyte.dc.com.au/phpscripts.php3. I put that in my web
  directory (renamed the text-file .php) and called it and it worked!
 
  I don't know if that will help or not.
 
  Todd
 
 
 Thanks Todd,
 
 The problem with my LM8.0 configuration for Apache is that it doesn't have
 
 those lines AddType in any of the .conf files! I wondered what they were
 
 talking about -- and I have checked them all!
 
 In desperation, I finally decided to go source. I d/l the binary from
 Apache, 
 and after my first attempt, I still cannot see my test file. I'll have to 
 check my PHP config.
 
 Perhaps, that's the problem: I'm unclear where any files that I make
 should 
 go. Are they supposed to be put in the /htdocs area in apache's directory?
 
 Will they work from elsewhere? I've also set up a /public_html directory
 in 
 personal home directory. 
 
 I'm having all sorts of fun installing/uninstalling and generally messing 
 about with these programs. Sure is a great way to find out where
 everything 
 is, and how everything is inter-related. Too bad it doesn't work!
 
 Regards, 
 Andre
 
 -- 
 Please pray the Holy Rosary to end the holocaust of abortion.
 Remember in your prayers the suffering souls in Purgatory.
 
 May God bless you abundantly in His love!
 
 For a free Cenacle Scriptural Rosary Booklet --
 http://www.webhart.net/csrb/
   File: message.footer  


**
This email and any files sent with it are intended only for the named 
recipient. If you are not the named recipient please telephone/email  
the sender immediately. You should not disclose the content or
take/retain/distribute any copies.
**


Norwich Union Life  Pensions Limited
Registered Office 2 Rougier Street
York YO90 1UU
Registered in England Number 3253947
A member of the Norwich Union Marketing Group 
which is regulated by the Personal Investment Authority. 
Member of the Association of British Insurers.

For further Enquires 01603 622200 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Starting Apache + PHP

2002-01-29 Thread Andre Dubuc

Hi Steve,

Well that option has been fully explored: I installed everything! Still no 
go. I just received my LM8.0 Update disk today and dumped my original config, 
reloaded everything, and I was very surprised to find the http.conf file 
exactly like the one that has the missing AddType lines.

I didn't bother with the update disk -- I've already downloaded the Apache 
binary and have source PHP 4.1.1. This version of Apache has the AddType 
lines that can be uncommented. Now it seems to be more of a question of 
permissions for the php files. (At least I've seen the run-tests.php in 
action!)

I don't know what was messed up with the stock LM8.0 config, but my guess, 
from examining the updates, is that PHP had caused a problem. I seem to 
luck-in with these no-go installations !

Anyway, It's been a great learning experience!  (This is terribly excellent 
fun! Much better than the boring ...has performed an illegal operation and 
will be shut down. At least this way I can mess it up some more! :)

Thanks for your suggestion.
Regards,
Andre


On Tuesday 29 January 2002 17:13, you wrote:
 Sounds to me like to you don't have all the necessary apache rpm's
 installed. I'd recommend you go into software manager, select flat-listing
 and enter apache in the search box. Install anything which is shown.

  -Original Message-
  From:   Andre Dubuc [SMTP:[EMAIL PROTECTED]]
  Sent:   Tuesday, January 29, 2002 8:21 PM
  To: Todd Slater
  Cc: [EMAIL PROTECTED]
  Subject:Re: [newbie] Starting Apache + PHP
 
  On Tuesday 29 January 2002 13:43, you wrote:
   Andre,
  
   I just got php up and running (I think) without a fuss. I'm using
 
  Mandrake
 
   8.1 and I installed php, php-common, php-manual_en, and php-mysql.
  
   Then, I went to the Apache configuration folder--on my system
   /etc/httpd/conf. I opened commonhttpd.conf with vi, and scrolled down
   to the part about php. I just uncommented two lines (remove the #)
   about AddType blah blah .php and saved it.
  
   I stopped httpd.
   I started httpd
  
   I looked for the most basic script I could find because I don't know
   anything about it, and found a date one here:
   http://www.terrabyte.dc.com.au/phpscripts.php3. I put that in my web
   directory (renamed the text-file .php) and called it and it worked!
  
   I don't know if that will help or not.
  
   Todd
 
  Thanks Todd,
 
  The problem with my LM8.0 configuration for Apache is that it doesn't
  have
 
  those lines AddType in any of the .conf files! I wondered what they
  were
 
  talking about -- and I have checked them all!
 
  In desperation, I finally decided to go source. I d/l the binary from
  Apache,
  and after my first attempt, I still cannot see my test file. I'll have to
  check my PHP config.
 
  Perhaps, that's the problem: I'm unclear where any files that I make
  should
  go. Are they supposed to be put in the /htdocs area in apache's
  directory?
 
  Will they work from elsewhere? I've also set up a /public_html directory
  in
  personal home directory.
 
  I'm having all sorts of fun installing/uninstalling and generally messing
  about with these programs. Sure is a great way to find out where
  everything
  is, and how everything is inter-related. Too bad it doesn't work!
 
  Regards,
  Andre
 
  --
  Please pray the Holy Rosary to end the holocaust of abortion.
  Remember in your prayers the suffering souls in Purgatory.
 
  May God bless you abundantly in His love!
 
  For a free Cenacle Scriptural Rosary Booklet --
  http://www.webhart.net/csrb/
File: message.footer 

 **
 This email and any files sent with it are intended only for the named
 recipient. If you are not the named recipient please telephone/email
 the sender immediately. You should not disclose the content or
 take/retain/distribute any copies.
 **


 Norwich Union Life  Pensions Limited
 Registered Office 2 Rougier Street
 York YO90 1UU
 Registered in England Number 3253947
 A member of the Norwich Union Marketing Group
 which is regulated by the Personal Investment Authority.
 Member of the Association of British Insurers.

 For further Enquires 01603 622200

-- 
Please pray the Holy Rosary to end the holocaust of abortion.
Remember in your prayers the suffering souls in Purgatory.

May God bless you abundantly in His love!

For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Starting Apache + PHP

2002-01-28 Thread Andre Dubuc

On Saturday 26 January 2002 10:27, you wrote:
 On Saturday 26 January 2002 09:53 am, Andre Dubuc wrote:
  I've installed (in LM 8.0) all the appropriate Apache programs and
  modules, and all the PHP related stuff. In the LinuxConf - Service
  Control, I notice that apache is not listed, and both httpd and webmin
  are running.
 
  What do I have to do to get a working server so that I can test any
  code that I write in html/php? (Can I use my only computer as a
  stand-alone server, and access it as a client? I assume that I should be
  able to do something like that especially since freeciv sets up
  server/client on my machine.)
 
  If someone could point me in the right direction, it would save me wading
  through tons of documentation that assumes I have Apache up-and-running!
  Help?

 Andre, I'm a newbie too, but I think this is one question I can answer! If
 you have httpd running, then Apache is running. By default it installs the
 web documents in the directory /var/www/html. There is also
 /var/www/cgi-bin where all the scripts can go.

 You can access your web stuff by typing http://localhost in your browser.
 If you know your IP address, you can type that in as well. You should get a
 page telling about the version of Apache that you are running. That's just
 to let you know that the server is running.

 To avoid having to be root to add/change to your web directory, you have to
 add yourself to the group Apache. This can be done using UserDrake. Then,
 you should give the group write access to /var/www. Do this by typing
 chmod g+w /var/www. That gives the group write permissions to the
 directory. You may have to log out and back in for that to take effect, I'm
 not sure. Then you should be able to edit and write new stuff in your
 /var/www/html directory.

 If your users want to have web pages, they have to create a directory in
 their home directory called public_html. That's where they put all their
 web stuff. Then the user has to issue the command chmod 755 ~USERNAME.
 Then the user's directory can be reached by http://yourip/~username;.

 HTH,
 Todd


Hi Todd,

I've been struggling with the PHP module trying to get it to work. I've 
followed your instructions, but the Apache module doesn't seem to recognize 
PHP. I ran the test.php (? phpinfo() ; ?) and I just see the text as it is 
written here.

In the docs, they mention that I should ad AddType application/x-http-php 
.php in the http.conf. I'm not exactly sure where I should add this: I've 
placed it after the include statement in the Global Configuration. 
Problem is: in the Mime.types it doesn't show up. I can't get the AddType 
to work, so of course, PHP is non-functional in any test.

I've d/l the newest stable version of PHP, followed all the instructions 
(with/without, in various combinations, the following: Mysql, Postgresql, 
Apache. PHP) I've tried the bare-bones approach: only Apache and PHP - 
installing PHP 1st, then Apache first from LM8.0.  Nothing seems to work. I 
do get the Apache splash screen. I've loaded Webmin, and then removed it with 
little effect. (I've followed PHP instructions --with-mysql=/path. ...)

This is becoming an obsession -- almost like my attempts with HylaFax!

If you have any ideas on how to get PHP up-and-running, I'd greatly 
appreciate your assistance. I can't develop my new web-site until I get PHP 
functional.

Perhaps you could send me a copy of your (working) httpd.conf and php.ini 
files so I could maybe see what I've messed up. (Btw, in my last LM8.0 
install of PHP, I couldn't find php.ini anywhere.

Sorry to be so long-winded, but this is . . .  sigh!

Tia,
Andre



-- 
Please pray the Holy Rosary to end the holocaust of abortion.
Remember in your prayers the suffering souls in Purgatory.

May God bless you abundantly in His love!

For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] Starting Apache + PHP

2002-01-26 Thread Andre Dubuc

I'm not even sure how to ask this: that's how abysmal my knowledge of 
servers. I would like to learn scripting in PHP, and I need to run an Apache 
server to test the code.

I've installed (in LM 8.0) all the appropriate Apache programs and modules, 
and all the PHP related stuff. In the LinuxConf - Service Control, I notice 
that apache is not listed, and both httpd and webmin are running.

What do I have to do to get a working server so that I can test any code 
that I write in html/php? (Can I use my only computer as a stand-alone 
server, and access it as a client? I assume that I should be able to do 
something like that especially since freeciv sets up server/client on my 
machine.)

If someone could point me in the right direction, it would save me wading 
through tons of documentation that assumes I have Apache up-and-running! Help?

Tia,
Andre


-- 
Please pray the Holy Rosary to end the holocaust of abortion.
Remember in your prayers the suffering souls in Purgatory.

May God bless you abundantly in His love!

For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Starting Apache + PHP

2002-01-26 Thread Michael Viron

Take a look at
http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/page1.html ,
which guides you step by step through setting up an apache web server,
along with mysql, php, and mod_ssl.

Michael

--
Michael Viron
Registered Linux User #81978
Senior Systems  Administration Consultant
Web Spinners, University of West Florida

At 09:53 AM 01/26/2002 -0500, Andre Dubuc wrote:
I'm not even sure how to ask this: that's how abysmal my knowledge of 
servers. I would like to learn scripting in PHP, and I need to run an Apache 
server to test the code.

I've installed (in LM 8.0) all the appropriate Apache programs and modules, 
and all the PHP related stuff. In the LinuxConf - Service Control, I notice 
that apache is not listed, and both httpd and webmin are running.

What do I have to do to get a working server so that I can test any code 
that I write in html/php? (Can I use my only computer as a stand-alone 
server, and access it as a client? I assume that I should be able to do 
something like that especially since freeciv sets up server/client on my 
machine.)

If someone could point me in the right direction, it would save me wading 
through tons of documentation that assumes I have Apache up-and-running!
Help?

Tia,
Andre


-- 
Please pray the Holy Rosary to end the holocaust of abortion.
Remember in your prayers the suffering souls in Purgatory.

May God bless you abundantly in His love!

For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Starting Apache + PHP

2002-01-26 Thread Larry Varney

   I picked up a book, PHP Fast  Easy Web Development, by Julie C. 
Meloni, and it comes with a CD containing Apache, PHP and MySQL - both 
Windows and Linux versions. The explanations and exercises are very good.

Andre Dubuc wrote:

 I'm not even sure how to ask this: that's how abysmal my knowledge of 
 servers. I would like to learn scripting in PHP, and I need to run an Apache 
 server to test the code.
 
 I've installed (in LM 8.0) all the appropriate Apache programs and modules, 
 and all the PHP related stuff. In the LinuxConf - Service Control, I notice 
 that apache is not listed, and both httpd and webmin are running.
 
 What do I have to do to get a working server so that I can test any code 
 that I write in html/php? (Can I use my only computer as a stand-alone 
 server, and access it as a client? I assume that I should be able to do 
 something like that especially since freeciv sets up server/client on my 
 machine.)
 
 If someone could point me in the right direction, it would save me wading 
 through tons of documentation that assumes I have Apache up-and-running! Help?
 
 Tia,
 Andre
 
 


-- 
Larry Varney
Cold Spring, KY
http://w3.one.net/~lvarney




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Starting Apache + PHP

2002-01-26 Thread ed

The htpd you are seeing is the Apache deamon.  To be sure that php is
working, do httpd -l from the command line and you will see the compiled
modules - or view them from webmin since you have it running.

Also, if you start a browser and try http://127.0.0.1 the Apache info and
congratualtions page will pop up

Ed Kasky
Los Angeles, CA
~~~
Gravitation is not responsible for people falling in love.
~ Albert Einstein

On Sat, 26 Jan 2002, Andre Dubuc wrote:

 I'm not even sure how to ask this: that's how abysmal my knowledge of 
 servers. I would like to learn scripting in PHP, and I need to run an Apache 
 server to test the code.
 
 I've installed (in LM 8.0) all the appropriate Apache programs and modules, 
 and all the PHP related stuff. In the LinuxConf - Service Control, I notice 
 that apache is not listed, and both httpd and webmin are running.
 
 What do I have to do to get a working server so that I can test any code 
 that I write in html/php? (Can I use my only computer as a stand-alone 
 server, and access it as a client? I assume that I should be able to do 
 something like that especially since freeciv sets up server/client on my 
 machine.)
 
 If someone could point me in the right direction, it would save me wading 
 through tons of documentation that assumes I have Apache up-and-running! Help?
 
 Tia,
 Andre
 
 
 -- 
 Please pray the Holy Rosary to end the holocaust of abortion.
 Remember in your prayers the suffering souls in Purgatory.
 
 May God bless you abundantly in His love!
 
 For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/
 
 




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Starting Apache + PHP

2002-01-26 Thread Andre Dubuc

On Saturday 26 January 2002 10:27, you wrote:
 On Saturday 26 January 2002 09:53 am, Andre Dubuc wrote:
  I've installed (in LM 8.0) all the appropriate Apache programs and
  modules, and all the PHP related stuff. In the LinuxConf - Service
  Control, I notice that apache is not listed, and both httpd and webmin
  are running.
 
  What do I have to do to get a working server so that I can test any
  code that I write in html/php? (Can I use my only computer as a
  stand-alone server, and access it as a client? I assume that I should be
  able to do something like that especially since freeciv sets up
  server/client on my machine.)
 
  If someone could point me in the right direction, it would save me wading
  through tons of documentation that assumes I have Apache up-and-running!
  Help?

 Andre, I'm a newbie too, but I think this is one question I can answer! If
 you have httpd running, then Apache is running. By default it installs the
 web documents in the directory /var/www/html. There is also
 /var/www/cgi-bin where all the scripts can go.

 You can access your web stuff by typing http://localhost in your browser.
 If you know your IP address, you can type that in as well. You should get a
 page telling about the version of Apache that you are running. That's just
 to let you know that the server is running.

 To avoid having to be root to add/change to your web directory, you have to
 add yourself to the group Apache. This can be done using UserDrake. Then,
 you should give the group write access to /var/www. Do this by typing
 chmod g+w /var/www. That gives the group write permissions to the
 directory. You may have to log out and back in for that to take effect, I'm
 not sure. Then you should be able to edit and write new stuff in your
 /var/www/html directory.

 If your users want to have web pages, they have to create a directory in
 their home directory called public_html. That's where they put all their
 web stuff. Then the user has to issue the command chmod 755 ~USERNAME.
 Then the user's directory can be reached by http://yourip/~username;.

 HTH,
 Todd


Thanks Todd,

That ot me up-and-running! I also understand what httpd is now (I never 
noticed the comments on the bottom of LinuxConf screen when I checked httpd!)

I still can't load any php test scripts, even though the modules are loaded 
in httpd.conf. I wonder whether the test script needs to be written in php.4 
(it's php.3) -- even though I loaded the older modules as well in 
httpd.conf. Obviously, I think you can tell I don't know what I'm doing here!

I think I'll have to do some reading as Michael suggested  . . . sigh!

One last thing, what effect will chmod g+w /var/www have on Bastille? It 
doesn't seem to like that command too much. I'm a littel leary about changing 
pemissions to programs and files that I don't know too much about. 

Regard,
Andre 
Please pray the Holy Rosary to end the holocaust of abortion.
Remember in your prayers the suffering souls in Purgatory.

May God bless you abundantly in His love!

For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Starting Apache + PHP

2002-01-26 Thread Andre Dubuc

Thanks Ed,

I tried httpd -l from the command line and I got:

bash: httpd: command not found  (neither as ~ or root)

I wonder whether php is working, since the little php test script doesn't 
work.

Any ideas?

Tia,
Regards,
Andre



On Saturday 26 January 2002 11:12, you wrote:
 The htpd you are seeing is the Apache deamon.  To be sure that php is
 working, do httpd -l from the command line and you will see the compiled
 modules - or view them from webmin since you have it running.

 Also, if you start a browser and try http://127.0.0.1 the Apache info and
 congratualtions page will pop up

 Ed Kasky
 Los Angeles, CA
 ~~~
 Gravitation is not responsible for people falling in love.
 ~ Albert Einstein

 On Sat, 26 Jan 2002, Andre Dubuc wrote:
  I'm not even sure how to ask this: that's how abysmal my knowledge of
  servers. I would like to learn scripting in PHP, and I need to run an
  Apache server to test the code.
 
  I've installed (in LM 8.0) all the appropriate Apache programs and
  modules, and all the PHP related stuff. In the LinuxConf - Service
  Control, I notice that apache is not listed, and both httpd and webmin
  are running.
 
  What do I have to do to get a working server so that I can test any
  code that I write in html/php? (Can I use my only computer as a
  stand-alone server, and access it as a client? I assume that I should be
  able to do something like that especially since freeciv sets up
  server/client on my machine.)
 
  If someone could point me in the right direction, it would save me wading
  through tons of documentation that assumes I have Apache up-and-running!
  Help?
 
  Tia,
  Andre
 
 
  --
  Please pray the Holy Rosary to end the holocaust of abortion.
  Remember in your prayers the suffering souls in Purgatory.
 
  May God bless you abundantly in His love!
 
  For a free Cenacle Scriptural Rosary Booklet --
  http://www.webhart.net/csrb/


Content-Type: text/plain; charset=us-ascii; name=message.footer
Content-Transfer-Encoding: 8bit
Content-Description: 


-- 
Please pray the Holy Rosary to end the holocaust of abortion.
Remember in your prayers the suffering souls in Purgatory.

May God bless you abundantly in His love!

For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Starting Apache + PHP

2002-01-26 Thread Larry Varney

   Yes, the ISBN is 0-7615-3055-x. It's published by Prima Tech.

sda wrote:

 On Sat, Jan 26, 2002 at 10:26:34AM -0500, Larry Varney wrote:
 
  I picked up a book, PHP Fast  Easy Web Development, by Julie C. 
Meloni, and it comes with a CD containing Apache, PHP and MySQL - both 
Windows and Linux versions. The explanations and exercises are very good.

 
 
 Larry - do you have the ISBN# for this book?
 
 
 
 
 
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com
 


-- 
Larry Varney
Cold Spring, KY
http://w3.one.net/~lvarney




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com