I am currently studying PHP, NGINX, and MariaDB in detail (beginning).
Recently, I have been able to gain knowledge quite deeply.
Environment construction can be successful normally,
Everything you do will fail. (On purpose)
The OS is Win10.
C: \ local disk, that is
↓ Directly below
I have C: \ php (this makes the environment construction execution>successful)
If i do this
If i arrange php together with nginx in C: \ server and execute it
(C: \ server \ php)
I always get the module not found.
An error that didn't appear suddenly appears recently.
By the way, it is the same in places other than C: \ server.
user, desktop and documentation
I get an error that the module cannot be found anywhere except on the local disk.
Is there a solution other than putting it on my local disk?
If my idea is correct, I think there is a file to set somewhere.
Answer # 1
All I had to do was add it to php.ini. .. ..
If you uncomment only the Mysql part without writing anything and use it as it is,
It seems that the local disk (C: \ php) is automatically loaded by default.
If you look at the following sites as a reference,
In the Extension column in PHP.INI
＞extension_dir = "C: \ php \ ext"
There was an additional note
I tried this in the same way and it was done!
extension_dir = "C: \server\ php \ ext "
;extension = bz2
;extension = curl
;extension = ffi
;extension = ftp
;extension = fileinfo
;extension = gd2
;extension = gettext
;extension = gmp
;extension = intl
;extension = imap
;extension = ldap
;extension = mbstring
;extension = exif;Must be after mbstring as it depends on it
;extension = mysqli
;extension = oci8_12c;Use with Oracle Database 12c Instant Client
;extension = odbc
;extension = openssl
;extension = pdo_firebird
extension = pdo_mysql
;extension = pdo_oci
;extension = pdo_odbc
;extension = pdo_pgsql
;extension = pdo_sqlite
;extension = pgsql
;extension = shmop
The MIBS data available in the PHP distribution must be installed.
;extension = snmp
;extension = soap
;extension = sockets
;extension = sodium
;extension = sqlite3
;extension = tidy
;extension = xmlrpc
;extension = xsl
- about the safe location of php files with passwords etc
- php - unexpected data found in laravel todo app tutorial data missing
- php 404 not found error
- php - laradock shows 404 not found
- php - about laravel58 trait'illuminate\database\eloquent\softdeletes' not found
- php - laravel folder location
- if you jump to pro_edit_checkphp, it will be object no found
- php - mysql database not found
- php - the output is 404 not found on localhost:8888
- php - i don't know the location of the method register() called by /register
- server - module not found: can't resolve'fs' does not disappear
- not found except for index in php routing
- php - about error of imagick not found
- php - i want to select a predetermined location in the pull-down data
- phpmyadmin becomes 404 not found
- "command not found" error in "phpenv install"
- wordpress says "nothing found in example php"
- vuejs - in vue app, firebase gets module not found: error: can't resolve
- PHP FPM falls when opening a specific page
- php : Mixed Content Laravel Ajax
- About "PHP error log" and "PHP-FPM error log" and "NGINX error log"
- php : AmazonLinux2 Docker I want to build an environment of NGINX + LarAvel on image
- php : Help determine the CMS or Framework site
- php : The number of simultaneous requests to the domain (Proxy_Limit) has been exceeded
- php : Check the statist with the help of NGINX and redirect the request
- Nginx redirect request to php if file doesn't exist