phpinfo(); not working

2007-10-26 Thread Tipper
I have FreeBSD-6.2 and I'm having trouble setting up apache, mysql and 
php for my business. I can't get  phpinfo(); to display. If I run php 
-i, I get several pages of information which means php is working.  Out 
of three different types of php, php-html isn't operating.  My browser 
is where I do 100 percent of my work. Both PHP CLI and PHP CGI seem to 
work. If it can't display phpinfo();, it won't run my custom designed 
php software.  I did successfully install it a few years ago with 
FreeBSD-4.8 and older versions of PHP.  The install disk for FreeBSD-4.8 
became defective and I had to re-order.  They only had FreeBSD-6.2. This 
where the trouble starts.


The 'install file' from www.php.net says:

  In case of setting up the server and PHP on your own, you have two
  choices for the method of connecting PHP to the server. For many
  servers PHP has a direct module interface (also called SAPI). These
  servers include Apache, Microsoft Internet Information Server, Netscape
  and iPlanet servers. Many other servers have support for ISAPI, the
  Microsoft module interface (OmniHTTPd for example).


Reading the above, I think my 'sapi module' wasn't installed.
Using the 'find program', I ran sapi, SAPI. isapi, nsapi, ISAPI and 
NSAPI.  I received a responce for isapi,
sapi and nsapi. 'sapi' was located at '/port/php-4.4/sapi'.  Both isapi 
and nsapi are located under sapi. But 'sapi' was just a directory,  I 
was expecting to find some sort of program.


For apache, mysql and php, I have all the files. When installing php, it 
automatically updates httpd.conf.  I always double check to make sure.  
/usr/local/libexec/apache has about 35 modules including 'libphp4.so'.  
The main php file is located in /usr/local/bin/php.  Using telnet, it 
confirms php is working.


I did several re-installs of FreeBSD and different combinations of 
apache, mysql and php.  If I use FreeBSDs apache-1.3 and mysql-5.1 and 
php4 from www.php.net it will work, but only once.  I tried to improve 
it, but couldn't.  How many times can I reboot to make one order?  This 
is version I'm working on.


Questions:
 - does the 'sapi module' have a different name, so I can find it with 
the 'find program'?

 - if the 'sapi module' is missing, how do I replace it?

uname -a: Freebsd localhost 6.2-RELEASE FreeBSD 6.2-RELEASE  #0: Friday 
Ost 5 15:08:51 UTC root@:/usr/src/sys/compile/HAP i386


Thanks in advance,
tipper

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Xorg-6.8.1 +glib +i810 +FreeBSD4.11-STABLE

2004-12-29 Thread mac tipper
Has anyone found a fix for all the busted apps this
"upgrade" has caused?

~>uname -v
FreeBSD 4.11-STABLE #0: Sat Dec 18 05:00:01 EST 2004  
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/STABLE

~>firefox
expr: syntax error
[: -eq: unexpected operator
Segmentation fault


: ~>gkrellm

GThread-ERROR **: file gthread-posix.c: line 137
(g_thread_impl_init): error 'Invalid argument' during
'pthread_getschedparam (pthread_self(), &policy,
&sched)'
aborting...
Abort

And the list goes on.

I saw one message
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=15110+0+current/freebsd-x11
 that suggests, 
"This seems to be due to applications using the weak
symbols in for stub
thread functions in libX11 rather than the real, but
also weak, ones in libc_r.
It can be temporarily worked around by building a
libX11 with UIThrStubs.c removed
and using LD_LIBRARY_PATH to direct the affected
applications to it."

And another one that says switch back to Xfree, or
downgrade, but I've not found info on cvsup and
downgrading ports, or switching back to Xfree.

Suggestions?




__ 
Do you Yahoo!? 
Jazz up your holiday email with celebrity designs. Learn more. 
http://celebrity.mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"