• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: PHP setup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PHP setup


  • Subject: Re: PHP setup
  • From: "Dean Ouellette.ws" <email@hidden>
  • Date: Thu, 6 Feb 2003 06:53:00 -0500

When I run config test I get this, any ideas what it means

% apachectl configtest
Syntax error on line 361 of /etc/httpd/httpd.conf:
DocumentRoot must be a directory


On Wednesday, February 5, 2003, at 11:20 PM, Dean Ouellette.ws wrote:

Newbie here trying to get php running

Running OS 10.2

During the restart I am getting an error every time, anyone know what
is going on?

This worked
[dean-computer:~] dean% cd /etc/httpd
[dean-computer:/etc/httpd] dean% sudo apxs -e -a -n php4
libexe/httpd/libphp4.so
Password:
[activating module `php4' in /private/etc/httpd/httpd.conf]
cp /private/etc/httpd/httpd.conf /private/etc/httpd/httpd.conf.bak
cp /private/etc/httpd/httpd.conf.new /private/etc/httpd/httpd.conf
rm /private/etc/httpd/httpd.conf.new
[dean-computer:/etc/httpd] dean% sudo perl -p -i.bak -e 's%#(AddType
\S+-php[ -])%$1%i' httpd.conf

Then this part fails every time

% sudo apachectl graceful
/usr/sbin/apachectl graceful: configuration broken, ignoring restart
/usr/sbin/apachectl graceful: (run 'apachectl configtest' for details)
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.



______________________________________
Dean Ouellette
High Street Communications
(603) 264-5838
(603) 584-0403 Fax
email@hidden
http://www.highstreetcommunications.com
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: PHP setup
      • From: David Holt <email@hidden>
References: 
 >PHP setup (From: "Dean Ouellette.ws" <email@hidden>)

  • Prev by Date: java client beginner question
  • Next by Date: Re: Checkbox inside a WORepetition
  • Previous by thread: PHP setup
  • Next by thread: Re: PHP setup
  • Index(es):
    • Date
    • Thread