php.conf

navigator navigatorch a gmail.com
Ven 23 Mar 2007 16:05:11 CET


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Manuel Martini ha scritto:
> 
> 
> o editi il tuo php.ini e ci metti il display error a on
> oppure fai tail sui log di apache e dovresti trovarli li dentro
> 
> ciaoo
> 

ciao, comincio a non capirci piu' niente con sto php

login as: navigator
Using keyboard-interactive authentication.
Password:
Last login: Fri Mar 23 01:03:16 2007 from 192.168.1.12
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.

FreeBSD 6.1-RELEASE (SMP) #0: Sun May  7 04:42:56 UTC 2006

Welcome to FreeBSD!

Before seeking technical support, please use the following resources:

o  Security advisories and updated errata information for all releases are
   at http://www.FreeBSD.org/releases/ - always consult the ERRATA section
   for your release first as it's updated frequently.

o  The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,
   along with the mailing lists, can be searched by going to
   http://www.FreeBSD.org/search/.  If the doc distribution has
   been installed, they're also available formatted in /usr/share/doc.

If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions a FreeBSD.org mailing list.  If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page.  If you are not familiar with manual pages, type `man man'.

You may also use sysinstall(8) to re-enter the installation and
configuration utility.  Edit /etc/motd to change this login announcement.

sh (the default Bourne shell in FreeBSD) supports command-line editing.
 Just
``set -o emacs'' or ``set -o vi'' to enable it.
$ su
Password:
servizi# cd /usr/local/etc/rc.d/
servizi# ls
apache22                flow_Server.sh          samba
clamav-clamd            hylafax.sh.sample       snmpd
clamav-freshclam        isc-dhcpd               snmptrapd
clamav-milter           mpd4                    squid
cupsd                   mrtg_daemon             webmin
ddclient                mysql-server
servizi# ./mysql-server
Usage: ./mysql-server [fast|force|one](start|stop|restart|rcvar|status|poll)
servizi# ./mysql-server forcestar
./mysql-server: unknown directive 'star'.
Usage: ./mysql-server [fast|force|one](start|stop|restart|rcvar|status|poll)
servizi# ./mysql-server forcestart
Starting mysql.
servizi# cactid
CACTID: Using cactid config file [/usr/local/etc/cactid.conf]
CACTID:
servizi# ./apache22 forcestart
Performing sanity check on apache22 configuration:
httpd: Syntax error on line 105 of /usr/local/etc/apache22/httpd.conf:
Can't loc                                              ate API module
structure `php5_module' in file /usr/local/libexec/apache22/libph
                                       p5.so: Undefined symbol "php5_module"
Starting apache22.
httpd: Syntax error on line 105 of /usr/local/etc/apache22/httpd.conf:
Can't loc                                              ate API module
structure `php5_module' in file /usr/local/libexec/apache22/libph
                                       p5.so: Undefined symbol "php5_module"
servizi# ./apache22 forcestart
Performing sanity check on apache22 configuration:
[Fri Mar 23 15:52:18 2007] [warn] module php4_module is already loaded,
skipping
Syntax OK
Starting apache22.
[Fri Mar 23 15:52:18 2007] [warn] module php4_module is already loaded,
skipping
servizi# mc


servizi# cd /usr/local/etc/rc.d/
servizi# ./apache22 forcerestart
Performing sanity check on apache22 configuration:
[Fri Mar 23 15:56:10 2007] [warn] module php4_module is already loaded,
skipping
Syntax OK
Stopping apache22.
Waiting for PIDS: 1805.
Performing sanity check on apache22 configuration:
[Fri Mar 23 15:56:12 2007] [warn] module php4_module is already loaded,
skipping
Syntax OK
Starting apache22.
[Fri Mar 23 15:56:12 2007] [warn] module php4_module is already loaded,
skipping
servizi# ./apache22 forcerestop
./apache22: unknown directive 'restop'.
Usage: ./apache22
[fast|force|one](start|stop|restart|rcvar|reload|graceful|grac
                                    efulstop|configtest|status|poll)
servizi# ./apache22 forcestop
Stopping apache22.
Waiting for PIDS: 1889.
servizi# ./apache22 forcestart
Performing sanity check on apache22 configuration:
[Fri Mar 23 15:56:33 2007] [warn] module php4_module is already loaded,
skipping
Syntax OK
Starting apache22.
[Fri Mar 23 15:56:33 2007] [warn] module php4_module is already loaded,
skipping
servizi# mc

servizi# OA
OA: Command not found.

servizi# cd /usr/local/etc/rc.d/
servizi# ls
a
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/local/lib/php/2002
0429/pcre.so' - Cannot open
"/usr/local/lib/php/20020429/pcre.so" in U
nknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/local/lib/php/2002
0429/mysql.so' - Cannot open
"/usr/local/lib/php/20020429/mysql.so" in
 Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/local/lib/php/2002
0429/session.so' - Cannot open
"/usr/local/lib/php/20020429/session.so&quot
; in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/local/lib/php/2002
0429/ctype.so' - Cannot open
"/usr/local/lib/php/20020429/ctype.so" in
 Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/local/lib/php/2002
                                                                 0%
[Fri Mar 23 15:59:51 2007] [warn] Init: Session Cache is not configured
[hint: SSLSessionCache]
[Fri Mar 23 15:59:52 2007] [warn] module php4_module is already loaded,
skipping
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/local/lib/php/20020429/snmp.so' - Cannot open "/usr/local/l
ib/php/20020429/snmp.so" in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/local/lib/php/20020429/xml.so' - Cannot open "/usr/local/li
b/php/20020429/xml.so" in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/local/lib/php/20020429/pcre.so' - Cannot open "/usr/local/l


Che significa? mi pare si aver installato tutto il necessario.


ciao e grazie da Navigator
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGA+xU2NSKQiVV/8YRAvgkAJ9lqd2AsfXPaeKrdDOEUS8ETnJstwCcCZBe
p1rvJqJtEhUsvHp2o/H1FZ4=
=EiPU
-----END PGP SIGNATURE-----


Maggiori informazioni sulla lista varie