Pointyhat said:
G5 IMac, 10.4.6 (non-intel)
I've downloaded the PHP package at Entropy and installed it but I just can't seem to get it to run. I can't even find the php.ini file. Do I need to get into Terminal for that? I've also read not to unstuff it using StuffitExpander which is the only expander I've ever used besides TNEF.
If you installed the entropy module correctly the php.ini file will be located in the directory usr/local/php5/lib
To edit it you need to use terminal. Type this into it and it should open in textedit (or your default text editor): open /usr/local/php5/lib/php.ini
For the changes you make to take effect you'll have to restart the web server. You can just restart your computer or go to sharing in system preferences and click stop next to personal web sharing. Start the server and your changes should work.
Pointyhat said:
I've built a form in HTML that points to a .php doc (that I created with TextWrangler) but when I insert info into the form all I get is the code from the .php page.
PHP will only work if the file is in your web-servers directory and you access it through the web-server. I'm assuming that's the problem, but correct me if I'm wrong and I'll try to help you out.
All your sites should reside in the folder library/webserver/documents
You also can't just type in the URL of the file. For example typing this into my browser:
http://Library/WebServer/Documents/liquidfinish/faq/faq.php opens the php file but not the server so it just returns the php code. Instead I need to type in
http://localhost/liquidfinish/faq/faq.php to get to the actual file.
Once again, my apologies if you already realized that. If that's not the problem let me know and I'll try to help out more.