Quantcast
Channel: WampServer - WampServer Francais
Viewing all 3476 articles
Browse latest View live

Se connecter à Wamp depuis un script internet ? (Pas de réponses)

$
0
0
Bonjour,

je suis en train de migrer d'un forum phpbb vers un mybb. J'ai une grosse base à transférer et j'utilise pour ceci l'outil "merge" fourni par mybb.
C'est un script php qui se connecte à ma BDD phpbb et en créé une copie adaptée pour mybb.

Seulement, pour aller plus vite et par sécurité j'ai ma BDD phpbb en local hébergée avec wamp, et le script merge est sur internet hébergé à l'endroit du forum.

Je n'arrive pas à me connecter à mon localhost via ce script hébergé en ligne.

Comment faire ?


Merci

Problème accents même en UTF8 (Pas de réponses)

$
0
0
Bonjour à tous,

Je viens d'installer wampserver 2.5 et j'ai comme beaucoup d'autres des problèmes d'accent depuis le passage de mon site sous mysqli.

1- J'ai bien l'entête <meta http-equiv="content-type" content="text/html; charset=utf-8" />
2- J'ai mysqli_set_charset($con,"utf8"); juste après ma connexion à ma Base de Données
3- Ma base de données et les tables sont bien en UTF8 general ci

Malgré tout cela j'ai des Points d'interrogation dans un losage foncé sur tous mes accents.

J'ai testé utf8_decode(ma_variable) dans mon code PHP et là le losange disparaît et il est remplacé par un simple point d'intérrogation.

Ne sachant plus que faire après avoir épluché les différentes solutions des forums du Net, j'espère que quelqu'un aura la solution au problème.

Merci d'avance

Impossible de télécharger vcredist_x86 2015 (1 réponse)

$
0
0
Bonjour,

Impossible de télécharger vcredist_x86 2015

-- VC14 Paquetages (Visual Studio 2015)
Les deux fichiers vcredist_x86.exe et vcredist_x64.exe à télécharger sont sur la même page :
[www.microsoft.com]

Je télécharge uniquement vcredist_x64
Je ne vois pas vcredist_x86 sur la même page. Je n'arrive pas à l'installer.
Comment télécharger vcredist_x86 ?

Avec mes remerciements
Cordialement
Papy

phpMyAdmin - Error The mbstring extension is missing (Pas de réponses)

$
0
0
J'ai Windows 10 sur une Surface 4, la dernière version de WAMP (WAMP64 je suppose car c'est là que ça s'est installé en décembre dernier. Tout fonctionnait très bien depuis. J'essayais de faire des backup de mes bases de données de Wordpress et comme j'avais de la difficulté, j'ai été dans l'icone verte, cliqué sur php puis phpini. Cela a ouvert Notepad++ et j'ai modifié seulement les lignes 660, 811 et 814 pour augmenter le nombre de M (à moins que par inadvertance, d'autres lignes ont été modifiées...). J'avais dans le passé modifié ces lignes (en plus des lignes 393 et 372 sans problème.
Depuis ces dernières modifications il y a un peu plus d'une heure, quand je clique sur l'icone verte puis phpmyadmin, cela ouvre une fenêtre avec:
phpMyAdmin - Error
The mbstring extension is missing. Please check your PHP configuration.
Le php_error.log me dit:
[12-Jan-2016 21:51:08 UTC] PHP Warning: syntax error, unexpected END_OF_LINE, expecting '=' in C:/wamp64/bin/apache/apache2.4.17/bin/php.ini on line 2
in C:\wamp64\scripts\refresh.php on line 393:
Et dans le apache_error.log je vois cette ligne apparaitre:
PHP: syntax error, unexpected END_OF_LINE, expecting '=' in C:\wamp64\bin\apache\apache2.4.17\bin\php.ini on line 2
QUE DOIS-JE FAIRE? Je ne peux plus aller faire mes backups! Merci!

[Résolu] CLI et FTP (2 réponses)

$
0
0
Bonjour,

ma configuration ;
Windows 7 64bit, Wamp 3.0.1 64bits, PHP 7.0.2, Apache 2.4.17, icone verte activée, et dans mon host :

127.0.0.1 localhost
127.0.0.1 monsite.localhost

j'ai accès à Localhost.

Je souhaite utiliser la fonction FTP_Connect en Cli. Mais, j'ai ce message d'erreur :

Fatal error: Uncaught Error: Call to undefined function ftp_connect()


J'ai regardé dans PHPInfo, la fonction est bien activé. J'essaie en CGI et ça marche parfaitement, pas de message d'erreur... Donc ma question est : comment corriger ce problème d'unidefined function present qu'en cli ?

PS : j'utilise Avast en antivirus.

cordialement.

J'ai regardé et comparé ce script en cli et en CGI : var_dump(function_exists('ftp_connect'));

la éponse :
CGI : boolean true
CLI : bool(false)

comment activer cette fonction en CLI ?

Problème MySQL WAMP 3 (9 réponses)

$
0
0
Bonjour,

Depuis la semaine dernière je suis passé sous WAMP3 pour obtenir php 7.0.0, mais je rencontre actuellement un problème avec MySQL, plus particulièrement avec les tables.

Avant de passé sous WAMP3 j'avais 4 tables sur ma base de donnée, depuis j'en possède uniquement 2 (les 2 autres était vides).

Depuis une panne de courant hier en début d'après midi, toutes mes tables créer ne sont plus là, mais j'ai de nouveau les anciennes tables (4 contre 2 en principe...)
Les tables ainsi que leur données disparaissent uniquement si je redémarre le PC...

J'ai tenté à plusieurs reprises de désinstaller puis de réinstaller wamp sans succès

A savoir également, que le service MySQL refuse de démarer (icone orange)


Existe t-il une solution pour régler ce problème ?

Merci

PS: Je suis sous une version 64Bits

Wampserveur Je n'accède pas à un répertoire de www (3 réponses)

$
0
0
Bonjour à toutes et à tous,

Wampserveur Je n'accède pas à un répertoire de www

J'ai créé le répertoire [tests] dans www.
J'ai enregistré le fichier affichetexte.php dans le répertoire tests.
WampServeur est lancé, l'icône est verte.

Je clique sur test. Erreur, Cette page ne peut pas s'afficher
Vérifiez que l'adresse Web [tests] est correcte
Recherchez la page avec votre moteur de recherche
Actualisez la page dans quelques minutes
Que faire ?
c mes remerciements
Cordialement
Papy

[SSL] Impossible d'accéder à localhost (et à mes projets) en https (3 réponses)

$
0
0
Bonjour,

J'essaie d'utiliser SSL en localhost. J'ai suivi plusieurs tutoriaux (celui qui a finalement marché = [www.youtube.com]), j'ai maintenant wamp qui foncionne, mais voici ce qui s'affiche lorsque je teste mon site (https:##localhost/mywebsite)
-------------------------------------------------------------------------------------------------------------
SSL connection error

ERR_SSL_PROTOCOL_ERROR
Hide details
Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have.
-------------------------------------------------------------------------------------------------------------

(J'accède à http:##localhost/mywebsite sans problème)

- 1 - Version de Windows utilisée : Windows 7 Professional x64
- 2 - Version de Wampserver : WampServer 2.5 (64 bit)
- 3 - Apache 2.4.9
- 4 - PHP 5.5.12
- 5 - MySQL 5.6.17
- 6 - Couleur de l'icône Wampserver : Verte


-------------------------------------------------------------------------------------------------------------
httpd.conf

#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:[httpd.apache.org]; for detailed information.
# In particular, see
# <URL:[httpd.apache.org];
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path. If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "logs/access_log"
# with ServerRoot set to "/usr/local/apache2" will be interpreted by the
# server as "/usr/local/apache2/logs/access_log", whereas "/logs/access_log"
# will be interpreted as '/logs/access_log'.
#
# NOTE: Where filenames are specified, you must use forward slashes
# instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
# If a drive letter is omitted, the drive on which httpd.exe is located
# will be used by default. It is recommended that you always supply
# an explicit drive letter in absolute paths to avoid confusion.
ServerSignature On
ServerTokens Full

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# Do not add a slash at the end of the directory path. If you point
# ServerRoot at a non-local disk, be sure to specify a local disk on the
# Mutex directive, if file-based mutexes are used. If you wish to share the
# same ServerRoot for multiple httpd daemons, you will need to change at
# least PidFile.
#
ServerRoot "c:/wamp/bin/apache/apache2.4.9"

Define APACHE24 Apache2.4

#
# Mutex: Allows you to set the mutex mechanism and mutex file directory
# for individual mutexes, or change the global defaults
#
# Uncomment and change the directory if mutexes are file-based and the default
# mutex file directory is not on a local disk or is not appropriate for some
# other reason.
#
# Mutex default:logs

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 0.0.0.0:8080
Listen [::0]:8080

#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# Example:
# LoadModule foo_module modules/mod_foo.so
#
LoadModule access_compat_module modules/mod_access_compat.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule allowmethods_module modules/mod_allowmethods.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_basic_module modules/mod_auth_basic.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
#LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_core_module modules/mod_authn_core.so
#LoadModule authn_dbd_module modules/mod_authn_dbd.so
#LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_file_module modules/mod_authn_file.so
#LoadModule authn_socache_module modules/mod_authn_socache.so
#LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule authz_core_module modules/mod_authz_core.so
#LoadModule authz_dbd_module modules/mod_authz_dbd.so
#LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
#LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule buffer_module modules/mod_buffer.so
LoadModule cache_module modules/mod_cache.so
LoadModule cache_disk_module modules/mod_cache_disk.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule cgi_module modules/mod_cgi.so
#LoadModule charset_lite_module modules/mod_charset_lite.so
#LoadModule data_module modules/mod_data.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
#LoadModule dav_lock_module modules/mod_dav_lock.so
#LoadModule dbd_module modules/mod_dbd.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule dir_module modules/mod_dir.so
#LoadModule dumpio_module modules/mod_dumpio.so
LoadModule env_module modules/mod_env.so
#LoadModule expires_module modules/mod_expires.so
#LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule filter_module modules/mod_filter.so
#LoadModule headers_module modules/mod_headers.so
#LoadModule heartbeat_module modules/mod_heartbeat.so
#LoadModule heartmonitor_module modules/mod_heartmonitor.so
#LoadModule ident_module modules/mod_ident.so
#LoadModule imagemap_module modules/mod_imagemap.so
LoadModule include_module modules/mod_include.so
#LoadModule info_module modules/mod_info.so
LoadModule isapi_module modules/mod_isapi.so
#LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so
#LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so
#LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so
#LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so
#LoadModule ldap_module modules/mod_ldap.so
#LoadModule logio_module modules/mod_logio.so
LoadModule log_config_module modules/mod_log_config.so
#LoadModule log_debug_module modules/mod_log_debug.so
#LoadModule log_forensic_module modules/mod_log_forensic.so
#LoadModule lua_module modules/mod_lua.so
LoadModule mime_module modules/mod_mime.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule negotiation_module modules/mod_negotiation.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_express_module modules/mod_proxy_express.so
#LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
#LoadModule proxy_html_module modules/mod_proxy_html.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
#LoadModule ratelimit_module modules/mod_ratelimit.so
#LoadModule reflector_module modules/mod_reflector.so
#LoadModule remoteip_module modules/mod_remoteip.so
#LoadModule request_module modules/mod_request.so
#LoadModule reqtimeout_module modules/mod_reqtimeout.so
#LoadModule rewrite_module modules/mod_rewrite.so
#LoadModule sed_module modules/mod_sed.so
#LoadModule session_module modules/mod_session.so
#LoadModule session_cookie_module modules/mod_session_cookie.so
#LoadModule session_crypto_module modules/mod_session_crypto.so
#LoadModule session_dbd_module modules/mod_session_dbd.so
LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule slotmem_plain_module modules/mod_slotmem_plain.so
#LoadModule slotmem_shm_module modules/mod_slotmem_shm.so
#LoadModule socache_dbm_module modules/mod_socache_dbm.so
#LoadModule socache_memcache_module modules/mod_socache_memcache.so
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
#LoadModule speling_module modules/mod_speling.so
LoadModule ssl_module modules/mod_ssl.so
#LoadModule status_module modules/mod_status.so
#LoadModule substitute_module modules/mod_substitute.so
#LoadModule unique_id_module modules/mod_unique_id.so
#LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule version_module modules/mod_version.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule watchdog_module modules/mod_watchdog.so
#LoadModule xml2enc_module modules/mod_xml2enc.so

LoadModule php5_module "c:/wamp/bin/php/php5.5.12/php5apache2_4.dll"
#PHPIniDir c:/wamp/bin/php/php5.5.12

<IfModule unixd_module>
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User daemon
Group daemon

</IfModule>

# 'Main' server configuration
#
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
# <VirtualHost> definition. These values also provide defaults for
# any <VirtualHost> containers you may define later in the file.
#
# All of these directives may appear inside <VirtualHost> containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
#

#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. admin@your-domain.com
#
ServerAdmin admin@example.com

#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
ServerName localhost:80

HostnameLookups Off

#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "c:/wamp/www/"

#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
AllowOverride none
Require all denied
</Directory>

#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#

<Directory "c:/wamp/www/">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# [httpd.apache.org]
# for more information.
#
Options Indexes FollowSymLinks

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride all

#
# Controls who can get stuff from this server.
#

# onlineoffline tag - don't remove
Require local
Order Deny,Allow
Allow from 127.0.0.0
</Directory>

#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
DirectoryIndex index.php index.php3 index.html index.htm
</IfModule>

#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<Files ".ht*">
Require all denied
</Files>

#
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#
#ErrorLog "logs/error.log"
ErrorLog "c:/wamp/logs/apache_error.log"

#
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
LogLevel warn

<IfModule log_config_module>
#
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
#
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common

<IfModule logio_module>
# You need to enable mod_logio.c to use %I and %O
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>

#
# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a <VirtualHost>
# container, they will be logged here. Contrariwise, if you *do*
# define per-<VirtualHost> access logfiles, transactions will be
# logged therein and *not* in this file.
#
CustomLog "c:/wamp/logs/access.log" common

#
# If you prefer a logfile with access, agent, and referer information
# (Combined Logfile Format) you can use the following directive.
#
#CustomLog "logs/access.log" combined
</IfModule>

<IfModule alias_module>
#
# Redirect: Allows you to tell clients about documents that used to
# exist in your server's namespace, but do not anymore. The client
# will make a new request for the document at its new location.
# Example:
# Redirect permanent /foo [www.example.com]

#
# Alias: Maps web paths into filesystem paths and is used to
# access content that does not live under the DocumentRoot.
# Example:
# Alias /webpath /full/filesystem/path
#
# If you include a trailing / on /webpath then the server will
# require it to be present in the URL. You will also likely
# need to provide a <Directory> section to allow access to
# the filesystem path.

#
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the target directory are treated as applications and
# run by the server when requested rather than as documents sent to the
# client. The same rules about trailing "/" apply to ScriptAlias
# directives as to Alias.
#
ScriptAlias /cgi-bin/ "c:/wamp/bin/apache/apache2.4.9/cgi-bin/"

</IfModule>

<IfModule cgid_module>
#
# ScriptSock: On threaded servers, designate the path to the UNIX
# socket used to communicate with the CGI daemon of mod_cgid.
#
#Scriptsock cgisock
</IfModule>

#
# "c:/wamp/bin/apache/apache2.4.9/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "c:/wamp/bin/apache/apache2.4.9/cgi-bin">
AllowOverride None
Options None
Require all granted
</Directory>

<IfModule mime_module>
#
# TypesConfig points to the file containing the list of mappings from
# filename extension to MIME-type.
#
TypesConfig conf/mime.types

#
# AddType allows you to add to or override the MIME configuration
# file specified in TypesConfig for specific file types.
#
#AddType application/x-gzip .tgz
#
# AddEncoding allows you to have certain browsers uncompress
# information on the fly. Note: Not all browsers support this.
#
AddEncoding x-compress .Z
AddEncoding x-gzip .gz .tgz
#
# If the AddEncoding directives above are commented-out, then you
# probably should define those extensions to indicate media types:
#
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3

#
# AddHandler allows you to map certain file extensions to "handlers":
# actions unrelated to filetype. These can be either built into the server
# or added with the Action directive (see below)
#
# To use CGI scripts outside of ScriptAliased directories:
# (You will also need to add "ExecCGI" to the "Options" directive.)
#
#AddHandler cgi-script .cgi

# For type maps (negotiated resources):
#AddHandler type-map var

#
# Filters allow you to process content before it is sent to the client.
#
# To parse .shtml files for server-side includes (SSI):
# (You will also need to add "Includes" to the "Options" directive.)
#
#AddType text/html .shtml
#AddOutputFilter INCLUDES .shtml
</IfModule>

#
# The mod_mime_magic module allows the server to use various hints from the
# contents of the file itself to determine its type. The MIMEMagicFile
# directive tells the module where the hint definitions are located.
#
#MIMEMagicFile conf/magic

#
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 [www.example.com]
#

#
# MaxRanges: Maximum number of Ranges in a request before
# returning the entire resource, or one of the special
# values 'default', 'none' or 'unlimited'.
# Default setting is to accept 200 Ranges.
#MaxRanges unlimited

#
# EnableMMAP and EnableSendfile: On systems that support it,
# memory-mapping or the sendfile syscall may be used to deliver
# files. This usually improves server performance, but must
# be turned off when serving from networked-mounted
# filesystems or if support for these functions is otherwise
# broken on your system.
# Defaults: EnableMMAP On, EnableSendfile Off
#
#EnableMMAP off
EnableSendfile off

# AcceptFilter: On Windows, none uses accept() rather than AcceptEx() and
# will not recycle sockets between connections. This is useful for network
# adapters with broken driver support, as well as some virtual network
# providers such as vpn drivers, or spam, virus or spyware filters.
AcceptFilter http none
AcceptFilter https none

# Supplemental configuration
#
# The configuration files in the conf/extra/ directory can be
# included to add extra features or to modify the default configuration of
# the server, or you may simply copy their contents here and change as
# necessary.

# Server-pool management (MPM specific)
#Include conf/extra/httpd-mpm.conf

# Multi-language error messages
#Include conf/extra/httpd-multilang-errordoc.conf

# Fancy directory listings
Include conf/extra/httpd-autoindex.conf

# Language settings
#Include conf/extra/httpd-languages.conf

# User home directories
#Include conf/extra/httpd-userdir.conf

# Real-time info on requests and configuration
#Include conf/extra/httpd-info.conf

# Virtual hosts
#Include conf/extra/httpd-vhosts.conf

# Local access to the Apache HTTP Server Manual
#Include conf/extra/httpd-manual.conf

# Distributed authoring and versioning (WebDAV)
#Include conf/extra/httpd-dav.conf

# Various default settings
#Include conf/extra/httpd-default.conf

# Configure mod_proxy_html to understand HTML4/XHTML1
<IfModule proxy_html_module>
Include conf/extra/proxy-html.conf
</IfModule>

# Secure (SSL/TLS) connections
Include conf/extra/httpd-ssl.conf
#
# Note: The following must must be present to support
# starting without SSL on platforms with no /dev/random equivalent
# but a statically compiled-in mod_ssl.
#
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
#
# uncomment out the below to deal with user agents that deliberately
# violate open standards by misusing DNT (DNT *must* be a specific
# end-user choice)
#
#<IfModule setenvif_module>
#BrowserMatch "MSIE 10.0;" bad_DNT
#</IfModule>
#<IfModule headers_module>
#RequestHeader unset DNT env=bad_DNT
#</IfModule>


#IncludeOptional "c:/wamp/vhosts/*"
Include "c:/wamp/alias/*"

-------------------------------------------------------------------------------------------------------------


-------------------------------------------------------------------------------------------------------------
httpd-ssl.conf

#
# This is the Apache server configuration file providing SSL support.
# It contains the configuration directives to instruct the server how to
# serve pages over an https connection. For detailed information about these
# directives see <URL:[httpd.apache.org];
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
#
# Required modules: mod_log_config, mod_setenvif, mod_ssl,
# socache_shmcb_module (for default value of SSLSessionCache)

#
# Pseudo Random Number Generator (PRNG):
# Configure one or more sources to seed the PRNG of the SSL library.
# The seed data should be of good random quality.
# WARNING! On some platforms /dev/random blocks if not enough entropy
# is available. This means you then cannot use the /dev/random device
# because it would lead to very long connection times (as long as
# it requires to make more entropy available). But usually those
# platforms additionally provide a /dev/urandom device which doesn't
# block. So, if available, use this one instead. Read the mod_ssl User
# Manual for more details.
#
#SSLRandomSeed startup file:/dev/random 512
#SSLRandomSeed startup file:/dev/urandom 512
#SSLRandomSeed connect file:/dev/random 512
#SSLRandomSeed connect file:/dev/urandom 512


#
# When we also provide SSL we have to listen to the
# standard HTTP port (see above) and to the HTTPS port
#
#Listen 443

##
## SSL Global Context
##
## All SSL configuration in this context applies both to
## the main server and all SSL-enabled virtual hosts.
##

# SSL Cipher Suite:
# List the ciphers that the client is permitted to negotiate.
# See the mod_ssl documentation for a complete list.
SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5

# Speed-optimized SSL Cipher configuration:
# If speed is your main concern (on busy HTTPS servers e.g.),
# you might want to force clients to specific, performance
# optimized ciphers. In this case, prepend those ciphers
# to the SSLCipherSuite list, and enable SSLHonorCipherOrder.
# Caveat: by giving precedence to RC4-SHA and AES128-SHA
# (as in the example below), most connections will no longer
# have perfect forward secrecy - if the server's key is
# compromised, captures of past or future traffic must be
# considered compromised, too.
#SSLCipherSuite RC4-SHA:AES128-SHA:HIGH:MEDIUM:!aNULL:!MD5
#SSLHonorCipherOrder on

# Pass Phrase Dialog:
# Configure the pass phrase gathering process.
# The filtering dialog program (`builtin' is an internal
# terminal dialog) has to provide the pass phrase on stdout.
SSLPassPhraseDialog builtin

# Inter-Process Session Cache:
# Configure the SSL Session Cache: First the mechanism
# to use and second the expiring timeout (in seconds).
#SSLSessionCache "dbm:c:/Apache24/logs/ssl_scache"
#SSLSessionCache "shmcb:c:/Apache24/logs/ssl_scache(512000)"
SSLSessionCache "shmcb:c:/wamp/bin/apache/apache2.4.9/logs/ssl_scache(512000)"
SSLSessionCacheTimeout 300

##
## SSL Virtual Host Context
##

<VirtualHost _default_:443>

# General setup for the virtual host
DocumentRoot "c:/wamp/www"
ServerName localhost:443
ServerAdmin admin@example.com
ErrorLog "C:/wamp/bin/apache/apache2.4.9/logs/ssl_error.log"
TransferLog "C:/wamp/bin/apache/apache2.4.9/logs/ssl_access.log"

# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on

# Server Certificate:
# Point SSLCertificateFile at a PEM encoded certificate. If
# the certificate is encrypted, then you will be prompted for a
# pass phrase. Note that a kill -HUP will prompt again. Keep
# in mind that if you have both an RSA and a DSA certificate you
# can configure both in parallel (to also allow the use of DSA
# ciphers, etc.)
# Some ECC cipher suites (http://www.ietf.org/rfc/rfc4492.txt)
# require an ECC certificate which can also be configured in
# parallel.
SSLCertificateFile "C:/wamp/bin/apache/apache2.4.9/conf/key/certificate.crt"
#SSLCertificateFile "c:/Apache24/conf/server-dsa.crt"
#SSLCertificateFile "c:/Apache24/conf/server-ecc.crt"

# Server Private Key:
# If the key is not combined with the certificate, use this
# directive to point at the key file. Keep in mind that if
# you've both a RSA and a DSA private key you can configure
# both in parallel (to also allow the use of DSA ciphers, etc.)
# ECC keys, when in use, can also be configured in parallel
SSLCertificateKeyFile "C:/wamp/bin/apache/apache2.4.9/conf/key/private.key"
#SSLCertificateKeyFile "c:/Apache24/conf/server-dsa.key"
#SSLCertificateKeyFile "c:/Apache24/conf/server-ecc.key"

# Server Certificate Chain:
# Point SSLCertificateChainFile at a file containing the
# concatenation of PEM encoded CA certificates which form the
# certificate chain for the server certificate. Alternatively
# the referenced file can be the same as SSLCertificateFile
# when the CA certificates are directly appended to the server
# certificate for convenience.
#SSLCertificateChainFile "c:/Apache24/conf/server-ca.crt"

# Certificate Authority (CA):
# Set the CA certificate verification path where to find CA
# certificates for client authentication or alternatively one
# huge file containing all of them (file must be PEM encoded)
# Note: Inside SSLCACertificatePath you need hash symlinks
# to point to the certificate files. Use the provided
# Makefile to update the hash symlinks after changes.
#SSLCACertificatePath "c:/Apache24/conf/ssl.crt"
#SSLCACertificateFile "c:/Apache24/conf/ssl.crt/ca-bundle.crt"

# Certificate Revocation Lists (CRL):
# Set the CA revocation path where to find CA CRLs for client
# authentication or alternatively one huge file containing all
# of them (file must be PEM encoded).
# The CRL checking mode needs to be configured explicitly
# through SSLCARevocationCheck (defaults to "none" otherwise).
# Note: Inside SSLCARevocationPath you need hash symlinks
# to point to the certificate files. Use the provided
# Makefile to update the hash symlinks after changes.
#SSLCARevocationPath "c:/Apache24/conf/ssl.crl"
#SSLCARevocationFile "c:/Apache24/conf/ssl.crl/ca-bundle.crl"
#SSLCARevocationCheck chain

# Client Authentication (Type):
# Client certificate verification type and depth. Types are
# none, optional, require and optional_no_ca. Depth is a
# number which specifies how deeply to verify the certificate
# issuer chain before deciding the certificate is not valid.
#SSLVerifyClient require
#SSLVerifyDepth 10


# TLS-SRP mutual authentication:
# Enable TLS-SRP and set the path to the OpenSSL SRP verifier
# file (containing login information for SRP user accounts).
# Requires OpenSSL 1.0.1 or newer. See the mod_ssl FAQ for
# detailed instructions on creating this file. Example:
# "openssl srp -srpvfile c:/Apache24/conf/passwd.srpv -add username"
#SSLSRPVerifierFile "c:/Apache24/conf/passwd.srpv"

# Access Control:
# With SSLRequire you can do per-directory access control based
# on arbitrary complex boolean expressions containing server
# variable checks and other lookup directives. The syntax is a
# mixture between C and Perl. See the mod_ssl documentation
# for more details.
#<Location />
#SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \
# and %{SSL_CLIENT_S_DN_O} eq "Snake Oil, Ltd." \
# and %{SSL_CLIENT_S_DN_OU} in {"Staff", "CA", "Dev"} \
# and %{TIME_WDAY} >= 1 and %{TIME_WDAY} <= 5 \
# and %{TIME_HOUR} >= 8 and %{TIME_HOUR} <= 20 ) \
# or %{REMOTE_ADDR} =~ m/^192\.76\.162\.[0-9]+$/
#</Location>

# SSL Engine Options:
# Set various options for the SSL engine.
# o FakeBasicAuth:
# Translate the client X.509 into a Basic Authorisation. This means that
# the standard Auth/DBMAuth methods can be used for access control. The
# user name is the `one line' version of the client's X.509 certificate.
# Note that no password is obtained from the user. Every entry in the user
# file needs this password: `xxj31ZMTZzkVA'.
# o ExportCertData:
# This exports two additional environment variables: SSL_CLIENT_CERT and
# SSL_SERVER_CERT. These contain the PEM-encoded certificates of the
# server (always existing) and the client (only existing when client
# authentication is used). This can be used to import the certificates
# into CGI scripts.
# o StdEnvVars:
# This exports the standard SSL/TLS related `SSL_*' environment variables.
# Per default this exportation is switched off for performance reasons,
# because the extraction step is an expensive operation and is usually
# useless for serving static content. So one usually enables the
# exportation for CGI and SSI requests only.
# o StrictRequire:
# This denies access when "SSLRequireSSL" or "SSLRequire" applied even
# under a "Satisfy any" situation, i.e. when it applies access is denied
# and no other module can change it.
# o OptRenegotiate:
# This enables optimized SSL connection renegotiation handling when SSL
# directives are used in per-directory context.
#SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "c:/wamp/www">
SSLOptions +StdEnvVars
</Directory>

# SSL Protocol Adjustments:
# The safe and default but still SSL/TLS standard compliant shutdown
# approach is that mod_ssl sends the close notify alert but doesn't wait for
# the close notify alert from client. When you need a different shutdown
# approach you can use one of the following variables:
# o ssl-unclean-shutdown:
# This forces an unclean shutdown when the connection is closed, i.e. no
# SSL close notify alert is sent or allowed to be received. This violates
# the SSL/TLS standard but is needed for some brain-dead browsers. Use
# this when you receive I/O errors because of the standard approach where
# mod_ssl sends the close notify alert.
# o ssl-accurate-shutdown:
# This forces an accurate shutdown when the connection is closed, i.e. a
# SSL close notify alert is send and mod_ssl waits for the close notify
# alert of the client. This is 100% SSL/TLS standard compliant, but in
# practice often causes hanging connections with brain-dead browsers. Use
# this only for browsers where you know that their SSL implementation
# works correctly.
# Notice: Most problems of broken clients are also related to the HTTP
# keep-alive facility, so you usually additionally want to disable
# keep-alive for those clients, too. Use variable "nokeepalive" for this.
# Similarly, one has to force some clients to use HTTP/1.0 to workaround
# their broken HTTP/1.1 implementation. Use variables "downgrade-1.0" and
# "force-response-1.0" for this.
BrowserMatch "MSIE [2-5]" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0

# Per-Server Logging:
# The home of a custom SSL log file. Use this when you want a
# compact non-error SSL logfile on a virtual host basis.
CustomLog "c:/wamp/bin/apache/apache2.4.9/logs/ssl_request.log" \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

</VirtualHost>

-------------------------------------------------------------------------------------------------------------

PS: Quand je décommente 'Listen 443', apache ne démarre plus (icône wampserver orange).

error 403 depuis autres machines locales (4 réponses)

$
0
0
Bonjour,
encore tous mes voeux pour cette année et merci pour ce forum :)

ma config :
Win 7 x64 professionnel SP1
toutes les VC demandées ont été installées,
Wamp 3.0 x86
apache 2.4.17
PHP 6.6.15
MySQL 5.7.9

l'icône Wamp est verte et verte avec un ptit point rouge qd en ligne.
j'accède bien sur la machine hôte à joindre le menu en appelant localhost

j'ai créé un répertoire c:/affichage contenant une page index.php
que j'ai référencée avec virtualhost et qui est bien accessible tt pareil de la machine hôte.

où ca coince c'est lorsque j'essaie d'accéder à partir d'autre machines du lan.
là, j'ai message : erreur 403 forbidden.... suivi des version apache et pHp
comme apres plein d'essais, le fichier apache_error.log etait bien fourni, 'j'ai procédé à un vidage de ts les logs et j'ai redémarré wamp
une consultation directe sans tentative d'acces au apache_error.log me donne ça :
[Tue Jan 19 09:49:56.954837 2016] [mpm_winnt:notice] [pid 5348:tid 360] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Tue Jan 19 09:49:58.955637 2016] [mpm_winnt:notice] [pid 4748:tid 184] AH00364: Child: All worker threads have exited.
[Tue Jan 19 09:49:58.976895 2016] [mpm_winnt:notice] [pid 5348:tid 360] AH00430: Parent: Child process 4748 exited successfully.
[Tue Jan 19 09:50:20.989447 2016] [auth_digest:notice] [pid 980:tid 360] AH01757: generating secret for digest authentication ...
[Tue Jan 19 09:50:21.036966 2016] [mpm_winnt:notice] [pid 980:tid 360] AH00455: Apache/2.4.17 (Win32) PHP/5.6.15 configured -- resuming normal operations
[Tue Jan 19 09:50:21.036966 2016] [mpm_winnt:notice] [pid 980:tid 360] AH00456: Apache Lounge VC14 Server built: Oct 11 2015 16:06:02
[Tue Jan 19 09:50:21.036966 2016] [core:notice] [pid 980:tid 360] AH00094: Command line: 'C:\\wamp\\bin\\apache\\apache2.4.17\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.17'
[Tue Jan 19 09:50:21.040717 2016] [mpm_winnt:notice] [pid 980:tid 360] AH00418: Parent: Created child process 2464
[Tue Jan 19 09:50:21.622200 2016] [auth_digest:notice] [pid 2464:tid 184] AH01757: generating secret for digest authentication ...
[Tue Jan 19 09:50:21.653462 2016] [mpm_winnt:notice] [pid 2464:tid 184] AH00354: Child: Starting 64 worker threads.

ensuite, une tentative de connexion externe (au départ de 10.10.60.82) sur l'adresse hôte (10.10.60.88) donne :

10.10.60.82 - - [19/Jan/2016:10:07:50 +0100] "GET / HTTP/1.1" 403 296 dans acces.log

et

[Tue Jan 19 10:07:50.444796 2016] [authz_core:error] [pid 2464:tid 908] [client 10.10.60.82:51836] AH01630: client denied by server configuration: C:/wamp/www/

dans apache_error.log

désolé d'avoir été si long, j'ai tenté d'être exhaustif.

par avance merci

Correction bug. Changement de port MySQL ne fonctionnait pas avec PHP 7. (2 réponses)

$
0
0
Bonjour Otomatic.

Citation
Otomatic
Bonjour,

Update Wampserver 3.0.2 :
-- Correction bug. Changement de port MySQL ne fonctionnait pas avec PHP 7.

Voir le premier message pour les liens de téléchargement.

Peut-on savoir pourquoi as-tu changé le port de MySql ?
Dans ma version, avec php 7, je n'ai pas eu besoin de changer quoi que ce soit.

@+

Je n'arrive pas à accéder à mes projets (3 réponses)

$
0
0
Salut à tous, je suis actuellement une chaine de tuto sur le php, et je blok sur un problème avec wamp.

J'ai bien placé mon dossier projet dans le dossier "www", par contre quand j'essaies de lancer mon index.php, j'ai ça comme erreur qui s'affiche ;

Page Web inaccessible

ERR_NAME_NOT_RESOLVED

et comme url j'ai ça : [test%20formulaire]

j'ai remarqué que si je change le fichier index.php par le miens dans ke fichier www j'accède à mon dossier mais l'interface disparait donc...

je me retrouve bloqué dans mon apprentissage, si quelqu'un connait la solution ce serait sympa

merci à tous a+

Modification d'un lien dans VIRTUALHOST (3 réponses)

$
0
0
Bonjour à tous,

En utilisation avec VIRTUALHOST et la création d'un site avec JOOMLA (en local bien sur), le lien qui pointe est celui du site en local.
je l'ai modifié pour avoir un accès direct à l'administration, comme cela, car en règle générale c'est sur cela que l'on bosse.
#  Site de vente
<VirtualHost *:80>
  DocumentRoot "H:/www/ventelocale/administrator"
  ServerName ventelocale
  ServerAlias www.ventelocale
  <Directory  "H:/www/ventelocale/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Require local
  </Directory>
</VirtualHost>

Par contre, cela me pose un problème de prévisualisation du site puisqu'à chaque fois je suis renvoyé sur l'administration, à partir de Joomla, ou bien du lien de "My PROJECTS" ( évidemment ! )

Ma question : peut-on rajouter un lien secondaire dans "My PROJECTS" qui permettrait de voir le site et non l'administration ?

Merci

Impossible de sélectionner d'autres versions de PHP (3 réponses)

$
0
0
Bonjour à tous !

J'utilisais une vieille version de wamp, et avec l'avènement de php7, je me suis dit que j'allais me mettre à jour, et mon wamp aussi.

Du coup j'ai bien suivi toutes les manips, désinstallé proprement mon ancienne install et j'ai installé wampserver 3.
Bon déjà j'ai eu plusieurs problèmes bizarres : j'ai installé l'update 1, et quand je veux installer l'update 2, ça me dit qu'elle est déjà installé... ?!
Et le lien symbolique php.ini d'apache n'était pas fait, j'ai du le faire à la main

Mais la n'est pas le sujet de ma question :

J'ai installé deux addons (php7.0.2, puis php7.0.0 par la suite pour tester)
J'ai bien mes dossiers php7.0.2 et php7.0.0, mais quand je clique sur l'icone wamp dans la barre de notification, je ne vois que le php 5.6.15...

Est ce que j'ai loupé un truc lors de l'install des addons php ?

Merci beaucoup !

PS : j'ai installé la version 32 bits de wampserver, et je suis sous windows 10 64 bits

migration de mon site de mamp a wamp? :l (2 réponses)

$
0
0
Bonjour j'ai presque fini mon site WordPress qui est sur mac et je charche a le migré sur pc avec Wamp pour la prochaine personne qui travail dessus (étant donné que je quitte ma boite, car c est la fin de mon stage)
j'ai exporté ma base de donnée et mon dossier complet WordPress.
Dans le localhost sous mes projets le dossier s'affiche correctement mais quand je clique dessus la page affiche l'erreure:


Désolé, nous ne pouvons pas atteindre cette page.

Essayer
•Assurez-vous d’avoir la bonne URL : [wordpress]
•Actualiser la page
•Rechercher les éléments souhaités


et dans le php my admin une note rouge d erreure apparais aussi:


Votre fichier de configuration fait référence à l'utilisateur «root » sans mot de passe, ce qui correspond à la valeur par défaut de MySQL. Votre serveur MySQL est donc ouvert aux intrusions, et vous devriez corriger ce problème de sécurité.

(je n ai pas changé le mot de passe root qui est par defaut pour les mac je ne sais pas se qu il faut mettre pour les pc voila )
je ne connais pas bien les pc j espere que vous purriez m'aider!

adware dans wamp?? (2 réponses)

$
0
0
Bonjour a tous,

J'ai un problème soudain depuis aujourdhui, aléatoirement quand je clic sur un lien de mes sites en local ou icone => local host (barre de tache windows) je suis redirigé vers le site free-merchants.com avec un tracking code dans le lien. Puis redirigé vers localhost/to.php et enfin vers la page dont je viens de cliquer...

Qu'est ce qui a bien pu m'arriver?
Merci

ps : lien exact : [www.free-merchants.com]

PS 2: Je viens de désinstaller wamp et le réinstaller et c'est pareil. PC passé par adwcleaner avant

Problèmes de permissions ? (2 réponses)

$
0
0
Salut Otomatic.

J'ai installé SQL Server 2014 Express sur mon ordinateur et je me retrouve avec un problème qui n'a rien à voir avec SQL Server.

Quand je désire accéder à ma base de données nouvellement créé, en ligne de commande "SQLCMD", tout se passe correctement.
Ma base a été créé avec comme propriétaire le nom de mon compte windows, c'est-à-dire "ordi\compte".
Ordi : c'est le nom de mon ordinateur que l'on retrouve en allant sous "propriétés système", puis sous "nom de l'ordinateur".
Compte : c'est le nom du compte de ma session windows.

Quand je passe par un programme Php, sous Apache, je me connecte avec le compte "AUTORITE NT\Système".
Après quelques péripétie, je découvre que ce compte est celui qui a été attribué à l'instance WampApache.
Pour ce faire, on ouvre les services "services.msc", on recherche l'instance "wampapache", on fait "propriétés", puis on clique sur l'onglet "connexions".

Voila ce que j'aimerai faire.
Quand je suis sur mon compte windows de type administrateur, et que je me connecte à SQL Server sans rien préciser comme compte, j'aimerai que par défaut, ce soit mon compte Windows actuel.

Quand je suis sur un autre compte windows de type non administrateur, et bien, je veux me connecter à mon compte windows actuel.

Autrement dit, j'aimerai que l'instance WampApache me mette toujours mon compte windows, quelque soit le compte où je me trouve.

Ce qui m'arrive, c'est que je me retrouve pour mon instance WampApache, avec un paramétrage pour un compte système local, qui me donne "AUTORITE NT\système". Le pire, c'est que je l'ai tout le temps.

Si je mets l'un des comptes windows, dans l'onglet "connexion", ça fonctionne pour ce compte, mais pas pour l'autre et vice-versa.

Y-a-t-il moyen de dire à Windows, pour l'instance WampApache, de se connecter toujours avec le compte windows ?

@+

Première install de WAMPServer (1 réponse)

$
0
0
Bonjour,
Je démarre dans l'installation; afin de créer un site WordPress;
Je suis en train d'intaller WAMPServer
J'utilise l'exe téléchargé: wampserver2.5-Apache-2.4.9-Mysql-5.6.17-php5.5.12-64b.exe
Apache: 2.4.9
MySQL : 2.6.17
PHP: 5.5.12
PHPMyAdmin : 4.1.14
Je suis en Win10 64bits
Au moment d'entrer les paramètres, il me demande:
SMTP: locahost et
Email : you@yourdomain
Qu'attend t'il exactement, le smtp sortant et mon Email
ou bien de laisser le terme -localhost- et quel Email ?
Merci de votre aide

phpmyadmin erreur 404 (3 réponses)

$
0
0
Bonjour,

je me permet de vous envoyer ce message j'ai un souci avec wamp. en suivant un tuto, il a fallu coller dans le fichier httpd.conf d'apache les lignes suivantes :

<VirtualHost *:80>
ServerAdmin webmaster@localhost

# Mettez ici le nom de domaine que vous avez utilisé dans le fichier hosts.
ServerName monsupersite

# Mettez ici le chemin vers lequel doit pointer le domaine.
# Je suis sous Linux. Si vous êtes sous Windows, le chemin sera de la forme C:\Wamp\www\monsupersite\Web
DocumentRoot /home/victor/www/monsupersite/Web
<Directory /home/victor/www/monsupersite/Web>
Options Indexes FollowSymLinks MultiViews

# Cette directive permet d'activer les .htaccess.
AllowOverride All

# Si le serveur est accessible via l'Internet mais que vous n'en faites qu'une utilisation personnelle
# pensez à interdire l'accès à tout le monde
# sauf au localhost, sinon vous ne pourrez pas y accéder !
deny from all
allow from localhost
</Directory>
</VirtualHost>

de plus il a fallu également triturer le fichier hosts. cependant, ces modifications ne fonctionnait (erreur 404 sur mon fichier localhost) du coup je suis venue en arrière effacer les lignes ci dessus de httpd.conf d'apache et remettre le fichier hosts dans l'état initial. je vous mets la copie de mon fichier hosts :

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost

127.0.0.1 localhost

depuis je peux accéder à mon localhost, mais je n'arrive plus à accéder à phpmyadmin ( erreur 404). en regardant les logs de mysql. wamp me dit qu'il n'existe pas...inquiétant, non???

je vous mets les logs d'apache si vous voulez :

[Mon Jan 25 15:18:20.809861 2016] [mpm_winnt:notice] [pid 8492:tid 544] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Mon Jan 25 15:18:22.811365 2016] [mpm_winnt:notice] [pid 6804:tid 460] AH00364: Child: All worker threads have exited.
[Mon Jan 25 15:18:22.860405 2016] [mpm_winnt:notice] [pid 8492:tid 544] AH00430: Parent: Child process 6804 exited successfully.
[Mon Jan 25 15:18:24.890356 2016] [mpm_winnt:notice] [pid 7520:tid 536] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Mon Jan 25 15:18:24.890356 2016] [mpm_winnt:notice] [pid 7520:tid 536] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Mon Jan 25 15:18:24.890356 2016] [core:notice] [pid 7520:tid 536] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Mon Jan 25 15:18:24.896360 2016] [mpm_winnt:notice] [pid 7520:tid 536] AH00418: Parent: Created child process 1108
[Mon Jan 25 15:18:26.125339 2016] [mpm_winnt:notice] [pid 1108:tid 444] AH00354: Child: Starting 64 worker threads.
[Mon Jan 25 15:21:24.711475 2016] [authz_core:error] [pid 1108:tid 984] [client ::1:64591] AH01630: client denied by server configuration: C:/Apache24, referer: [localhost]
[Mon Jan 25 15:21:24.712477 2016] [authz_core:error] [pid 1108:tid 980] [client ::1:64592] AH01630: client denied by server configuration: C:/Apache24, referer: [localhost]
[Mon Jan 25 17:06:09.605105 2016] [authz_core:error] [pid 1108:tid 980] [client 127.0.0.1:65203] AH01630: client denied by server configuration: C:/Apache24, referer: [localhost]
[Mon Jan 25 17:06:09.607101 2016] [authz_core:error] [pid 1108:tid 984] [client 127.0.0.1:65204] AH01630: client denied by server configuration: C:/Apache24, referer: [localhost]
[Mon Jan 25 17:06:09.610103 2016] [authz_core:error] [pid 1108:tid 968] [client ::1:65205] AH01630: client denied by server configuration: C:/Apache24, referer: [localhost]
[Mon Jan 25 17:06:12.723760 2016] [authz_core:error] [pid 1108:tid 968] [client ::1:65205] AH01630: client denied by server configuration: C:/Apache24, referer: [localhost]
[Mon Jan 25 17:06:12.726763 2016] [authz_core:error] [pid 1108:tid 984] [client 127.0.0.1:65204] AH01630: client denied by server configuration: C:/Apache24, referer: [localhost]
[Mon Jan 25 17:06:12.727764 2016] [authz_core:error] [pid 1108:tid 980] [client 127.0.0.1:65203] AH01630: client denied by server configuration: C:/Apache24, referer: [localhost]
[Mon Jan 25 17:41:15.680080 2016] [mpm_winnt:notice] [pid 7520:tid 536] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Mon Jan 25 17:41:17.681490 2016] [mpm_winnt:notice] [pid 1108:tid 444] AH00364: Child: All worker threads have exited.
[Mon Jan 25 17:41:17.753040 2016] [mpm_winnt:notice] [pid 7520:tid 536] AH00430: Parent: Child process 1108 exited successfully.
[Mon Jan 25 17:41:24.416404 2016] [mpm_winnt:notice] [pid 2468:tid 560] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Mon Jan 25 17:41:24.416404 2016] [mpm_winnt:notice] [pid 2468:tid 560] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Mon Jan 25 17:41:24.416404 2016] [core:notice] [pid 2468:tid 560] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Mon Jan 25 17:41:24.422381 2016] [mpm_winnt:notice] [pid 2468:tid 560] AH00418: Parent: Created child process 9756
[Mon Jan 25 17:41:25.621756 2016] [mpm_winnt:notice] [pid 9756:tid 460] AH00354: Child: Starting 64 worker threads.
[Mon Jan 25 17:46:17.050885 2016] [mpm_winnt:notice] [pid 2468:tid 560] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Mon Jan 25 17:46:19.053167 2016] [mpm_winnt:notice] [pid 9756:tid 460] AH00364: Child: All worker threads have exited.
[Mon Jan 25 17:46:19.111183 2016] [mpm_winnt:notice] [pid 2468:tid 560] AH00430: Parent: Child process 9756 exited successfully.
[Mon Jan 25 17:46:21.534597 2016] [mpm_winnt:notice] [pid 2032:tid 528] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Mon Jan 25 17:46:21.534597 2016] [mpm_winnt:notice] [pid 2032:tid 528] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Mon Jan 25 17:46:21.534597 2016] [core:notice] [pid 2032:tid 528] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Mon Jan 25 17:46:21.540600 2016] [mpm_winnt:notice] [pid 2032:tid 528] AH00418: Parent: Created child process 2212
[Mon Jan 25 17:46:22.836828 2016] [mpm_winnt:notice] [pid 2212:tid 452] AH00354: Child: Starting 64 worker threads.
[Mon Jan 25 18:08:53.549783 2016] [mpm_winnt:notice] [pid 2032:tid 528] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Mon Jan 25 18:08:55.551196 2016] [mpm_winnt:notice] [pid 2212:tid 452] AH00364: Child: All worker threads have exited.
[Mon Jan 25 18:08:55.612239 2016] [mpm_winnt:notice] [pid 2032:tid 528] AH00430: Parent: Child process 2212 exited successfully.
[Mon Jan 25 18:08:56.839564 2016] [mpm_winnt:notice] [pid 4796:tid 552] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Mon Jan 25 18:08:56.839564 2016] [mpm_winnt:notice] [pid 4796:tid 552] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Mon Jan 25 18:08:56.839564 2016] [core:notice] [pid 4796:tid 552] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Mon Jan 25 18:08:56.845568 2016] [mpm_winnt:notice] [pid 4796:tid 552] AH00418: Parent: Created child process 6404
[Mon Jan 25 18:08:57.995146 2016] [mpm_winnt:notice] [pid 6404:tid 444] AH00354: Child: Starting 64 worker threads.
[Mon Jan 25 18:32:33.260994 2016] [mpm_winnt:notice] [pid 4796:tid 552] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Mon Jan 25 18:32:35.278245 2016] [mpm_winnt:notice] [pid 6404:tid 444] AH00364: Child: All worker threads have exited.
[Mon Jan 25 18:32:35.340686 2016] [mpm_winnt:notice] [pid 4796:tid 552] AH00430: Parent: Child process 6404 exited successfully.

si vous voulez d'autres infos n'hésitez à m'en faire part...mais je suis bloqué et très embêté. quelqu'un à une solution en évitant une désinstallation, svp?

merci d'avance

doogie1

Page introuvables (9 réponses)

$
0
0
Bonjour , a tous ,

Alors voila j'ai installer wamp server tout se passe bien jusqu "a present enfin non sinon je serais pas la a vous demander conseil et aide .

Voila depuis tout les poste de la maison [Localhost] ou [Ip] Server/ fonctionne nous arrivons sur la page wamp config

sur le dessous il y a mes projet donc Monsite .(qui se trouve dans le dossier www )

Seulement quand je veut l'ouvrir il me redirige en me disant internet ne peut pas afficher cette page ... et l'adresse deviens (http://Monsite/)

Alors que quand je vais le chercher dans le dossier sa donne :
file:///C:/wamp/www/Monsite/index.html


pouvez vous m'eclairer? a comprendre ?

Soyez doux dans vos reponse je debute merci a vous
bonne journée

paramétrage wampserver & effet d'une indexation en cours (3 réponses)

$
0
0
Réponses demandées en tête du forum:(car je n'ai pas trouvé où générer une signature)

(WIN7 Ult.64b) Wampserver 2.5(64b) Apache : 2.4.9 MySQL : 5.6.17 PHP : 5.5.12 PHPMyAdmin : 4.1.14 SqlBuddy : 1.3.3 XDebug : 2.2.5 Icone WAMP VERT
► Lignes actives Localhost dans HOSTS = 127.0.0.1 localhost (4 fois identiques)
► j'ai bien accès à localhost.(interface)
- je n'ai pas accès mes projets affichés par l'interface de localhost dans "vos Projets"
- j'y accède très bien par l'adresse [localhost] X Y ETC. ou fichier:///DISQUE/dossier/projets mais toutes fonctionnalités php des mes projets ne sont accessible que par localhost.
► j'accède à phpMyAdmin
► Mon install: g:/wamp
=========================================

Bonjour à tous;

Je ferais abstraction de 3 réinstallations bien propres que je viens de devoir réaliser.
Mes trois projets actuels fonctionnent enfin à nouveau à l'heure qu'il est.
Un SITE2 sous Wordpress, que je n'aime guère( mais ça peut être parfois pratique )
Deux SITE1 et SITE3 HTML5/CSS3/PHP/JS base Jquery, que je préfère largement.
=======================================

- J'ai tout oublié sur wampserver que je n'ai plus touché depuis 30 mois.

- je manque de quelques moyens locaux car je suis entrain de reconstruire les index (chez moi c'est 1 semaine 24/24 environ pour 30/35 Go d'index)
J'aurais une première question, en deux volets:

1/ Pour faire fonctionner une application tierce PHP/Jquery. Pourriez vous me dire où je trouve
les paramétrages suivants:

- Safe mode Off
- File upload (Déjà; j'ai mis 64 au lieu de 3 dans le php.ini pour la taille des fichiers)
- PHP GD Lib

2/ Ces fichiers doivent pouvoir être accessibles en écriture : (là je suppose qu'on me parle dans les pré-requis d'un mélange de mes applic. et du contenu de la BDD, car bien entendu j'ai traduis les demandes depuis l'américain, et rien n'est précisé) -aucune précision sinon je vous les aurais données.

Application/config
Application/cache
Application/logs
Media
Media/thumb
=============================================

2/ J'ai une deuxième question:

Sans réinstallation,

Comment le fichier php.ini (de php) peut il revenir SEUL, de manière non souhaitée, à des versions d'il y a quelques heures. Ou peut il RE-commenter SEUL des lignes que l'on a modifiées et Dé-Commentées?

Même question pour des fichiers de mes applic en php: Un fichier.ini d'une applic sendmail et un fichier php qui me sert à récupérer un contenu de formulaire HTML et à l'envoyer par fonction php mail. j'y ai trouvé un caractère chinois, des caractères supprimés, un "ec" de la fonction "echo" remplacés par "?? cela à de nombreuses reprises. (je n'avais jamais frappé ces bêtises bien entendu) il semblerait que les modif ait été générée lors de tentative d'envoi de mail qui se sont affiché sur l'écran expéditeur au lieu de partir.

Je ne suis pas fou, je ne crois pas être marabouté, j'ai posé mes premières ligne de prog en 1980 sous dos. (bon c'est pas une référence non plus!.. mais 58 ans c'est pas sénile non plus!)

La reconstruction des index win7 64 simultanée avec processus placé en "temps réel" peut elle être responsable de ce genre de chose?
=================================================

Merci par avance de vos renseignements sur 1/ de me rassurer sur 2/ (la raison probable)

voire subsidiairement (mais ce n'est pas grave) me parler de ce que wampserver ne fait plus seul à l'install.-Ca c'était automatique sous d'autre système autrefois- afin que l'interface pointe sur les projets facilement (j'ai tenté dans le hosts manuellement des lignes avec mes noms de projet, et créé trois fichiers projetXYouZ.conf dans ALIAS, et ça n'a pas fonctionné)

Bien à vous; Jean-Mi
PS je ne mélange pas tout je reviens vers vous pour d'autres détail sur mail(fonction)
Viewing all 3476 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>