image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old September 5th, 2002, 11:07 AM
macfreak88's Avatar
Bring me Tiger!
 
Join Date: Mar 2002
Location: [S w e d e n]
Posts: 233
Thanks: 0
Thanked 0 Times in 0 Posts
macfreak88 is on a distinguished road
Unhappy i Cant make PHP work in Jaguar!

Hi!,

Since i installed Jaguar cant get PHP working. Before it was working perfectly.

But now itīs just shows the the text source of it, instead of the page.
I tried to re-install just as it said in the PHP Howto on this site. But it doesnīt work.

hmmm pleez help me with this!
__________________
| G5 1Gb RAM | Mac Os X 10.3 Panther | @: iPodman |
Reply With Quote
  #2  
Old September 5th, 2002, 12:05 PM
3mors's Avatar
HampCake Studios
 
Join Date: Oct 2001
Posts: 660
Thanks: 0
Thanked 0 Times in 0 Posts
3mors is on a distinguished road
Doesn't work as there's no liphp4.so in libexec/ folder.
U have to download it.

Try this page:
http://www.entropy.ch/software/macosx/php/

I hav Jaguar installed and I used this instruction to install PHP and MySQL.
All works greatly.
__________________
3mors
------------------------------------------------------
iMac G5 20"/MacBook Pro 17"/PowerBook G4
------------------------------------------------------
Reply With Quote
  #3  
Old September 5th, 2002, 01:30 PM
twister's Avatar
Howdy
 
Join Date: Oct 2000
Location: Minneapolis MN
Posts: 2,517
Thanks: 0
Thanked 1 Time in 1 Post
twister is on a distinguished road
also check this out....
http://www.macosx.com/forums/showthr...threadid=21627

Twister
__________________
:: TwisterMc ::
:: Wrestling Gear : iPox Firefox Skin ::
Reply With Quote
  #4  
Old September 5th, 2002, 03:50 PM
Excalibur's Avatar
Registered User
 
Join Date: Sep 2001
Location: Bay Area, CA
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Excalibur is on a distinguished road
PHP

You don't have to DL anything. Just uncomment this line in the httpd.conf file

LoadModule php4_module libexec/httpd/libphp4.so

Then you want to add these lines.

AddType application/x-httpd-php .php
AddType application/x-httpd-php3 .php3


I added it under the addtype of the .shtml files. Save then restart Apache.
__________________

.: Quicksilver G4 1.33GHz: OSX 10.4.1: Radeon9800Pro: 1.5GB: 80GB
.: Al 15" 1.25GHz: 10.4.1: Radeon9600Mobility: 512MB: 80GB: Superdrive: AE: Bluetooth
.: www.excalibur-design.com :.
.: End of line...
Reply With Quote
  #5  
Old September 5th, 2002, 06:21 PM
macfreak88's Avatar
Bring me Tiger!
 
Join Date: Mar 2002
Location: [S w e d e n]
Posts: 233
Thanks: 0
Thanked 0 Times in 0 Posts
macfreak88 is on a distinguished road
Thx Guys!

I have it up and running now . But how do i enable MySQL, I was just making e new account on the computer when it said "Youre already have a user with that name".

I know i have deleted one but not right i think but how do i get rid of it so i can make a new fresh one?, If i get support on this what shall i do next
__________________
| G5 1Gb RAM | Mac Os X 10.3 Panther | @: iPodman |
Reply With Quote
  #6  
Old September 5th, 2002, 09:38 PM
twister's Avatar
Howdy
 
Join Date: Oct 2000
Location: Minneapolis MN
Posts: 2,517
Thanks: 0
Thanked 1 Time in 1 Post
twister is on a distinguished road
Hay Excalibur how do i do that? Get into the httpd.config file. I don't play with the terminal much.

Twister
__________________
:: TwisterMc ::
:: Wrestling Gear : iPox Firefox Skin ::
Reply With Quote
  #7  
Old September 6th, 2002, 03:09 AM
3mors's Avatar
HampCake Studios
 
Join Date: Oct 2001
Posts: 660
Thanks: 0
Thanked 0 Times in 0 Posts
3mors is on a distinguished road
http://www.entropy.ch/software/macosx/

U can find all the instructions to install PHP, MySQL, PostgreSQL, OpenLDAP and other services on Mac OS X 10.1.x or Mac OS X 10.2.x.
__________________
3mors
------------------------------------------------------
iMac G5 20"/MacBook Pro 17"/PowerBook G4
------------------------------------------------------
Reply With Quote
  #8  
Old September 6th, 2002, 04:43 AM
uoba's Avatar
Re: member
 
Join Date: Aug 2001
Location: Merseyside, UK
Posts: 1,726
Thanks: 0
Thanked 0 Times in 0 Posts
uoba is on a distinguished road
twister, if you want to edit/look at Apache's httpd.conf file then type the following into the terminal:

cd /private/etc/httpd/
ls


Now, if you just wanna look at the file type:

pico httpd.conf


... but if you want to edit the file then type:

sudo pico httpd.conf


You should now see the glory which is your web server configuration! Take time looking through it because there are a lot of things which are easily editable (it's so well documented).

If you do make any changes using pico then once you've exited pico, in your terminal type:

sudo apachectl restart


to restart Apache. If you get an error message (aborted restart), then you have misconfigured something, so you'll have to go back and correct what you did.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting jaguar - what won't work? edX Mac OS X System & Mac Software 5 February 2nd, 2003 05:31 AM
php 4.2.3 from source make problems alligatorTim Design & Media 0 December 5th, 2002 09:10 PM
Enabling PHP in 10.2 Client sixthring Mac OS X System & Mac Software 2 October 28th, 2002 01:48 PM
How to compile stuff fintler Unix & X11 1 August 28th, 2002 08:57 AM
make just won\\\\\\\'t work redbird Mac OS X System & Mac Software 6 January 9th, 2001 06:03 PM


All times are GMT -5. The time now is 03:11 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.