🔍 cURL & API Test
1. cURL Extension
✅ cURL is enabled
Version: 8.14.1
SSL: OpenSSL/3.5.1
2. OpenSSL Support
✅ OpenSSL is enabled
3. Test OpenAI API Call
API Key: sk-proj-ssq5p81bg2pY...
Model: gpt-4o-mini
Testing API call...
HTTP Code: 401
❌ API Error
{
"error": {
"message": "Incorrect API key provided: sk-proj-********************************************************************************************************************************************************QxEA. You can find your API key at https://platform.openai.com/account/api-keys.",
"type": "invalid_request_error",
"code": "invalid_api_key",
"param": null
},
"status": 401
}
4. PHP Info
PHP Version: 7.4.33
Loaded Extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bz2, calendar, ctype, curl, hash, filter, ftp, gettext, gmp, SPL, iconv, pcntl, readline, Reflection, session, standard, shmop, SimpleXML, mbstring, tokenizer, xml, litespeed, bcmath, dom, gd, imap, json, exif, mysqlnd, mysqli, PDO, pdo_mysql, pdo_sqlite, Phar, posix, sockets, xmlreader, xmlwriter, xsl, zip, clos_ssa