Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Enabling PHP in 10.1 UNIX
Apple has included PHP 4.06 in OS X 10.1. Stepwise has the instructions necessary to make it functional - just uncomment the following four lines in /etc/httpd/httpd.conf:
LoadModule php4_module        libexec/httpd/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Stepwise has a nice page of info on changes in 10.1 that covers this and other aspects of the upgrade; give it a visit to see some things to keep in mind as you upgrade.
    •    
  • Currently 3.50 / 5
  You rated: 2 / 5 (2 votes cast)
 
[2,705 views]  

Enabling PHP in 10.1 | 6 comments | Create New Account
Click here to return to the 'Enabling PHP in 10.1' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
apahce 1.3.20 too!
Authored by: moyashi on Sep 30, '01 11:38:47AM

Due to user stupidity, I lost my apache and php ability last week ... short was ended up reinstalling, the system from scratch ... used lot's of hints from here to back up my user folders and figured out how to back up my mysql DBs from the command line.

So, on reinstall I had apache 1.3.19 / php 4.0.4pl1 / and mysql 3-23.42

after installing 10.1 update, I NOW have Apache 1.3.20 and php 4.0.6 (which rob posted ...) the apache install wasn't mentioned here.

Nice thing was that everything worked with no problems.



[ Reply to This | # ]
ahhh need GD support
Authored by: moyashi on Sep 30, '01 10:17:22PM

with the new version of php 4.0.6 GD doesn't seem to be installed ... I went to stepwise did their GD thingy but they leave to your own to finish the rest....

Do I have to reinstall or reconfigure php 4.0.6 to get GD working?



[ Reply to This | # ]
php no go??
Authored by: theolog on Oct 15, '01 05:25:22PM

I uncommented the lines and php code still doesn't seem to be getting processed...any ideas?



[ Reply to This | # ]
.htaccess-file problems
Authored by: thirteen on Oct 16, '01 09:24:09AM

Apache seems not to use the .htaccess - file in my installation.
"AccessFileName .htaccess" is included in httpd.conf - file.
As a consequence the therein included instructions are not executed.
Has anybody advice?



[ Reply to This | # ]
How to
Authored by: kerim on Dec 02, '01 11:12:01AM

I'm new to the command line interface, but I'd like to be able to use PHP (I do on my web site). How can I "uncomment" these lines? Can someone give me a step-by-step. I don't seem to be able to access this file from the desktop, and I don't know how to edit files in the command-line interface. I can change directories and that is about it . . .



[ Reply to This | # ]
How to
Authored by: kerim on Dec 02, '01 11:44:58AM

Forget my last post. I just found "Pseudo" !!!



[ Reply to This | # ]