Date: Thu, 23 Sep 2004 21:23:57 +0200 From: Benjamin Walkenhorst <krylon@gmx.net> To: freebsd-questions@freebsd.org Subject: Re: PHP Problem Message-ID: <20040923212357.1c98ba44.krylon@gmx.net> In-Reply-To: <2d78fff4179f5.4152ba92@usc.edu> References: <2d78fff4179f5.4152ba92@usc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 23 Sep 2004 11:59:14 -0700 digish reshamwala <reshamwa@usc.edu> wrote: > Hi > > I have installed Apache Mod_ssl 1.3.29 first then, > I installed PHP using ports in FreeBSD 5.2.1 as: > > cd /usr/ports/www/php4-cgi > make > make install clean > > But my PHP doesn't seems to be working, as my simple Hello World > program- [ Hello-world-code snipped ] > doesn't give any output. It just displays the blank page. > > Can u guys help me asap, please??! Well, strictly speaking, this does not belong here. ... Furthermore, you aren't giving much information... Have you looked up the logfiles? Try setting php's error reporting to E_ALL (don't know the name of the variable in the config file right now...) and see if any messages turn up in apaches error-logfile (most often named 'err.log'). Normally, if there is a problem, it tends to get flooded... =) Furthermore, are you sure you want php to run as CGI? I am not sure about FreeBSD's port layout, but on my server (NetBSD 1.6.2) I have two packages installed, php-4.3.4 and ap-php-4.3.4, which is the apache module for php. If you want to do CGI, you have to set that up in apache, too, define a folder to be your server's /cgi-bin/, and put all the php-files there. But unless you have some specific reason for doing so, I strongly doubt you want to run php via CGI... If you habe further questions, I'd be glad to help, but I suggest you contact me privately, since your problem is not that strictly FreeBSD-related. > thanks a lot, > digish Kind regards, Benjamin -- If cars had improved at [the computer industry's] rate, a Rolls Royce would now cost 10 dollars and get a billion miles per gallon. (Unfortunately, it would probably also have 200-page manual telling how to open the door.) -- Andrew Tanenbaum, "Introduction To Distributed Systems"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040923212357.1c98ba44.krylon>