Koozali.org: home of the SME Server

PHP and E-Smith

Geoff

PHP and E-Smith
« on: April 27, 2000, 12:53:58 PM »
Hello again,
Does anyone have a nice RPM of PHP 3.0.15 or 3.0.16 that works on E-Smith 4.06? I downloaded one from Redhat but it keeps asking for a libttf file that isnt on the system. Could someone that has built PHP on an E-Smith server package and send me the RPM? I don't have gcc or any compilers for E-Smith and I currently don't have a second linux box to use for development :(

-thanks
-=geoff

Charlie Brady

RE: PHP and E-Smith
« Reply #1 on: April 27, 2000, 03:56:42 PM »
Geoff wrote:

> Hello again, Does anyone have a nice RPM of PHP 3.0.15 or
> 3.0.16 that works on E-Smith 4.06? I downloaded one from Redhat
> but it keeps asking for a libttf file that isnt on the system.

You can still install that RPM by using "rpm -iv --nodeps ....rpm". Or are you saying that you have installed it, and you get a run-time error? I think the former. You can install it even without required packages installed, there will just be some features not available - in your case, TrueType font features.

You will need to customise the Apache configuration to make use of PHP - there is some documentation available at http://www.e-smith.org/custom/ to help you do that.

Regards

Charlie

Geoff

RE: PHP and E-Smith
« Reply #2 on: April 28, 2000, 12:44:04 AM »
Hi Charlie,
Well I got php installed using --nodeps but i still get some really strange results. The first is when I do a "whereis" it doesn't show up as being installed. I did a re-start of the server this morning also, and when it came back up there was no web access. I checked it and httpd hadn't loaded because of of errors in the httpd.conf file. I checked the errors and the are the result of php and that "libttf" that I had mentioned before. Any ideas? I had to comment out line 139 and 185 to get httpd to load. The errors were syntax errors, if you would like I can reproduce the errors.

-thanks

Charlie Brady

RE: PHP and E-Smith
« Reply #3 on: April 28, 2000, 05:03:44 AM »
Geoff wrote:

> Hi Charlie, Well I got php installed using --nodeps but i still
> get some really strange results. The first is when I do a
> "whereis" it doesn't show up as being installed. I
> did a re-start of the server this morning also, and when it
> came back up there was no web access. I checked it and httpd
> hadn't loaded because of of errors in the httpd.conf file. I
> checked the errors and the are the result of php and that
> "libttf" that I had mentioned before. Any ideas?

I'm sorry Geoff, but there is a limit to how much I can help once you try to make custom changes. I hope we can make such commonly requested customisations easier to do, but at the moment the focus is on making the e-smith server/gateway as easy to set up and as robust and reliable as possible.

Regards

Charlie

Geoff

RE: PHP and E-Smith
« Reply #4 on: April 28, 2000, 05:08:44 AM »
not even a suggestion?

Dan

RE: PHP and E-Smith
« Reply #5 on: April 30, 2000, 02:25:52 AM »
Geoff wrote:

> not even a suggestion?

I'd suggest using a different RPM of PHP that doesn't have that dependancy.  Don't really know where to get them, though.  I've been working on a PHP4 RPM, but I don't think it's quite ready for release yet.

If you want to see what errors are occurring when trying to start the web server, you can try starting it again by running /etc/rc.d/init.d/httpd start.