Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Error loading php MySQLi? |
|
Author |
|
bazianm
Joined: 01 Jul 2014 Posts: 11 Location: Passaic, NJ
|
Posted: Tue 25 May '21 12:56 Post subject: Error loading php MySQLi? |
|
|
I have apache loaded as a service on Windows 10. I am using PHP7.4.19 TS x64. When I start the service, it seems to start but I get the following error in the event log:
Code: | Faulting application name: httpd.exe, version: 2.4.47.0, time stamp: 0x6083e058
Faulting module name: php7ts.dll, version: 7.4.19.0, time stamp: 0x60916735
Exception code: 0xc0000005
Fault offset: 0x0000000000561f4b
Faulting process id: 0x1b84
Faulting application start time: 0x01d7515310058955
Faulting application path: C:\Apache24\bin\httpd.exe
Faulting module path: c:\php\php7ts.dll
Report Id: 67b30106-c45c-48d0-b80f-d5901ac00494
Faulting package full name:
Faulting package-relative application ID: |
Now, like I said it seems to be loading and it runs phpinfo() BUT it is not loading mysqli and I have it enabled in the php.ini as follows:
Code: | ; Directory in which the loadable extensions (modules) reside.
; http://php.net/extension-dir
;extension_dir = "./"
; On windows:
extension_dir = "C:/php/ext"
... skipping to loaded modules ...
;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 |
Any ideas what might be going on here?
Thanks in advance... |
|
Back to top |
|
bazianm
Joined: 01 Jul 2014 Posts: 11 Location: Passaic, NJ
|
Posted: Tue 25 May '21 17:05 Post subject: |
|
|
So, I figured it out. Turns out that the php.ini file was not loaded. I needed to add:
to httpd.conf
and that solved my problem. |
|
Back to top |
|
|
|
|
|
|