PHP


Forum: Other Help Topics
Topic: PHP
started by: Bad Command

Posted by Bad Command on Sep. 27 2004,02:53
I've searched the forum and online but cant
seem to get PHP to work with monkey. Can
anyone tell me how they got it working.
(DSL version .8.1.1  if there is anything
different)

Thanks in advance.

Posted by reidar on Sep. 27 2004,07:19
I got php to work both from a live-cd and hd-install. I don't think there is a trick really, only that you have to install php before you startup monkey. I used the php-extension from the mydsl-repository, and it installed as usual, either by clicking a button in the mydsl menu, or by clicking the mydsl-button in emelfm if you have downloaded the to a usb-stick or something. To test if php is working you can create a test.php file and put it in your /opt/monkey-0.8.2/htdocs folder. The file could look like this:

<html>
<body>

<?php phpinfo(); ?>

</body>
</html>

Then you can startup dillo and get to the page: < http://localhost/test.php >
If it displays correctly it should give you lots of information about php and your system, and then this is an indication that php is successfully installed.

This worked for me at least, and I don't know of any other "tricks"...

-r

Posted by Bad Command on Sep. 28 2004,00:22
Thanks missed the php in the MyDSL. Well that took
about......10 seconds :)

Posted by MadRabies on Oct. 17 2004,05:57
This is well and good, however...

How do you configure PHP? I noticed there was no php.ini file after I installed PHP. I did see an executable called php.conf , but all the guides I found about PHP talk about a php.ini file. Where is it?

Particularly the part about changing the maximum upload size. My freinds can't upload 5meg files using my website's php filemanager. UGHH!

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.