PHP, the real solution?

mikasjoman

Registered
Hi, I have been working on Lasso since the first version on OS X.

Now, I´m looking at PHP - just for fun, but I can´t find any SIMPLE way of starting up the one we have in 10.1.

I have read all the posts, and the posts tell people on how to download another package than the one that is pre built in OS X:

So...

I need to configurate the httpd.conf

I found this:

#LoadModule php4_module libexec/httpd/libphp4.so
#AddModule mod_php4.c
# http://www.php.net) will typically use:
#AddType application/x-httpd-php3 .php3
#AddType application/x-httpd-php3-source .phps
#AddType application/x-httpd-php .php
#AddType application/x-httpd-php-source .phps


Should I add all of these? (exept the php3)

Is there anything else that I have to do???

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

I have done this, but even the moast simple php script won´t run.

Any comments?

Please don´t tell me to try another php version than the built in - in 0s x 10.1

Kind regards Mika
 
Hi

I've uncommented all lines containing 'php4' and it worked for me. (there should be a 'loadmodule' line and a 'addtype' line or two)

HTH

Sargon
 
Back
Top