php without mysql

Apache, Lighttpd, nginx, Cherokee
Post Reply
umbroboy
Posts: 258
Joined: 2005-05-11 11:49
 

php without mysql

Post by umbroboy »

Hallo,

auf meinem system läuft komischerweise php without mysql flag.

Hat jemand eine idee, wie ich das ändern kann?

Habe debian sarge.

Vielen Dank
umbroboy
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: php without mysql

Post by Roger Wilco »

Installiere das Paket deiner Distribution, das die MySQL-Erweiterung bereitstellt oder kompiliere PHP selbst neu.
umbroboy
Posts: 258
Joined: 2005-05-11 11:49
 

Re: php without mysql

Post by umbroboy »

Also php4 und php4-mysql ist installiert.
Das müssten die pakete sein.
Hat jemand noch eine idee ohne vielleicht neu zu kompilieren.
mor_dark
Posts: 19
Joined: 2004-07-02 04:35
Location: SG-NRW
 

Re: php without mysql

Post by mor_dark »

werden sie auch eingelesen?
sprich in der php.ini das modul geladen?
umbroboy
Posts: 258
Joined: 2005-05-11 11:49
 

Re: php without mysql

Post by umbroboy »

hi,

der Eintrag:

etc/php4/apache2/php.ini die Zeile

extension=mysql.so

ist drinne.

DAnn starte ich den Apachen neu.

Dann schau ich über die geschriebene phpinfo.
  • ../configure' '--prefix=/usr' '--with-apxs2=/usr/bin/apxs2' '--with-config-file-path=/etc/php4/apache2' '--enable-memory-limit' '--disable-debug' '--with-regex=php' '--disable-rpath' '--disable-static' '--with-pic' '--with-layout=GNU' '--with-pear=/usr/share/php' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype' '--with-db4' '--with-iconv' '--enable-exif' '--enable-filepro' '--enable-ftp' '--with-gettext' '--enable-mbstring' '--with-pcre-regex=/usr' '--enable-shmop' '--enable-sockets' '--enable-wddx' '--disable-xml' '--with-expat-dir=/usr' '--with-xmlrpc' '--enable-yp' '--with-zlib' '--without-pgsql' '--with-kerberos=/usr' '--with-openssl=/usr' '--with-zip=/usr' '--enable-dbx' '--with-mime-magic=/usr/share/misc/file/magic.mime' '--with-exec-dir=/usr/lib/php4/libexec' '--without-mm' '--without-mysql' '--without-sybase-ct'
Anonymous
 

Re: php without mysql

Post by Anonymous »

umbroboy wrote:
  • ../configure' '--prefix=/usr' '--with-apxs2=/usr/bin/apxs2' '--with-config-file-path=/etc/php4/apache2' '--enable-memory-limit' '--disable-debug' '--with-regex=php' '--disable-rpath' '--disable-static' '--with-pic' '--with-layout=GNU' '--with-pear=/usr/share/php' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype' '--with-db4' '--with-iconv' '--enable-exif' '--enable-filepro' '--enable-ftp' '--with-gettext' '--enable-mbstring' '--with-pcre-regex=/usr' '--enable-shmop' '--enable-sockets' '--enable-wddx' '--disable-xml' '--with-expat-dir=/usr' '--with-xmlrpc' '--enable-yp' '--with-zlib' '--without-pgsql' '--with-kerberos=/usr' '--with-openssl=/usr' '--with-zip=/usr' '--enable-dbx' '--with-mime-magic=/usr/share/misc/file/magic.mime' '--with-exec-dir=/usr/lib/php4/libexec' '--without-mm' '--without-mysql' '--without-sybase-ct'
Möglicherweise besteht hier Verbesserungsbedarf ;)

bueda.
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: php without mysql

Post by Roger Wilco »

umbroboy wrote:Dann schau ich über die geschriebene phpinfo.
Ignoriere die angezeigten Parameter des Configure-Skripts. PHP ist modular aufgebaut und nutzt in deinem Falle Shared Extensions. Schau lieber weiter unten, ob die MySQL-Erweiterung geladen wurde.
umbroboy
Posts: 258
Joined: 2005-05-11 11:49
 

Re: php without mysql

Post by umbroboy »

Also der Abschnitt MYSQL ist vorhanden wie folgt:
  • mysql
    MySQL Support enabled
    Active Persistent Links 0
    Active Links 0
    Client API version 4.0.24
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/run/mysqld/mysqld.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib -lmysqlclient

    Directive Local Value Master Value
    mysql.allow_persistent On On
    mysql.connect_timeout 60 60
    mysql.default_host no value no value
    mysql.default_password no value no value
    mysql.default_port no value no value
    mysql.default_socket no value no value
    mysql.default_user no value no value
    mysql.max_links Unlimited Unlimited
    mysql.max_persistent Unlimited Unlimited
    mysql.trace_mode Off Off
Hab dir aber mal eine kopie abgelegt:

http://80.237.145.233/php/phpinfo.htm

[/url]
der kleine tux
Posts: 97
Joined: 2005-10-29 04:12
Location: Planet Erde
 

Re: php without mysql

Post by der kleine tux »

Hallo

liegt im
--with-exec-dir=/usr/lib/php4/libexec

die mysql.so ?
/usr/lib/php4/200.... irgendwas da liegt sie ja eigentlich

gruss
mor_dark
Posts: 19
Joined: 2004-07-02 04:35
Location: SG-NRW
 

Re: php without mysql

Post by mor_dark »

Also der Abschnitt MYSQL ist vorhanden wie folgt:
na leuft doch (-; was willst du denn noch?

der schalter --without-mysql ist nur die installation wie es auf deinem system compeliert ist (-;
umbroboy
Posts: 258
Joined: 2005-05-11 11:49
 

Re: php without mysql

Post by umbroboy »

mor_dark wrote: na leuft doch (-; was willst du denn noch?

mhh das dieses script geht:

http://gallery.menalto.com/

Kam dann bei Step 5 nicht mehr weiter und dann hieß es das mysql modul ist nicht installiert.

Darum haben die von diesem Forum gemeint, dass das problem ist das bei mir php without mysql ist

:(
umbroboy
Posts: 258
Joined: 2005-05-11 11:49
 

Re: php without mysql

Post by umbroboy »

so geht nun.

:)
Post Reply