Chmod: ne peut accéder `/usr/local/apache2/mo

linux-debutant -  
 linux-debutant -
Bonjour, ceci est le message d'erreur issu de l'installation de php
quelqu'un peut m'aider là?
Installing PHP SAPI module: apache2handler
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la /usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp5.la /usr/local/apache2/modules/
cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la
cp .libs/libphp5.a /usr/local/apache2/modules/libphp5.a
chmod 644 /usr/local/apache2/modules/libphp5.a
ranlib /usr/local/apache2/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish /home/chris/php-5.3.0/libs'
Warning! dlname not found in /usr/local/apache2/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/libphp5.so
chmod: ne peut accéder `/usr/local/apache2/modules/libphp5.so': Aucun fichier ou répertoire de ce type
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Erreur 1
Configuration: Linux Fedora
Firefox 2.0.0.19

5 réponses

  1. lami20j Messages postés 21506 Date d'inscription   Statut Modérateur, Contributeur sécurité Dernière intervention   3 571
     
    Salut,

    Affiche le résultat de
    find / -name '*libphp5.so'' 2>/dev/null
    --
    106485010510997108
    0
    1. linux-debutant
       
      find / -name '*libphp5.so'' 2>/dev/null
      >
      ça n'affiche que le signe >
      0
  2. lami20j Messages postés 21506 Date d'inscription   Statut Modérateur, Contributeur sécurité Dernière intervention   3 571
     
    Re,

    J'ai mis un apostrophe de plus ;-)
    Donc fait un CTRL+C pour revenir au prompt et tape
    find / -name '*libphp5.so' 2>/dev/null
    --
    106485010510997108
    0
    1. linux-debutant
       
      j'ai recompiler et taper make install le problème est maintant ça:

      Installing PDO headers: /usr/lib/evolution-openldap/include/ldap.h/php/ext/pdo/
      mkdir: cannot create directory `/usr/lib/evolution-openldap/include/ldap.h': File exists
      mkdir: cannot create directory `/usr/lib/evolution-openldap/include/ldap.h/php': Not a directory
      mkdir: cannot create directory `/usr/lib/evolution-openldap/include/ldap.h/php/ext': Not a directory
      mkdir: cannot create directory `/usr/lib/evolution-openldap/include/ldap.h/php/ext/pdo': Not a directory
      make: *** [install-pdo-headers] Erreur 1
      0
    2. linux-debutant
       
      lors de la deuxième compilation, find / -name '*libphp5.so' 2>/dev/null
      affiche ça:

      /usr/local/apache2/modules/libphp5.so
      /home/chris/php-5.3.0/libs/libphp5.so
      /home/chris/php-5.3.0/.libs/libphp5.so
      0
  3. lami20j Messages postés 21506 Date d'inscription   Statut Modérateur, Contributeur sécurité Dernière intervention   3 571
     
    Salut,

    Tu n'as pas le moyen d'installer avec yum?
    0
    1. linux-debutant
       
      Bon j'ai tapez yum install php, yum a instalé ce qui suit:

      httpd-tools-2.2.9-1.fc8.i386.rpm
      php-common-5.2.6-2.fc8.i386.rpm
      httpd-2.2.9-1.fc8.i386.rpm
      php-5.2.6-2.fc8.i386.rpm
      php-cli-5.2.6-2.fc8.i386.rpm

      mais ma question, est-ce que le fait d'installer php avec yum,PHP va-til fonctionner avec ldap? car je compilas php avec l'option --with-ldap
      0
  4. lami20j Messages postés 21506 Date d'inscription   Statut Modérateur, Contributeur sécurité Dernière intervention   3 571
     
    Re,

    Affiche le résultat de
    yum list all | egrep 'httpd|mysql|php'
    --
    106485010510997108
    0
    1. linux-debutant
       
      le résultat de yum list all | egrep 'httpd|mysql|php'

      httpd.i386 2.2.9-1.fc8 installed
      httpd-tools.i386 2.2.9-1.fc8 installed
      php.i386 5.2.6-2.fc8 installed
      php-cli.i386 5.2.6-2.fc8 installed
      php-common.i386 5.2.6-2.fc8 installed
      Io-language-mysql.i386 20070710-2.fc8 fedora
      apr-util-mysql.i386 1.2.10-2.fc8 fedora
      bacula-director-mysql.i386 2.0.3-11.fc8.3 updates-newkey
      bacula-storage-mysql.i386 2.0.3-11.fc8.3 updates-newkey
      bytefx-data-mysql.i386 1.2.5.1-3.fc8 updates-newkey
      callweaver-mysql.i386 1.2-0.3.rc4.20070822 fedora
      collectd-mysql.i386 4.3.4-1.fc8 updates-newkey
      dbmail-mysql.i386 2.2.9-1.fc8 updates-newkey
      dovecot-mysql.i386 1:1.0.15-16.fc8 updates-newkey
      ebhttpd.i386 1.0-4.fc8 updates-newkey
      eclipse-phpeclipse.i386 1.2.1-2.fc8 updates-newkey
      freeradius-mysql.i386 1.1.7-3.1.fc8 fedora
      gnokii-smsd-mysql.i386 0.6.22-2.fc8 updates-newkey
      gphpedit.i386 0.9.91-3.fc6 fedora
      graphviz-php.i386 2.14.1-3.fc8 fedora
      httpd-devel.i386 2.2.9-1.fc8 updates-newkey
      httpd-manual.i386 2.2.9-1.fc8 updates-newkey
      ice-php.i386 3.3.0-8.fc8 updates-newkey
      koffice-kexi-driver-mysql.i386 1:1.6.3-17.fc8 updates-newkey
      libdbi-dbd-mysql.i386 0.8.2-1.2.fc8 fedora
      libgda-mysql.i386 1:3.0.1-4.fc8 fedora
      libgda-mysql-devel.i386 1:3.0.1-4.fc8 fedora
      libmicrohttpd.i386 0.3.1-4.fc8 updates-newkey
      libmicrohttpd-devel.i386 0.3.1-4.fc8 updates-newkey
      libmicrohttpd-doc.i386 0.3.1-4.fc8 updates-newkey
      libnss-mysql.i386 1.5-6.fc8 updates-newkey
      libpreludedb-mysql.i386 0.9.14.1-1.fc8 updates-newkey
      lighttpd.i386 1.4.19-4.fc8 updates-newkey
      lighttpd-fastcgi.i386 1.4.19-4.fc8 updates-newkey
      lighttpd-mod_geoip.i386 1.4.19-4.fc8 updates-newkey
      lighttpd-mod_mysql_vhost.i386 1.4.19-4.fc8 updates-newkey
      lua-sql-mysql.i386 2.1.1-4.fc8 updates-newkey
      mantis-config-httpd.noarch 1.1.6-1.fc8 updates-newkey
      mod_auth_mysql.i386 1:3.0.0-5 fedora
      mod_suphp.i386 0.6.3-1.fc8 updates-newkey
      mysql.i386 5.0.45-6.fc8 updates-newkey
      mysql++.i386 2.3.2-2.fc8 fedora
      mysql++-devel.i386 2.3.2-2.fc8 fedora
      mysql++-manuals.i386 2.3.2-2.fc8 fedora
      mysql-administrator.i386 5.0r12-4.fc8 updates-newkey
      mysql-bench.i386 5.0.45-6.fc8 updates-newkey
      mysql-connector-java.i386 1:3.1.12-3.fc6 fedora
      mysql-connector-odbc.i386 3.51.14r248-2.fc8 fedora
      mysql-devel.i386 5.0.45-6.fc8 updates-newkey
      mysql-gui-common.i386 5.0r12-4.fc8 updates-newkey
      mysql-gui-tools.i386 5.0r12-4.fc8 updates-newkey
      mysql-libs.i386 5.0.45-6.fc8 updates-newkey
      mysql-proxy.i386 0.5.1-3.fc8 fedora
      mysql-query-browser.i386 5.0r12-4.fc8 updates-newkey
      mysql-server.i386 5.0.45-6.fc8 updates-newkey
      mysql-test.i386 5.0.45-6.fc8 updates-newkey
      nagios-plugins-mysql.i386 1.4.13-9.fc8 updates-newkey
      ocaml-mysql.i386 1.0.4-3.fc8 updates-newkey
      ocaml-mysql-devel.i386 1.0.4-3.fc8 updates-newkey
      ocaml-ocamlnet-nethttpd.i386 2.2.9-1.fc8 updates-newkey
      ocaml-ocamlnet-nethttpd-devel.i386 2.2.9-1.fc8 updates-newkey
      openser-mysql.i386 1.3.4-1.fc8 updates-newkey
      pam_mysql.i386 1:0.7-0.4.rc1.fc8 updates-newkey
      pdns-backend-mysql.i386 2.9.21.2-1.fc8 updates-newkey
      perl-Class-DBI-mysql.noarch 1.00-3.fc8 fedora
      php-Smarty.noarch 2.6.20-2.fc8 updates-newkey
      php-adodb.noarch 4.95-1.a.fc8 fedora
      php-bcmath.i386 5.2.6-2.fc8 updates-newkey
      php-channel-phing.noarch 1.0.0-5.fc8 updates-newkey
      php-channel-phpdb.noarch 1.0.0-4.fc8 fedora
      php-channel-phpunit.noarch 1.0-2.fc7 fedora
      php-channel-symfony.noarch 1.0.0-2.fc8 updates-newkey
      php-dba.i386 5.2.6-2.fc8 updates-newkey
      php-devel.i386 5.2.6-2.fc8 updates-newkey
      php-eaccelerator.i386 1:0.9.5.2-1.fc8 updates-newkey
      php-embedded.i386 5.2.6-2.fc8 updates-newkey
      php-gd.i386 5.2.6-2.fc8 updates-newkey
      php-idn.i386 1.2-3.fc8 fedora
      php-imap.i386 5.2.6-2.fc8 updates-newkey
      php-laconica.noarch 0.5.0-3.fc8 updates-newkey
      php-ldap.i386 5.2.6-2.fc8 updates-newkey
      php-magickwand.i386 1.0.6-2.fc8 updates-newkey
      php-magpierss.noarch 0.72-3.fc7 fedora
      php-manual-en.noarch 20070617-1.fc8 updates-newkey
      php-mapserver.i386 4.10.3-2.fc8 fedora
      php-mbstring.i386 5.2.6-2.fc8 updates-newkey
      php-mcrypt.i386 5.2.6-2.fc8 updates-newkey
      php-mhash.i386 5.2.6-2.fc8 updates-newkey
      php-mssql.i386 5.2.6-2.fc8 updates-newkey
      php-mysql.i386 5.2.6-2.fc8 updates-newkey
      php-ncurses.i386 5.2.6-2.fc8 updates-newkey
      php-oauth.noarch 1.0-0.5.svn592.fc8 updates-newkey
      php-odbc.i386 5.2.6-2.fc8 updates-newkey
      php-pdo.i386 5.2.6-2.fc8 updates-newkey
      php-pear.noarch 1:1.6.2-2.fc8 fedora
      php-pear-Auth.noarch 1.6.1-8.fc8 updates-newkey
      php-pear-Auth-OpenID.noarch 2.1.1-6.fc8 updates-newkey
      php-pear-Auth-RADIUS.noarch 1.0.6-1.fc8 updates-newkey
      php-pear-Auth-SASL.noarch 1.0.2-4.fc6 fedora
      php-pear-Auth-radius.noarch 1.6.1-8.fc8 updates-newkey
      php-pear-Auth-samba.noarch 1.6.1-8.fc8 updates-newkey
      php-pear-Benchmark.noarch 1.2.7-1.fc8 fedora
      php-pear-Cache.noarch 1.5.5-0.2.RC4.fc8 fedora
      php-pear-Cache-Lite.noarch 1.7.4-1.fc8 updates-newkey
      php-pear-Console-Color.noarch 1.0.2-1.fc7 fedora
      php-pear-Console-Getargs.noarch 1.3.4-1.fc8.1 fedora
      php-pear-Console-ProgressBar.noarch 0.5.2-0.2.beta.fc8 updates-newkey
      php-pear-Console-Table.noarch 1.1.3-1.fc8 updates-newkey
      php-pear-Crypt-CHAP.noarch 1.0.1-1.fc7 fedora
      php-pear-DB.noarch 1.7.13-1.fc8 fedora
      php-pear-DB-DataObject.noarch 1.8.8-1.fc8 updates-newkey
      php-pear-DB-DataObject-FormBuilder.noarch
      php-pear-DB-QueryTool.noarch 1.1.2-1.fc8 updates-newkey
      php-pear-Date.noarch 1.4.7-2.fc7 fedora
      php-pear-Date-Holidays.noarch 0.20.1-1.fc8 updates-newkey
      php-pear-Event-Dispatcher.noarch 1.0.0-2.fc8 updates-newkey
      php-pear-File.noarch 1.3.0-1.fc8 fedora
      php-pear-File-Find.noarch 1.3.0-1.fc8 updates-newkey
      php-pear-File-Passwd.noarch 1.1.6-2.fc7 fedora
      php-pear-File-SMBPasswd.noarch 1.0.2-1.fc7 fedora
      php-pear-HTML-Common.noarch 1.2.4-1.fc8 fedora
      php-pear-HTML-QuickForm.noarch 3.2.10-1.fc8 updates-newkey
      php-pear-HTML-QuickForm-ElementGrid.noarch
      php-pear-HTML-QuickForm-advmultiselect.noarch
      php-pear-HTML-Table.noarch 1.8.2-1.fc8 updates-newkey
      php-pear-HTTP.noarch 1.4.0-8.fc8 fedora
      php-pear-HTTP-Client.noarch 1.1.1-1.fc8 updates-newkey
      php-pear-HTTP-Request.noarch 1.4.3-1.fc8 updates-newkey
      php-pear-HTTP-Upload.noarch 0.9.1-2.fc8 updates-newkey
      php-pear-Image-Canvas.noarch 0.3.1-1.fc8 fedora
      php-pear-Image-Color.noarch 1.0.2-5.fc8 updates-newkey
      php-pear-Image-Graph.noarch 0.7.2-4.fc8 updates-newkey
      php-pear-Image-Graph-roman.noarch 0.7.2-2.fc7 fedora
      php-pear-Image-Graph-words.noarch 0.7.2-2.fc7 fedora
      php-pear-Image-GraphViz.noarch 1.2.1-4.fc8 updates-newkey
      php-pear-Log.noarch 1.11.3-1.fc8 updates-newkey
      php-pear-MDB2.noarch 2.4.1-2.fc8 updates-newkey
      php-pear-MDB2-Driver-mysql.noarch 1.4.1-3.fc8.1 updates-newkey
      php-pear-MDB2-Driver-mysqli.noarch 1.4.1-3.fc8 updates-newkey
      php-pear-MDB2-Driver-pgsql.noarch 1.4.1-1.fc8 updates-newkey
      php-pear-Mail.noarch 1.1.14-2.fc8 fedora
      php-pear-Mail-Mime.noarch 1.5.2-3.fc8 updates-newkey
      php-pear-Mail-mimeDecode.noarch 1.5.0-3.fc8 updates-newkey
      php-pear-Math-Stats.noarch 0.9.0-0.1.beta3.fc7 fedora
      php-pear-Net-Curl.noarch 1.2.5-1.fc8 updates-newkey
      php-pear-Net-DIME.noarch 1.0.1-1.fc8 updates-newkey
      php-pear-Net-FTP.noarch 1.3.7-1.fc8 updates-newkey
      php-pear-Net-POP3.noarch 1.3.6-2.fc7 fedora
      php-pear-Net-Ping.noarch 2.4.3-1.fc8 updates-newkey
      php-pear-Net-SMTP.noarch 1.3.2-1.fc8 updates-newkey
      php-pear-Net-Sieve.noarch 1.1.6-1.fc8 updates-newkey
      php-pear-Net-Socket.noarch 1.0.9-1.fc8 updates-newkey
      php-pear-Net-Traceroute.noarch 0.21.1-2.fc8 fedora
      php-pear-Net-URL.noarch 1.0.15-1.fc8 fedora
      php-pear-Net-URL-Mapper.noarch 0.9.0-2.fc8 updates-newkey
      php-pear-Net-UserAgent-Detect.noarch 2.5.0-1.fc8 updates-newkey
      php-pear-Numbers-Roman.noarch 1.0.2-2.fc8 updates-newkey
      php-pear-Numbers-Words.noarch 0.15.0-4.fc8 updates-newkey
      php-pear-PEAR-Command-Packaging.noarch 0.1.2-5.fc6 fedora
      php-pear-PHP-CodeSniffer.noarch 1.0.1-1.fc8 updates-newkey
      php-pear-PHP-Compat.noarch 1.5.0-1.fc6 fedora
      php-pear-PHP-CompatInfo.noarch 1.7.0-1.fc8 updates-newkey
      php-pear-PHPUnit.noarch 3.1.9-2.fc8 updates-newkey
      php-pear-Pager.noarch 2.4.7-1.fc8 updates-newkey
      php-pear-Payment-Process.noarch 0.6.6-1.fc8 updates-newkey
      php-pear-Phlickr.noarch 0.2.7-2.fc8 fedora
      php-pear-PhpDocumentor.noarch 1.4.2-1.fc8 updates-newkey
      php-pear-PhpDocumentor-docs.noarch 1.4.2-1.fc8 updates-newkey
      php-pear-SOAP.noarch 0.12.0-1.fc8 updates-newkey
      php-pear-Services-Weather.noarch 1.4.3-1.fc8 updates-newkey
      php-pear-Structures-DataGrid.noarch 0.9.0-3.fc8 updates-newkey
      php-pear-Structures-DataGrid-DataSource-Array.noarch
      php-pear-Structures-DataGrid-DataSource-DataObject.noarch
      php-pear-Structures-DataGrid-DataSource-MDB2.noarch
      php-pear-Structures-DataGrid-DataSource-RSS.noarch
      php-pear-Structures-DataGrid-Renderer-Pager.noarch
      php-pear-Structures-DataGrid-Renderer-Smarty.noarch
      php-pear-Validate.noarch 0.8.1-1.fc8 updates-newkey
      php-pear-Validate-Finance-CreditCard.noarch
      php-pear-Var-Dump.noarch 1.0.3-2.fc8 updates-newkey
      php-pear-XML-Beautifier.noarch 1.1-3.fc8 updates-newkey
      php-pear-XML-Parser.noarch 1.3.1-1.fc8 updates-newkey
      php-pear-XML-RSS.noarch 0.9.10-5.fc8 updates-newkey
      php-pear-XML-Serializer.noarch 0.18.0-3.fc7 fedora
      php-pear-XML-Util.noarch 1.1.4-3.fc8 updates-newkey
      php-pear-creole.noarch 1.1.0-5.fc8 fedora
      php-pear-pake.noarch 1.1.4-3.fc8 updates-newkey
      php-pear-phing.noarch 2.3.0-1.fc8 updates-newkey
      php-pear-propel_generator.noarch 1.3.0-1.fc8 updates-newkey
      php-pear-propel_runtime.noarch 1.3.0-1.fc8 updates-newkey
      php-pecl-Fileinfo.i386 1.0.4-3.fc8 fedora
      php-pecl-apc.i386 3.0.19-1.fc8 updates-newkey
      php-pecl-mailparse.i386 2.1.4-1.fc8 updates-newkey
      php-pecl-memcache.i386 2.2.4-1.fc8 updates-newkey
      php-pecl-phar.i386 1.2.3-2.fc8 updates-newkey
      php-pecl-radius.i386 1.2.5-5.fc8 updates-newkey
      php-pecl-xdebug.i386 2.0.3-4.fc8 updates-newkey
      php-pgsql.i386 5.2.6-2.fc8 updates-newkey
      php-shout.i386 0.9.2-1.fc8 fedora
      php-snmp.i386 5.2.6-2.fc8 updates-newkey
      php-soap.i386 5.2.6-2.fc8 updates-newkey
      php-spyc.noarch 0.2.5-1.fc8 fedora
      php-tidy.i386 5.2.6-2.fc8 updates-newkey
      php-xml.i386 5.2.6-2.fc8 updates-newkey
      php-xmlrpc.i386 5.2.6-2.fc8 updates-newkey
      php-xmpphp.noarch 0.1-0.2.beta_r50.fc8 updates-newkey
      phpMyAdmin.noarch 3.1.1-1.fc8 updates-newkey
      phpPgAdmin.noarch 4.2.2-1.fc8 updates-newkey
      phpTodo.noarch 0.8.1-0.8.beta.fc8 fedora
      phpcs.noarch 1.0.1-1.fc8 updates-newkey
      phpdoc.noarch 1.4.2-1.fc8 updates-newkey
      phpldapadmin.noarch 1.0.1-1.fc6 fedora
      phpwapmail.noarch 0.9.2-1.fc8 updates-newkey
      proftpd-mysql.i386 1.3.1-8.fc8 updates-newkey
      pyicq-t-mysql.noarch 0.8-5.b.fc8 updates-newkey
      python-storm-mysql.i386 0.13-2.fc8 updates-newkey
      qt4-mysql.i386 4.4.3-1.fc8 updates-newkey
      rekall-mysql.i386 2.4.5-6.fc8.1 fedora
      rrdtool-php.i386 1.3.4-2.fc8 updates-newkey
      rsyslog-mysql.i386 2.0.2-3.fc8 updates-newkey
      ruby-mysql.i386 2.7.3-2.fc8 fedora
      ser-mysql.i386 0.9.6-13.fc8 fedora
      showimg-mysql.i386 0.9.5-13.fc8 fedora
      snort-mysql.i386 2.8.1-3.fc8 updates-newkey
      snort-mysql+flexresp.i386 2.8.1-3.fc8 updates-newkey
      syck-php.i386 0.61-2.fc8 fedora
      system-config-httpd.noarch 5:1.4.4-1.fc8 fedora
      tclhttpd.i386 3.5.1-15.fc8 fedora
      thttpd.i386 2.25b-14.fc8 fedora
      ulogd-mysql.i386 1.24-8.fc8 updates-newkey
      uuid-php.i386 1.6.0-2.fc8 fedora
      0
  5. Vous n’avez pas trouvé la réponse que vous recherchez ?

    Posez votre question
  6. lami20j Messages postés 21506 Date d'inscription   Statut Modérateur, Contributeur sécurité Dernière intervention   3 571
     
    Re,

    Donc tu peux installer php-ldap.i386 5.2.6-2.fc8 updates-newkey avec la commande
    yum install php-ldap

    Avec yum tu peux installer apache+mysql+php en toute tranquillité
    0
    1. linux-debutant
       
      je viens de tapez la commande yum install php-ldap et il a installer le paquetage.

      ma question est de savoir, est-ce ke je dois intervenir dans un fichier quelconque après cette installation ou bien yum a tout fait?

      merci pour ton aide
      0